[otj-users] OT outside of Eclipse
Carsten Pfeiffer
carsten.pfeiffer at first.fraunhofer.de
Mon Dec 12 17:04:38 CET 2005
On Monday 12 December 2005 16:30, Oliver Neumann wrote:
Hiya Oliver,
> i wonder if there's a way to start precompiled Base-Code and Aspects
> outside of Eclipse.
yes, there is. :-)
I've always thought that we should add some kind of "Export Launch-Script" or
something like that to the Launch Configuration, but I never got around at
doing it.
> Does anyone know what parameters etc needs to be given to java in order to
> do that ?
You need to run a command like this (OT_ECLIPSE_DIR should point to your OT
Eclipse installation directory):
OTRUNTIME=%OT_ECLIPSE_DIR%/plugins/org.objectteams.runtime_0.8.17/otj/lib"
JMANGLER_HOME="%OTRUNTIME%/jmangler"
CLASSPATH="... your own classes, libraries etc..."
YOUR_MAIN_CLASS="my.class.Main"
java
-Xms32M
-Dot.otdt
-Dorg.cs3.jmangler.initfile="%OTRUNTIME%/callinTransformers.xml"
-Xbootclasspath/a:%JMANGLER_HOME%/use/BCEL.jar:
%JMANGLER_HOME%/jars/JMangler-core.jar
-classpath %CLASSPATH%:/home/gis/eclipse-3/workspace/OTDT/lib/otre.jar:
%JMANGLER_HOME%/jars/JMangler-start.jar
org.cs3.jmangler.bootstrap.Start %YOUR_MAIN_CLASS%
The linebreaks are a little hosed, I'm afraid, but I hope you will figure
those out :-}
Cheers,
Carsten Pfeiffer
--
Fraunhofer Institute Computer Architecture and Software Technology, FIRST
Kekuléstraße 7, 12489 Berlin
Tel.: +49 (0)30 6392-1900, Fax: +49 (0)30 6392-1805
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2045 bytes
Desc: not available
Url : http://collegium-musicum.tu-berlin.de/pipermail/otj-users/attachments/20051212/cb8dee31/smime.bin
More information about the otj-users
mailing list