On Feb 25, 2007, at 5:25 PM, Jim Marino wrote:


On Feb 25, 2007, at 5:11 PM, Luciano Resende wrote:

It would take me about a week, with help, it probably would be done
sooner... We could use the loan app, I was using the calculator sample app.
Let me merge the latest stuff I have to trunk.

O.K. sounds cool. To start the app you'll need to get a distribution, which you can grab from the runtime assembly directory. I typically get the tar and expand it in an /image directory. This allows me to run the sample from the command line doing:

java -jar ../image/assembly-1.0-alpha-incubating-SNAPSHOT-bin/bin/ launcher.jar target/loan-application.jar

or to debug:

java -Xdebug -Xnoagent -Djava.compiler=NONE - Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005 - jar ../image/assembly-1.0-alpha-incubating-SNAPSHOT-bin/bin/ launcher.jar target/loan-application.jar


You can also run/debug as an application (assuming you get the IDE set up right). In IDEA I have:
* classpath from the launcher module
* main class = org.apache.tuscany.launcher.Main
* JVM parameters = -ea -Dtuscany.installDir=${SCA}/runtime/standalone/ smoketest/target/assembly
* Program parameters = calc.jar add 2 3
* Working directory = ${SAMPLES}/standalone/calculator/target

That probably translates to Eclipse somehow.
--
Jeremy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to