This is only for people who like to tinker with code.
If it breaks it's yours.
For those who want to play with ECJ, the internal compiler that Eclipse
uses.
Backup your NetRexxC.jar and NetRexxR.jar
Make a new directory
cd to that directory
Check out the NetRexx source
svn co
https://svn.netrexx.org/svn/netrexx~netrexxc-repo .
find line javacok=sun.tools.javac.Main(System.out, 'javac').compile(args)
It is around line 618 in file
netrexxc/trunk/src/org/netrexx/process/RxTranslator.nrx
change to --javacok=sun.tools.javac.Main(System.out, 'javac').compile(args)
add directly under that line
javacok=org.eclipse.jdt.core.compiler.batch.BatchCompiler.compile(args,
PrintWriter(System.out), PrintWriter(System.err), null)
Make sure the build can find the jar for the JDT Core Batch Compiler
that came with Eclipse or download it from their site.
Note : I could not find a current download of just the jar there. I used
the jar provided with Ubuntu. (VERSION 3.5.1)
Without reading or setting classpaths or changing the build I copied
eclipse-ecj.jar into netrexxc/trunk/lib/
cd to trunk
type make
Should build ok
The new NetRexxC.jar and NetRexxR.jar will be in netrexxc/trunk/build/lib/
Useful, I don't know.
Maybe for NetRexx Plugin, Jedit , Ant Builds (There is some Ant related
stuff there.) and just trying to make a compact or a self sustaining
environment.
_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive :
http://ibm-netrexx.215625.n3.nabble.com/