Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Custom build command not found

Hi Rocky

The slash reversal is a known bug:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=459840

So for now, slashes should be avoided.

Possible workarounds:
1) Set the PATH variable so that the command can be found without the full path. 
2) Copy the script to your build directory.
3) Write a script that calls the build script and use it as the "build command."


John

On Tue, Apr 7, 2015 at 11:29 PM, Rocky Dunlap <rocky.dunlap@xxxxxxxx> wrote:
I have a synchronized project that is built by calling a shell script ("nuopcExplorerScript") instead of a make target.  In the project build properties I unchecked "Use default build command" and put in the name of the script as the "build command."  I kicked off the build, but I get an error:

nuopcExplorerScript 

**** Environment configuration script temporarily stored in /tmp/ptpscript_ncconR ****
nuopcExplorerScript 
/tmp/ptpscript_ncconR: line 14: nuopcExplorerScript: command not found


I then put in the full path as the "build command", but I still receive an error because all "/" are replaced with "\".  Is this the intended behavior?

/glade/u/home/dunlap/hycom/v7-ComponentExplorer/nuopcExplorerScript 

**** Environment configuration script temporarily stored in /tmp/ptpscript_O4NomZ ****
\\glade\\u\\home\\dunlap\\hycom\\v7-ComponentExplorer\\nuopcExplorerScript 
/tmp/ptpscript_O4NomZ: line 14: \glade\u\home\dunlap\hycom\v7-ComponentExplorer\nuopcExplorerScript: command not found 

I am running Eclipse locally on Windows.  The remote system is Linux.

Rocky



_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ptp-user


Back to the top