Fixes for 0.3.0alpha Linux scripts.

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: imaqine, 99jonathan, roger

New User
Posts: 17
Joined: Tue Aug 21, 2007 5:25 am

Fixes for 0.3.0alpha Linux scripts.

Postby NVRAM » Thu Aug 23, 2007 5:43 am

I found two typos in the 0.3.0alpha scripts for Linux (and maybe cygwin)...

1. The "nxjc" script uses some backslashes for directory separators.
2. The "nxjupload" script is missing a "$" in the path to the "bcel-5.1.jar" file.

The SVN diffs are shown below.


Code: Select all

svn diff lejos/trunk/snapshot/bin/nxjc lejos/trunk/snapshot/bin/nxjupload
Index: lejos/trunk/snapshot/bin/nxjc
--- lejos/trunk/snapshot/bin/nxjc   (revision 935)
+++ lejos/trunk/snapshot/bin/nxjc   (working copy)
@@ -15,4 +15,4 @@
-javac -source 1.3 -target 1.1 -bootclasspath "$NXJ_HOME\lib\classes.jar$SEP$CLASSPATH" "$@"
+javac -source 1.3 -target 1.1 -bootclasspath "$NXJ_HOME/lib/classes.jar$SEP$CLASSPATH" "$@"
Index: lejos/trunk/snapshot/bin/nxjupload
--- lejos/trunk/snapshot/bin/nxjupload   (revision 935)
+++ lejos/trunk/snapshot/bin/nxjupload   (working copy)
@@ -20,4 +20,4 @@
-java -Djava.library.path="$NXJ_HOME/bin" -Dnxj.home="$NXJ_HOME" -classpath "THIRDPARTY_LIBS/bcel-5.1.jar$SEP$THIRDPARTY_LIBS/commons-cli-1.0.jar$SEP$NXJ_HOME/lib/pctools.jar$SEP$NXJ_HOME/lib/pccomm.jar$SEP$NXJ_HOME/lib/jtools.jar" "$@"
+java -Djava.library.path="$NXJ_HOME/bin" -Dnxj.home="$NXJ_HOME" -classpath "$THIRDPARTY_LIBS/bcel-5.1.jar$SEP$THIRDPARTY_LIBS/commons-cli-1.0.jar$SEP$NXJ_HOME/lib/pctools.jar$SEP$NXJ_HOME/lib/pccomm.jar$SEP$NXJ_HOME/lib/jtools.jar" "$@"

Return to “NXJ Software”

Who is online

Users browsing this forum: No registered users and 5 guests