NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
nucoder single file integeration


Joined: 01 Mar 2008
Posts: 1
Reply with quote
Can anyone help me with step by step instructions on how to integrate nucoder to phpED so I can encode single files with a menu or right click option.
My project is quite large and i don't want to encode the whole project each time I make a simple change nor do i want to encode the file on upload.
ie if I have a project file of say mysite/myfolder/myfile.php to be encoded and saved to E:\encoded_files\mysite\myfolder\myfile.php

Can this be done?

many thanks
View user's profileFind all posts by koolSend private message


Joined: 08 Feb 2008
Posts: 5
Reply with quote
You can only encode single files from the command line.
View user's profileFind all posts by cwSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
you can encode all the scripts in a directory and below with -r option
for example:

nu-coder -c5.1 -r "c:\my dev project" "c:\target dir"

to run this command via integration, just add this command into the intagration (tools->settings->integraion):
Execute with: Shell
Command line: "c:\program files\nusphere\nucoder\nu-coder.exe" -c 5.1 --copyall -r "@FName@" "@FName@.destination"
Show this command in Workspace popup: checked
for directories and projects: checked

all the rest should be left unchecked

By running this command on a directory in the workspace you will create a directory with the same name and .destination appended to the right and all the files and subdirectories. Php files will be encoded, all the other files will be copied as is.
If you have a separate directory you may want to use something like this:
Command line: "c:\program files\nusphere\nucoder\nu-coder.exe" -c 5.1 --copyall -r "@FName@" "c:/separated directory/@RelPath@/"

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
nucoder single file integeration
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic