hi ilias,

well, actualy it's possible to do something like this

java -classpath "the;classpath" whatever.you.main.class.is

but the classpath will be quite long ;)

java -cp classes;lib\antlr-2.7.3.jar;lib\commons-beanutils.jar;lib\commons-collections-2.1.1.jar;lib\commons-dbcp-1.1.jar;lib\commons-lang-2.0.jar;lib\commons-logging.jar;lib\commons-pool-1.1.jar;lib\db-ojb-1.0.1-junit.jar;lib\db-ojb-1.0.1.jar;lib\hsqldb.jar;lib\log4j-1.2.8.jar org.apache.ojb.tutorial1.Application

jakob

Ilias Lazaridis schrieb:

Jakob Braeuchi wrote:
[moved down]


Ilias Lazaridis schrieb:

Ilias Lazaridis wrote:
[...]

Thomas Dudziak wrote:

[...]

I want to run and explore it.

ant build
ant setup-db
cd build/resources
java -classpath "the;classpath" whatever.you.main.class.is

[...]

can you please give me the exact command line for the tutorial 1?

My project resides on:
J:\pj\ojbeval\ojb-blank\src\java\org\apache\ojb\tutorial1


Can one please give me the exact command-line i have to use for the tutorial 1?


I have the feeling, that it is not possible to use a single command line, as it was suggested above.

Can I please have a confirmation on this?

> > i cannot confirm this. with the ojb-quickstart target you can run > tutorials 1 and 2 with a single command line tutorial1.bat or > tutorial2.bat.

I am in the context of this thread.

I refere to the above single command line, which was suggested within this thread:

 >>>>>> java -classpath "the;classpath" whatever.you.main.class.is

Using this (like suggested from a team member) is not possible.

Of course this was for me (as a newcomer) very confusing.

.


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



Reply via email to