hi all,
i commited the new quick-start to 1.0.x branch. please check it out !
jakob
Jakob Braeuchi schrieb:
hi all,
i'm currently working on a new ant-target ojb-quickstart to make it really easy for beginners.
jakob
Łukasz Korzybski schrieb:
Dnia niedziela, 14 listopada 2004 21:29, Thomas Dudziak napisał:
Ilias Lazaridis wrote:
Jakob Braeuchi wrote:
hi ilias,
any help will be really appreciated.
ok, very nice.
i do not know netbeans but i try to run the tutorial1.Application from within eclipse. as soon as i have it running i'll let you know.
The command line parameters would fine (or even better), too!
Its all explained in the getting started guide: After you executed 'ant build' and 'ant setup-db', you simply add all jars in the lib folder to your classpath as well as the compiled classes (build/java I believe), and the run your main class (depends on the tutorial) in the build/resources folder. Btw, I don't know whether a netbeans project can include run configurations, Eclipse project files at least cannot include these.
NB 4.0 uses ant natively for its projects. To run obj-blank in NB:
New Project -> Java Project with Existing Ant Script
We need to choose project location and select build.xml
After creation, in project properties we can select build, deploy etc. targets.
Open build.xml and add run target:
<target name="run" depends="compile" description="Run a main class."> <java classname="ojbtest.Main" fork="true"> <arg line="${application.args}"/> <classpath refid="runtime-classpath"/> </java> </target>
And everything should fly.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
