ArchiveOrangemail archive

OJB Users List


ojb-user.db.apache.org
(List home) (Recent threads) (14 other Apache DB lists)

Subscription Options

  • RSS or Atom: Read-only subscription using a browser or aggregator. This is the recommended way if you don't need to send messages to the list. You can learn more about feed syndication and clients here.
  • Conventional: All messages are delivered to your mail address, and you can reply. To subscribe, send an email to the list's subscribe address with "subscribe" in the subject line, or visit the list's homepage here.
  • This list contains about 13,042 messages, beginning Jul 2003
  • This list doesn't seem to be active
Report the Spam
This button sends a spam report to the moderator. Please use it sparingly. For other removal requests, read this.
Are you sure? yes no

- A OJB quickstart similar to hibernate

Ad
Ilias Lazaridis 1100272860Fri, 12 Nov 2004 15:21:00 +0000 (UTC)
-

Is there any OJB quick-start download available?

   - binaries
   - ready to go configuration
   - sample application with integrated database

-

I've selected OJB, mostly due its ODMG/JDO/native API combination.

I have one problem:

Quick-Start!

Found this one, but seems old:
http://db.apache.org/ojb.rc4/quickstart.html

In the actual page, I cannot find a quickstart
http://db.apache.org/ojb/

-

hibernate has a sample appication:

http://caveatemptor.hibernate.org/

-

I do not want to use hibernate, for the only reason that starting 
developement is easier.

.
Thomas Dudziak 1100273185Fri, 12 Nov 2004 15:26:25 +0000 (UTC)
Ilias Lazaridis wrote: > Is there any OJB quick-start download available? > > - binaries > - ready to go configuration > - sample application with integrated database
Yupp, there something of that sort. You can download the ojb-blank.jar file which contains a ready-to-use base environment (including an Eclipse project), and then drop in the files of one of the tutorials (tutorials-src.jar), probably tutorial 1 or 2. You can get all of them in the binary download area. A description of this is in the "Getting started" page: http://db.apache.org/ojb/docu/getting-started... and the tutorials at http://db.apache.org/ojb/docu/tutorials/summa... Tom
Ilias Lazaridis 1100275374Fri, 12 Nov 2004 16:02:54 +0000 (UTC)
Thomas Dudziak wrote: > Ilias Lazaridis wrote: > >> Is there any OJB quick-start download available? >> >> - binaries >> - ready to go configuration >> - sample application with integrated database > > Yupp, there something of that sort. You can download the ojb-blank.jar > file which contains a ready-to-use base environment (including an > Eclipse project), and then drop in the files of one of the tutorials > (tutorials-src.jar), probably tutorial 1 or 2. You can get all of them > in the binary download area. > A description of this is in the "Getting started" page: > > http://db.apache.org/ojb/docu/getting-started...
Section "Contents of ojb-blank" src/java Place your unit tests in here. should be: src/*test* Place your unit tests in here.Many documentation, many manual steps. I'll give it a try tomorrow morning (using netbeans 4.0). .
Thomas Dudziak 1100276410Fri, 12 Nov 2004 16:20:10 +0000 (UTC)
Ilias Lazaridis wrote: >>> Is there any OJB quick-start download available? >>> >>> - binaries >>> - ready to go configuration >>> - sample application with integrated database >> >> >> Yupp, there something of that sort. You can download the >> ojb-blank.jar file which contains a ready-to-use base environment >> (including an Eclipse project), and then drop in the files of one of >> the tutorials (tutorials-src.jar), probably tutorial 1 or 2. You can >> get all of them in the binary download area. >> A description of this is in the "Getting started" page: >> >> http://db.apache.org/ojb/docu/getting-started... > > > Section "Contents of ojb-blank" > > src/java > Place your unit tests in here. > > should be: > src/*test* > Place your unit tests in here.
Ok, I'll fix that.
> >> and the tutorials at >> >> http://db.apache.org/ojb/docu/tutorials/summa... > > > Many documentation, many manual steps.
Actually there are only few steps. Most of the getting started doc just explains what the files mean and what settings there are. And IMO its better to be detailed (and explicit) than to be overly short. If you just want to run something, then drop in the source files and do ant build ant setup-db cd build/resources java -classpath "the;classpath" whatever.you.main.class.is Tom
Ilias Lazaridis 1100343964Sat, 13 Nov 2004 11:06:04 +0000 (UTC)
Thomas Dudziak wrote: > Ilias Lazaridis wrote: > >>>> Is there any OJB quick-start download available? >>>> >>>> - binaries >>>> - ready to go configuration >>>> - sample application with integrated database >>> >>> Yupp, there something of that sort. You can download the >>> ojb-blank.jar file which contains a ready-to-use base environment >>> (including an Eclipse project), and then drop in the files of one of
I would prefere a netbeans 4.0 project.
>>> the tutorials (tutorials-src.jar), probably tutorial 1 or 2. You can >>> get all of them in the binary download area. >>> A description of this is in the "Getting started" page: >>> >>> http://db.apache.org/ojb/docu/getting-started...
[...]
>>> http://db.apache.org/ojb/docu/tutorials/summa... >> >> Many documentation, many manual steps. > > Actually there are only few steps.
Which I have difficulties to detect within the large document [as most possibly every newcomer would have].
> Most of the getting started doc just > explains what the files mean and what settings there are.
I see.
> And IMO its > better to be detailed (and explicit) than to be overly short.
You are of course right. But the user should decide about the detail increase. Solution: hierarchical document, which is compact, with links to more details.
> If you > just want to run something, then drop in the source files and do
I want to run and explore it.
> ant build > ant setup-db > cd build/resources > java -classpath "the;classpath" whatever.you.main.class.is
ok, will try. - I the OJB-team actually intrested to increase the general usage of OJB? I have some very simple suggestions, which need only a few days to implement. .
Ilias Lazaridis 1100437992Sun, 14 Nov 2004 13:13:12 +0000 (UTC)
Ilias Lazaridis wrote: > Thomas Dudziak wrote:
> Thomas Dudziak wrote: [...] >> If you just want to run something, then drop in the source files and do > > I want to run and explore it. > >> ant build >> ant setup-db >> cd build/resources >> java -classpath "the;classpath" whatever.you.main.class.is > > ok, will try.
I've compiled the code within netbeans, but i'm not able to start within the IDE. 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 java -classpath??? > I the OJB-team actually intrested to increase the general usage of OJB? ?
> I have some very simple suggestions, which need only a few days to > implement.
.
Ilias Lazaridis 1100457512Sun, 14 Nov 2004 18:38:32 +0000 (UTC)
Ilias Lazaridis wrote: > Ilias Lazaridis wrote: >> Thomas Dudziak wrote: > [...] > >>> If you just want to run something, then drop in the source files and do >> >> I want to run and explore it. >> >>> ant build >>> ant setup-db >>> cd build/resources >>> java -classpath "the;classpath" whatever.you.main.class.is >> >> ok, will try. > > I've compiled the code within netbeans, but i'm not able to start within > the IDE. > > 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 > > java -classpath???
update: An ant target "jar" is available. Within Netbeans 4.0, i've started this. Try to execute the produced jar: J:\pj\ojbeval\ojb-blank\target>java -jar my-project.jar Failed to load Main-Class manifest attribute from my-project.jar I really think your quick-start application needs to be updated a little, thus it is easier for newcomers to understand. I can assist you to make a netbeans 4.0 project and a very compact document, which will be usable for total newcomers. [but first, please let me know how to start my OJB tutorials]
>> I the OJB-team actually intrested to increase the general usage of OJB? > > ? > >> I have some very simple suggestions, which need only a few days to >> implement. > > .
.
Jakob Braeuchi 1100459622Sun, 14 Nov 2004 19:13:42 +0000 (UTC)
hi ilias,

any help will be really appreciated. 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.

jakob
Ilias Lazaridis schrieb: > Ilias Lazaridis wrote: > >> Ilias Lazaridis wrote: >> >>> Thomas Dudziak wrote: >> >> [...] >> >>>> If you just want to run something, then drop in the source files and do >>> >>> >>> I want to run and explore it. >>> >>>> ant build >>>> ant setup-db >>>> cd build/resources >>>> java -classpath "the;classpath" whatever.you.main.class.is >>> >>> >>> ok, will try. >> >> >> I've compiled the code within netbeans, but i'm not able to start >> within the IDE. >> >> 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 >> >> java -classpath??? > > > update: > > An ant target "jar" is available. Within Netbeans 4.0, i've started this. > > Try to execute the produced jar: > > J:\pj\ojbeval\ojb-blank\target>java -jar my-project.jar > Failed to load Main-Class manifest attribute from > my-project.jar > > I really think your quick-start application needs to be updated a > little, thus it is easier for newcomers to understand. > > I can assist you to make a netbeans 4.0 project and a very compact > document, which will be usable for total newcomers. > > [but first, please let me know how to start my OJB tutorials] > >>> I the OJB-team actually intrested to increase the general usage of OJB? >> >> >> ? >> >>> I have some very simple suggestions, which need only a few days to >>> implement. >> >> >> . > > > . >
Ilias Lazaridis 1100461684Sun, 14 Nov 2004 19:48:04 +0000 (UTC)
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!
>>>> 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 >>> >>> java -classpath???
[...]
>> Try to execute the produced jar: >> >> J:\pj\ojbeval\ojb-blank\target>java -jar my-project.jar >> Failed to load Main-Class manifest attribute from >> my-project.jar
.
Thomas Dudziak 1100463930Sun, 14 Nov 2004 20:25:30 +0000 (UTC)
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. Tom
Łukasz Korzybski 1100464815Sun, 14 Nov 2004 20:40:15 +0000 (UTC)
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.
Jakob Braeuchi 1100465400Sun, 14 Nov 2004 20:50:00 +0000 (UTC)
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: > For additional commands, e-mail: > >
Jakob Braeuchi 1100468885Sun, 14 Nov 2004 21:48:05 +0000 (UTC)
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: >> For additional commands, e-mail: >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > For additional commands, e-mail: > >
Ilias Lazaridis 1100535028Mon, 15 Nov 2004 16:10:28 +0000 (UTC)
Jakob Braeuchi wrote: > hi all, > > i commited the new quick-start to 1.0.x branch. > please check it out !
this sounds good, but does not help me. I still need the commandline / ant-target new addition to start the tutorial (see the other messages). .
Jakob Braeuchi 1100539979Mon, 15 Nov 2004 17:32:59 +0000 (UTC)
hi ilias,

this is tha batch file i use:

@echo off

set cp=
for %%i in (lib\*.jar) do call cp.bat %%i
set CP=classes;%CP%

java -cp %CP% org.apache.ojb.tutorial1.Application


hth
jakob
Ilias Lazaridis schrieb: > Jakob Braeuchi wrote: > >> hi all, >> >> i commited the new quick-start to 1.0.x branch. >> please check it out ! > > > this sounds good, but does not help me. > > I still need the commandline / ant-target new addition to start the > tutorial (see the other messages). > > . >
Ilias Lazaridis 1100541198Mon, 15 Nov 2004 17:53:18 +0000 (UTC)
Jakob Braeuchi wrote: > hi ilias, > > this is tha batch file i use: > > @echo off > > set cp= > for %%i in (lib\*.jar) do call cp.bat %%i > set CP=classes;%CP% > > java -cp %CP% org.apache.ojb.tutorial1.Application
=> missing cp.bat .
Jakob Braeuchi 1100541449Mon, 15 Nov 2004 17:57:29 +0000 (UTC)
it's in bin\
Ilias Lazaridis schrieb: > Jakob Braeuchi wrote: > >> hi ilias, >> >> this is tha batch file i use: >> >> @echo off >> >> set cp= >> for %%i in (lib\*.jar) do call cp.bat %%i >> set CP=classes;%CP% >> >> java -cp %CP% org.apache.ojb.tutorial1.Application > > > => missing cp.bat > > . >
Ilias Lazaridis 1100544602Mon, 15 Nov 2004 18:50:02 +0000 (UTC)
Jakob Braeuchi wrote: [...] >>> this is tha batch file i use: >>> >>> @echo off >>> >>> set cp= >>> for %%i in (lib\*.jar) do call cp.bat %%i >>> set CP=classes;%CP% >>> >>> java -cp %CP% org.apache.ojb.tutorial1.Application >> >> => missing cp.bat
content of cp.bat set CP=%CP%;%1 .
Jakob Braeuchi 1100545272Mon, 15 Nov 2004 19:01:12 +0000 (UTC)
hi ilias,

this is correct!
cp.bat is only used add all jars to the classpath

jakob
Ilias Lazaridis schrieb: > Jakob Braeuchi wrote: > [...] > >>>> this is tha batch file i use: >>>> >>>> @echo off >>>> >>>> set cp= >>>> for %%i in (lib\*.jar) do call cp.bat %%i >>>> set CP=classes;%CP% >>>> >>>> java -cp %CP% org.apache.ojb.tutorial1.Application >>> >>> >>> => missing cp.bat > > > content of cp.bat > > set CP=%CP%;%1 > > . >
Ilias Lazaridis 1100597451Tue, 16 Nov 2004 09:30:51 +0000 (UTC)
Jakob Braeuchi wrote: [moved down] > Ilias Lazaridis schrieb: >> Jakob Braeuchi wrote: >> [...] >> >>>>> this is tha batch file i use: >>>>> >>>>> @echo off >>>>> >>>>> set cp= >>>>> for %%i in (lib\*.jar) do call cp.bat %%i >>>>> set CP=classes;%CP% >>>>> >>>>> java -cp %CP% org.apache.ojb.tutorial1.Application >>>> >>>> => missing cp.bat >> >> content of cp.bat >> >> set CP=%CP%;%1 > > hi ilias, > > this is correct! > cp.bat is only used add all jars to the classpath > > jakob
ok. I've documented this, for the case someone hits on this thread in future. .
Ilias Lazaridis 1100800375Thu, 18 Nov 2004 17:52:55 +0000 (UTC)
Ilias Lazaridis wrote: > Jakob Braeuchi wrote: > >> hi all, >> >> i commited the new quick-start to 1.0.x branch. >> please check it out ! > > > this sounds good, but does not help me.
http://cvs.apache.org/viewcvs.cgi/db-ojb/buil... I've now understood what you've done. To be of general use, the "quickstart" must be generated out of the ojb-blank (the users personal project template). Thus you should make the "quickstart" target-addition to ojb-blank build.xml.
> I still need the commandline / ant-target new addition to start the > tutorial (see the other messages).
.
Jakob Braeuchi 1100806023Thu, 18 Nov 2004 19:27:03 +0000 (UTC)
hi ilias,

the quickstart i provided is a simple way to build and run the tutorials 1 and 
2. it was not my intention to create anything else, but afaik tom is working on 
an enhanced ojb-blank.

jakob
Ilias Lazaridis schrieb: > Ilias Lazaridis wrote: > >> Jakob Braeuchi wrote: >> >>> hi all, >>> >>> i commited the new quick-start to 1.0.x branch. >>> please check it out ! >> >> >> >> this sounds good, but does not help me. > > > http://cvs.apache.org/viewcvs.cgi/db-ojb/buil... > > > I've now understood what you've done. > > To be of general use, the "quickstart" must be generated out of the > ojb-blank (the users personal project template). Thus you should make > the "quickstart" target-addition to ojb-blank build.xml. > >> I still need the commandline / ant-target new addition to start the >> tutorial (see the other messages). > > > . >
Ilias Lazaridis 1100808064Thu, 18 Nov 2004 20:01:04 +0000 (UTC)
Jakob Braeuchi wrote: > Ilias Lazaridis schrieb: >> Ilias Lazaridis wrote: >>> Jakob Braeuchi wrote: >>> >>>> hi all, >>>> >>>> i commited the new quick-start to 1.0.x branch. >>>> please check it out ! >>> >>> this sounds good, but does not help me. >> >> http://cvs.apache.org/viewcvs.cgi/db-ojb/buil... >> >> I've now understood what you've done. >> >> To be of general use, the "quickstart" must be generated out of the >> ojb-blank (the users personal project template). Thus you should make >> the "quickstart" target-addition to ojb-blank build.xml. > > the quickstart i provided is a simple way to build and run the > tutorials 1 and 2.
I understand. You have posted it within this thread, and of course I connect it immediately with my problem, which is "starting the obj-blank generated application". > it was not my intention to create anything else, ok > but afaik tom is working on an enhanced ojb-blank. Ok, that's fine. .
Ilias Lazaridis 1100532181Mon, 15 Nov 2004 15:23:01 +0000 (UTC)
Łukasz Korzybski wrote: > Dnia niedziela, 14 listopada 2004 21:29, Thomas Dudziak napisał: > >>Ilias Lazaridis wrote: >>
[...]
> 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>
thank you [note: the ant-target "run" works from the command-line, too] Please use this slight corrected version for Tutorial 1: <target name="run" depends="compile" description="Run Application"> <java classname="org.apache.ojb.tutorial1.Application" fork="true"> <arg line="${application.args}"/> <classpath refid="runtime-classpath"/> </java> </target> > And everything should fly. problem: [root]/build.xml [root]/build/classes [root]/build/resources the application runs withing [root]. the application needs to access files within /build/resources Can one make the necessary modification to the above ant-target "run"? .
Ilias Lazaridis 1101223723Tue, 23 Nov 2004 15:28:43 +0000 (UTC)
Ilias Lazaridis wrote: > Łukasz Korzybski wrote: > >> Dnia niedziela, 14 listopada 2004 21:29, Thomas Dudziak napisał: >> >>> Ilias Lazaridis wrote: >>> > [...] > >> 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.
[...]
> thank you [note: the ant-target "run" works from the command-line, too] > > Please use this slight corrected version for Tutorial 1: > > <target name="run" depends="compile" description="Run Application"> > <java classname="org.apache.ojb.tutorial1.Application" fork="true"> > <arg line="${application.args}"/> > <classpath refid="runtime-classpath"/> > </java> > </target>
[...]
> the application runs withing [root]. > > the application needs to access files within /build/resources > > Can one make the necessary modification to the above ant-target "run"?
the modification: add " dir=".\build\resources" " to "<java..." <target name="run" depends="compile" description="Run Application"> <java classname="org.apache.ojb.tutorial1.Application" fork="true" dir=".\build\resources"> <arg line="${application.args}"/> <classpath refid="runtime-classpath"/> </java> </target> - Command Line: "ant clean build setup-db run" Problem: application starts ok, with some debug output. Then it enters a loop [must abort with CTRL-C] [java] [0] List all product entries [java] [1] Enter a new product [java] [2] Edit a product entry [java] [3] Delete a product entry [java] [4] Quit Application [java] type in number to select a use case [java] null - Any ideas? .
Thomas Dudziak 1101223990Tue, 23 Nov 2004 15:33:10 +0000 (UTC)
Ilias Lazaridis wrote: > the modification: add " dir=".\build\resources" " to "<java..." > > <target name="run" depends="compile" description="Run Application"> > <java classname="org.apache.ojb.tutorial1.Application" > fork="true" dir=".\build\resources"> > <arg line="${application.args}"/> > <classpath refid="runtime-classpath"/> > </java> > </target> > > - > > Command Line: "ant clean build setup-db run" > > Problem: > > application starts ok, with some debug output. > > Then it enters a loop [must abort with CTRL-C] > > [java] [0] List all product entries > [java] [1] Enter a new product > [java] [2] Edit a product entry > [java] [3] Delete a product entry > [java] [4] Quit Application > [java] type in number to select a use case > [java] null > > - > > Any ideas?
You cannot start commandline applications (that want input from console) from within Ant, neither with the <java> nor with the <exec> tast (see Ant doc for details). That's why I modified ojb-blank and ojb-quickstart in CVS to create run.bat/run.sh for the apps. Tom
Ilias Lazaridis 1101225183Tue, 23 Nov 2004 15:53:03 +0000 (UTC)
Thomas Dudziak wrote: > Ilias Lazaridis wrote: > >> the modification: add " dir=".\build\resources" " to "<java..."
[...]
>> Command Line: "ant clean build setup-db run" >> >> Problem: >> >> application starts ok, with some debug output. >> >> Then it enters a loop [must abort with CTRL-C] >> >> [java] [0] List all product entries
[...]
>> [java] type in number to select a use case >> [java] null >> >> - >> >> Any ideas? > > > You cannot start commandline applications (that want input from console) > from within Ant, neither with the <java> nor with the <exec> tast (see > Ant doc for details).
=> {the highly flexible build and automation tool "ant" cannot start command line applications which depend on console input} ok
> That's why I modified ojb-blank and ojb-quickstart > in CVS to create run.bat/run.sh for the apps.
You have modified it? Why don't you post a notification to ther user forum? How can I obtain the new version without CVS access? I would like to start my intro apps. .
Thomas Dudziak 1101225579Tue, 23 Nov 2004 15:59:39 +0000 (UTC)
Ilias Lazaridis wrote: >> That's why I modified ojb-blank and ojb-quickstart in CVS to create >> run.bat/run.sh for the apps. > > > You have modified it? > > Why don't you post a notification to ther user forum?
Because it is only in CVS and will be in the upcoming 1.0.2. But the developer list contains a notification.
> > How can I obtain the new version without CVS access? > > I would like to start my intro apps.
You have to get it from CVS or wait for the 1.0.2. But why would you need a quickstart anyway ? OJB is a system for developers not endusers, and all that the quickstart shows is that it works, nothing more. I think , the ojb-blank is much more interesting to you as it is a blueprint for an OJB project. Tom
Ilias Lazaridis 1101229334Tue, 23 Nov 2004 17:02:14 +0000 (UTC)
Thomas Dudziak wrote: > Ilias Lazaridis wrote: > >>> That's why I modified ojb-blank and ojb-quickstart in CVS to create >>> run.bat/run.sh for the apps. >> >> You have modified it? >> >> Why don't you post a notification to ther user forum? > > Because it is only in CVS and will be in the upcoming 1.0.2.
I've asked for a modified "run" and "deploy" to start the tutorials in another thread. [INTRO01] - I01 - Simple Java Class - Need the quickstart application ! http://www.mail-archive.com/ojb-user%40db.apa... A team member suggested me to wait for your results. Thus, I expected of course a notification on this forum. > But the developer list contains a notification. I am a user - and as such I monitor only the user forum.
>> How can I obtain the new version without CVS access? >> >> I would like to start my intro apps. > > You have to get it from CVS or wait for the 1.0.2.
I think the team should post the relevant files within the relevant threads (this way, the mail-archives value is increased, too). > But why would you need a quickstart anyway ? To learn and use OJB quickly, and to enable other people to learn and use it quickly, thus its userbase increases, thus its evolution is faster, thus its usability for me becomes better: [SUGGESTION] - S01 - Website.MainPage & QuickStarts http://www.mail-archive.com/ojb-user%40db.apa... > OJB is a system for developers not endusers, I am currently an enduser of OJB. I'm not interested in developing OJB itself, but in using OJB. I like to do this, without loosing much time and energy to get it running.
> and all that the quickstart shows is that it > works, nothing more. I think , the ojb-blank is much more interesting to > you as it is a blueprint for an OJB project.
The ojb-blank that i've download is not convenient - and i've lost many time with it. Other people have lost time, too: FW: Newbie Question : There was no default-PBKey specified http://www.mail-archive.com/ojb-user%40db.apa... - I suggest you to do what you can do best: developing on the OJB core. And I will take care of the "Convenience Challenge". http://lazaridis.com/core/product/case.html - But I depend (at least a little bit) on the teams assistance. Please let me know if I can expect some minutes of the teams time, thus I can serve your furture users with convenient intro's. .
Daniel Perry 1101231079Tue, 23 Nov 2004 17:31:19 +0000 (UTC)
> A team member suggested me to wait for your results. > > Thus, I expected of course a notification on this forum. > > > But the developer list contains a notification. > > I am a user - and as such I monitor only the user forum.
Your trying to contribute to the enhancement of OJB??? that makes you a developer :)
> > >> How can I obtain the new version without CVS access? > >> > >> I would like to start my intro apps. > > > > You have to get it from CVS or wait for the 1.0.2. > > I think the team should post the relevant files within the relevant > threads (this way, the mail-archives value is increased, too).
That;s what the developer list is for - notification of changes to OJB, etc. Posting that stuff to the user list generates too much noise. The users list is for supporting people who are using OJB in their products, not supporting developers in their development of OJBs code. (Although, i do occasionally post bug-fixes, etc to this list as i'm not on the developers list - i get too many emails that i dont read already!)
> > > But why would you need a quickstart anyway ? > > To learn and use OJB quickly, and to enable other people to learn and > use it quickly, thus its userbase increases, thus its evolution is > faster, thus its usability for me becomes better: > > [SUGGESTION] - S01 - Website.MainPage & QuickStarts > http://www.mail-archive.com/ojb-user%40db.apa... > > > OJB is a system for developers not endusers, > > I am currently an enduser of OJB. > > I'm not interested in developing OJB itself, but in using OJB. > > I like to do this, without loosing much time and energy to get it running. > > > and all that the quickstart shows is that it > > works, nothing more. I think , the ojb-blank is much more > interesting to > > you as it is a blueprint for an OJB project. > > The ojb-blank that i've download is not convenient - and i've lost many > time with it. >
I can see where you're coming from, but i disagree. I started out with OJB a long time ago, and i learnt it off of the examples, and whatever documentation was available at the time - particularly the getting started guide, and the PB API tutorial, and the tutorial example code. As with most technologies, i had a play with it and picked it up. Daniel.
Ilias Lazaridis 1101233492Tue, 23 Nov 2004 18:11:32 +0000 (UTC)
Daniel Perry wrote:
[...] - (comments)

Sorry, i cannot discuss essential project mechanics again.

-

[general remark]

My main questions here is:

Can the team provide me with the targets "run" and "deploy" in a way 
that i don't have to invest more time, thus I can continue to invest my 
time where i can be productive?

.
Daniel Perry 1101235125Tue, 23 Nov 2004 18:38:45 +0000 (UTC)
I would suggest you look in the CVS - there seems to be a newer version of
build.xml that does more for automating the tutorials.

Daniel.
> -----Original Message----- > From: news [mailto:]On Behalf Of Ilias Lazaridis > Sent: 23 November 2004 18:00 > To: > Subject: Re: [QUICKSTART] - A OJB quickstart similar to hibernate > > > Daniel Perry wrote: > [...] - (comments) > > Sorry, i cannot discuss essential project mechanics again. > > - > > [general remark] > > My main questions here is: > > Can the team provide me with the targets "run" and "deploy" in a way > that i don't have to invest more time, thus I can continue to invest my > time where i can be productive? > > . > > -- > http://lazaridis.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > For additional commands, e-mail: > >
Ilias Lazaridis 1101236488Tue, 23 Nov 2004 19:01:28 +0000 (UTC)
Daniel Perry wrote: > I would suggest you look in the CVS - there seems to be a newer version of > build.xml that does more for automating the tutorials.
Thank you! I cannot access CVS for now. I hope someone will sent me the complete new ojb-blank archive. .
Ilias Lazaridis 1101312224Wed, 24 Nov 2004 16:03:44 +0000 (UTC)
Ilias Lazaridis wrote: > Daniel Perry wrote: > >> I would suggest you look in the CVS - there seems to be a newer >> version of >> build.xml that does more for automating the tutorials. > > Thank you! > > I cannot access CVS for now. > > I hope someone will sent me the complete new ojb-blank archive.
I got the ojb-blank via email. http://www.mail-archive.com/ojb-user%40db.apa... .
Thomas Dudziak 1101235246Tue, 23 Nov 2004 18:40:46 +0000 (UTC)
Ilias Lazaridis wrote: > My main questions here is: > > Can the team provide me with the targets "run" and "deploy" in a way > that i don't have to invest more time, thus I can continue to invest > my time where i can be productive?
No, because we *cannot*. Both run and deploy are highly dependant upon your environment which we simply cannot know anything about. You really have to do that yourself because you're the only one who knows about your environment. The best that anybody can offer is ojb-blank upon which you should base your project: Btw, you will find that the same holds true for other libraries/frameworks (e.g. 4 of the 9 'first steps' in the Hibernate getting started doc require you to adjust the Hibernate environment to suit your needs). * Download OJB stable from CVS. You should look up in the NetBeans manual how to check out a project from CVS. The general mechanics of accessing Apache CVS repositories are described here: http://www.apache.org/dev/version-control.htm.... The ojb repository is called db-ojb, and you have to checkout the OJB_1_0_RELEASE branch there (again, see the NetBeans manual on how/where to specify these settings). * Run the Ant 'ojb-blank' target (see the NetBeans manual on how to do that). This will give you a fresh ojb-blank.jar in the dist subfolder. * Now follow the getting-started documentation at http://db.apache.org/ojb/docu/getting-started... This way, you will get the newest ojb-blank which will among other things generate run.bat and run.sh for you if you specify your main class in the build.properties Tom
Ilias Lazaridis 1101236068Tue, 23 Nov 2004 18:54:28 +0000 (UTC)
Thomas Dudziak wrote: > Ilias Lazaridis wrote: > >> My main questions here is: >> >> Can the team provide me with the targets "run" and "deploy" in a way >> that i don't have to invest more time, thus I can continue to invest >> my time where i can be productive? > > No, because we *cannot*. Both run and deploy are highly dependant upon > your environment which we simply cannot know anything about. You really > have to do that yourself because you're the only one who knows about > your environment.
I need them just for the ojb-blank thing...
> The best that anybody can offer is ojb-blank upon > which you should base your project:
[...] - (further process of how to get it via CVS) Can _please_ someone send me this new ojb-blank thing as a zip/jar or similar? [I assume that ojb-blank is similar to the downloadable, with the additional stuff] Come on people, i'm not an open-source parasit. I like to contribute back! - [i promise: I'll go into the CVS / apache stuff later] .
Ilias Lazaridis 1100596960Tue, 16 Nov 2004 09:22:40 +0000 (UTC)
Ilias Lazaridis wrote: [...] > An ant target "jar" is available. Within Netbeans 4.0, i've started this. > > Try to execute the produced jar: > > J:\pj\ojbeval\ojb-blank\target>java -jar my-project.jar > Failed to load Main-Class manifest attribute from > my-project.jar
[...] Can one tell me the necessary modifications for the build.xml to make the produced jar file start correctly? .
Jakob Braeuchi 1100639711Tue, 16 Nov 2004 21:15:11 +0000 (UTC)
hi ilias,

you have to add a proper manifest-file to your jar.

see http://ant.apache.org/manual/index.html

jakob
Ilias Lazaridis schrieb: > Ilias Lazaridis wrote: > [...] > >> An ant target "jar" is available. Within Netbeans 4.0, i've started this. >> >> Try to execute the produced jar: >> >> J:\pj\ojbeval\ojb-blank\target>java -jar my-project.jar >> Failed to load Main-Class manifest attribute from >> my-project.jar > > [...] > > Can one tell me the necessary modifications for the build.xml to make > the produced jar file start correctly? > > . >
Ilias Lazaridis 1100768001Thu, 18 Nov 2004 08:53:21 +0000 (UTC)
Jakob Braeuchi wrote: [move down] > > Ilias Lazaridis schrieb: >> Ilias Lazaridis wrote: >> [...] >> >>> An ant target "jar" is available. Within Netbeans 4.0, i've started >>> this. >>> >>> Try to execute the produced jar: >>> >>> J:\pj\ojbeval\ojb-blank\target>java -jar my-project.jar >>> Failed to load Main-Class manifest attribute from >>> my-project.jar >> >> [...] >> >> Can one tell me the necessary modifications for the build.xml to make >> the produced jar file start correctly? >> > hi ilias, > > you have to add a proper manifest-file to your jar. > > see http://ant.apache.org/manual/index.html > > jakob
Thank you for the link. The current ojb-tutorials should be corrected, to produce a launchable jar-file. .
Ilias Lazaridis 1100776839Thu, 18 Nov 2004 11:20:39 +0000 (UTC)
Ilias Lazaridis wrote: > Jakob Braeuchi wrote:
> Jakob Braeuchi wrote: [...] >>> Can one tell me the necessary modifications for the build.xml to make >>> the produced jar file start correctly? >>> > > hi ilias, > > > > you have to add a proper manifest-file to your jar. > > > > see http://ant.apache.org/manual/index.html > > > > jakob > > Thank you for the link. > > The current ojb-tutorials should be corrected, to produce a launchable > jar-file.
I've added this one into the build.xml ant-target "jar" after "</fileset>": <manifest> <attribute name="Main-Class" value="${jar.mainClass}"/> </manifest> And this one to the build.properties: jar.mainClass=org.apache.ojb.tutorial1.Application and finally this one into the build.xml : <target name="run-jar" depends="jar" description="Run JAR Application"> <java jar="target/my-project.jar" fork="true"> <arg line="${application.args}"/> <classpath refid="runtime-classpath"/> </java> </target> - Error: java.lang.NoClassDefFoundError: org/apache/ojb/broker/PersistenceBrokerFactory at org.apache.ojb.tutorial1.Application.<init>(Unknown Source) at org.apache.ojb.tutorial1.Application.main(Unknown Source) ... - I cannto go at this moment deeper into Ant and into this issue, as I'm risking to get "trapped". Can anyone please tell me, what is wrong? .
Ilias Lazaridis 1100529968Mon, 15 Nov 2004 14:46:08 +0000 (UTC)
Ilias Lazaridis wrote: > Ilias Lazaridis wrote: > >> Thomas Dudziak wrote: > > [...] > >>> If you just want to run something, then drop in the source files and do >> >> I want to run and explore it. >> >>> ant build >>> ant setup-db >>> cd build/resources >>> java -classpath "the;classpath" whatever.you.main.class.is >> >> ok, will try. > > I've compiled the code within netbeans, but i'm not able to start within > the IDE. > > 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? .
Ilias Lazaridis 1100800700Thu, 18 Nov 2004 17:58:20 +0000 (UTC)
Ilias Lazaridis wrote: [...] >>> Thomas Dudziak 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? .
Jakob Braeuchi 1100807031Thu, 18 Nov 2004 19:43:51 +0000 (UTC)
hi ilias,

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.

jakob
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? > > . >
Ilias Lazaridis 1100807610Thu, 18 Nov 2004 19:53:30 +0000 (UTC)
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. .
Jakob Braeuchi 1100809535Thu, 18 Nov 2004 20:25:35 +0000 (UTC)
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. > > . >
Ilias Lazaridis 1100810073Thu, 18 Nov 2004 20:34:33 +0000 (UTC)
Jakob Braeuchi wrote: > 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
ah! I see! ok. Now I understand! Thank you! - I leave the machine. Good night to all. .
Ilias Lazaridis 1101224190Tue, 23 Nov 2004 15:36:30 +0000 (UTC)
Ilias Lazaridis wrote: > Jakob Braeuchi wrote: > >> 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
[...]
> Now I understand! > > Thank you!
What is the reason, that java -cp build\classes;lib\*.jar org.apache.ojb.tutorial1.Application java -cp build\classes;lib\* org.apache.ojb.tutorial1.Application java -cp build\classes;lib\ org.apache.ojb.tutorial1.Application or something similar is invalid? .
Thomas Dudziak 1101225611Tue, 23 Nov 2004 16:00:11 +0000 (UTC)
Ilias Lazaridis wrote: > Ilias Lazaridis wrote: > >> Jakob Braeuchi wrote: >> >>> 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 >> > [...] > >> Now I understand! >> >> Thank you! > > > What is the reason, that > > java -cp build\classes;lib\*.jar org.apache.ojb.tutorial1.Application > java -cp build\classes;lib\* org.apache.ojb.tutorial1.Application > java -cp build\classes;lib\ org.apache.ojb.tutorial1.Application > > or something similar > > is invalid?
Erm, have you actually tried it ? It's because java.exe *cannot* do this ! Tom
Ilias Lazaridis 1101227481Tue, 23 Nov 2004 16:31:21 +0000 (UTC)
Thomas Dudziak wrote: > Ilias Lazaridis wrote:
Thomas Dudziak wrote: > Ilias Lazaridis wrote: [...] >> What is the reason, that >> >> java -cp build\classes;lib\*.jar org.apache.ojb.tutorial1.Application >> java -cp build\classes;lib\* org.apache.ojb.tutorial1.Application >> java -cp build\classes;lib\ org.apache.ojb.tutorial1.Application >> >> or something similar >> >> is invalid? > > Erm, have you actually tried it ? It's because java.exe *cannot* do this !
Yes, i've tried it. And it does not work. And I just asked, _why_ this is invalid (or: why java.exe cannot do this). Possibly one can point me to a location, where I can find the rationales behind this behaviour. .
Edson Carlos Ericksson Richter 1101227779Tue, 23 Nov 2004 16:36:19 +0000 (UTC)
Read basic Java documentation from Sun (link "Tool docs").

Edson Richter
Ilias Lazaridis escreveu: > Thomas Dudziak wrote: > >> Ilias Lazaridis wrote: > > [...] > >>> What is the reason, that >>> >>> java -cp build\classes;lib\*.jar org.apache.ojb.tutorial1.Application >>> java -cp build\classes;lib\* org.apache.ojb.tutorial1.Application >>> java -cp build\classes;lib\ org.apache.ojb.tutorial1.Application >>> >>> or something similar >>> >>> is invalid? >> >> >> Erm, have you actually tried it ? It's because java.exe *cannot* do >> this ! > > > Yes, i've tried it. > > And it does not work. > > And I just asked, _why_ this is invalid (or: why java.exe cannot do > this). > > Possibly one can point me to a location, where I can find the > rationales behind this behaviour. > > . >
Ilias Lazaridis 1101231511Tue, 23 Nov 2004 17:38:31 +0000 (UTC)
Edson Carlos Ericksson Richter wrote: [moved down] > Ilias Lazaridis escreveu:
> Ilias Lazaridis escreveu: [...] >>>> What is the reason, that >>>> >>>> java -cp build\classes;lib\*.jar org.apache.ojb.tutorial1.Application >>>> java -cp build\classes;lib\* org.apache.ojb.tutorial1.Application >>>> java -cp build\classes;lib\ org.apache.ojb.tutorial1.Application
[...]
>> And I just asked, _why_ this is invalid (or: why java.exe cannot do >> this). >> >> Possibly one can point me to a location, where I can find the >> rationales behind this behaviour. > Read basic Java documentation from Sun (link "Tool docs").
Cannot find it. I would be gentle [against me and future readers] to point to the resource (which you seem to be familar with). Best would be, if you point to somethin like: "Java Classpath Parameter - Design Rationales" .
Thomas Dudziak 1101231709Tue, 23 Nov 2004 17:41:49 +0000 (UTC)
Ilias Lazaridis wrote: > > Read basic Java documentation from Sun (link "Tool docs"). > > Cannot find it. > > I would be gentle [against me and future readers] to point to the > resource (which you seem to be familar with). > > Best would be, if you point to somethin like: "Java Classpath > Parameter - Design Rationales"
Why don't you do what we would have to in order to find something about it: enter this into Google and see what you find ... Tom
Ilias Lazaridis 1101232358Tue, 23 Nov 2004 17:52:38 +0000 (UTC)
Thomas Dudziak wrote: > Ilias Lazaridis wrote: > >> > Read basic Java documentation from Sun (link "Tool docs"). >> >> Cannot find it. >> >> I would be gentle [against me and future readers] to point to the >> resource (which you seem to be familar with). >> >> Best would be, if you point to somethin like: "Java Classpath >> Parameter - Design Rationales" > > Why don't you do what we would have to in order to find something about > it: enter this into Google and see what you find ...
I am aware about google. Are you aware about the hit-ratio of google? I've simply asked is someone is aware about an _specific_ resource. This here is not my primary issue in this thread. - Why don't you sent me simple the changes that you've made via email, thus I can clean-up this thread (whilst posting the solutions to opened questions, thus future reader of the archives have the answers) and continue my work on the intro's? .
Edson Carlos Ericksson Richter 1101225744Tue, 23 Nov 2004 16:02:24 +0000 (UTC)
Check "Java Tools documentation" in Java docs (downloaded separately).
As I said before, is hard to tech Java in some kind of mail lists (as 
either in NetBeans mail lists)...

First step you should do, to do what you want, is learn Java (not only 
language, but plataform too). Second is learn tools and libraries. Third 
step is try to contribute to the projects.

Best regards,

Edson Richter
Ilias Lazaridis escreveu: > Ilias Lazaridis wrote: > >> Jakob Braeuchi wrote: >> >>> 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 >> > [...] > >> Now I understand! >> >> Thank you! > > > What is the reason, that > > java -cp build\classes;lib\*.jar org.apache.ojb.tutorial1.Application > java -cp build\classes;lib\* org.apache.ojb.tutorial1.Application > java -cp build\classes;lib\ org.apache.ojb.tutorial1.Application > > or something similar > > is invalid? > > . >
Ilias Lazaridis 1101229310Tue, 23 Nov 2004 17:01:50 +0000 (UTC)
Edson Carlos Ericksson Richter wrote: > Check "Java Tools documentation" in Java docs (downloaded separately).
[I'm not interested in the documentation, but in the design-rationales. This is more out of curisity.]
> As I said before, is hard to tech Java in some kind of mail lists (as > either in NetBeans mail lists)... > > First step you should do, to do what you want, is learn Java (not only > language, but plataform too). Second is learn tools and libraries. Third > step is try to contribute to the projects.
You should know this already: your suggestions subjecting "the process of learning java" and "the process of contributing to projects" did not have any relevance for me. - If you like to assist me, please focus on the questions I raise and avoid off-topic comments. .
Edson Carlos Ericksson Richter 1101230288Tue, 23 Nov 2004 17:18:08 +0000 (UTC)
You raised an off topic question when you asked "why not java -cp 
.;lib\*". It denotes completelly lack of important knowledge about Java 
plataform, absolutelly needed to work with OJB or ANY java library.

My answer isn't off topic. You asked, I answered. But as always, when 
you receive and email suggesting you learn Java, you start to "defend 
yourself", and to say that learn Java is irrelevant. It isn't.

As I said before (and I said in NetBeans mail list too), you MUST start 
learning Java. After that, you could use tools for Java development, and 
libraryies to do that. Until there, anything else you say is irrelevant 
to me.

You make too much noise without knowing what you are doing. Sometime you 
shot the target, but it's just lucky. Learn Java. After that, you will 
find that OJB is too easy to work!

And you should be interested in Java documentation. Without them, you 
could not startup anything in Java land.


Edson Richter
Ilias Lazaridis escreveu: > Edson Carlos Ericksson Richter wrote: > >> Check "Java Tools documentation" in Java docs (downloaded separately). > > > [I'm not interested in the documentation, but in the > design-rationales. This is more out of curisity.] > >> As I said before, is hard to tech Java in some kind of mail lists (as >> either in NetBeans mail lists)... >> >> First step you should do, to do what you want, is learn Java (not >> only language, but plataform too). Second is learn tools and >> libraries. Third step is try to contribute to the projects. > > > You should know this already: > > your suggestions subjecting "the process of learning java" and "the > process of contributing to projects" did not have any relevance for me. > > - > > If you like to assist me, please focus on the questions I raise and > avoid off-topic comments. > > . >
Ilias Lazaridis 1101232833Tue, 23 Nov 2004 18:00:33 +0000 (UTC)
Edson Carlos Ericksson Richter wrote: > Ilias Lazaridis escreveu:
> Ilias Lazaridis escreveu: [...] >>> First step you should do, to do what you want, is learn Java (not >>> only language, but plataform too). Second is learn tools and >>> libraries. Third step is try to contribute to the projects. >> >> You should know this already: >> >> your suggestions subjecting "the process of learning java" and "the >> process of contributing to projects" did not have any relevance for me. >> >> - >> >> If you like to assist me, please focus on the questions I raise and >> avoid off-topic comments. > You raised an off topic question when you asked "why not java -cp > .;lib\*". It denotes completelly lack of important knowledge about > Java plataform, absolutelly needed to work with OJB or ANY java > library. > > My answer isn't off topic. You asked, I answered. But as always, when > you receive and email suggesting you learn Java, you start to "defend > yourself", and to say that learn Java is irrelevant. It isn't. > > As I said before (and I said in NetBeans mail list too), you MUST > start learning Java. After that, you could use tools for Java > development, and libraryies to do that. Until there, anything else > you say is irrelevant to me. > > You make too much noise without knowing what you are doing. Sometime > you shot the target, but it's just lucky. Learn Java. After that, you > will find that OJB is too easy to work! > > And you should be interested in Java documentation. Without them, you > could not startup anything in Java land.
[...] I'm afraid you repeat yourself. .
Daniel Perry 1101230414Tue, 23 Nov 2004 17:20:14 +0000 (UTC)
> Edson Carlos Ericksson Richter wrote: > > Check "Java Tools documentation" in Java docs (downloaded separately). > > [I'm not interested in the documentation, but in the design-rationales. > This is more out of curisity.]
I've often wondered if sun just got lazy :) I think it's just that its another layer of complexity in looking for classes/resources. I'm sure that many many java users would like is to specify a directory that contains JARs that should be searched. In fact it is pretty straight forward to write a classloader that searches all the jars in a directory. The only one problem i came up with is precedence. Take an example classpath: classes\;lib\a.jar;lib\b.jar This tells it to look in classes folder, then a.jar, then b.jar. This might seem insignificant, but it can make a real difference if a.jar and b.jar have two versions of the same file.
> > > As I said before, is hard to tech Java in some kind of mail lists (as > > either in NetBeans mail lists)... > > > > First step you should do, to do what you want, is learn Java (not only > > language, but plataform too). Second is learn tools and > libraries. Third > > step is try to contribute to the projects. > > You should know this already: > > your suggestions subjecting "the process of learning java" and "the > process of contributing to projects" did not have any relevance for me. >
Knowing the basics of java, ant, etc will certainly help you in developing these kind of projects, and help you to keep questions on this list OJB specific!
Ilias Lazaridis 1101231663Tue, 23 Nov 2004 17:41:03 +0000 (UTC)
Daniel Perry wrote: >>Edson Carlos Ericksson Richter wrote: >> >>>Check "Java Tools documentation" in Java docs (downloaded separately). >> >>[I'm not interested in the documentation, but in the design-rationales. >>This is more out of curisity.] > > I've often wondered if sun just got lazy :)
[...] - (further explanations) I tend to agree with the laziness. [...]
>>You should know this already: >> >>your suggestions subjecting "the process of learning java" and "the >>process of contributing to projects" did not have any relevance for me. > > Knowing the basics of java, ant, etc will certainly help you in developing > these kind of projects, and help you to keep questions on this list OJB > specific!
To develope the project i like to develope, I need to have as less domain-knowledge as possible. My questions _are_ OJB user specific, affecting the tutorials and the [QUICKSTART]. As you can see within this thread, the team had some difficulties to provide me the solution. Now I know the reason! - But my main interest are of course the intros. .
Thomas Dudziak 1101233090Tue, 23 Nov 2004 18:04:50 +0000 (UTC)
Ilias Lazaridis wrote: > Daniel Perry wrote: > >>> Edson Carlos Ericksson Richter wrote: >>> >>>> Check "Java Tools documentation" in Java docs (downloaded separately). >>> >>> >>> [I'm not interested in the documentation, but in the design-rationales. >>> This is more out of curisity.] >> >> >> I've often wondered if sun just got lazy :) > > [...] - (further explanations) > > I tend to agree with the laziness. > > [...] > >>> You should know this already: >>> >>> your suggestions subjecting "the process of learning java" and "the >>> process of contributing to projects" did not have any relevance for me. >> >> >> Knowing the basics of java, ant, etc will certainly help you in >> developing >> these kind of projects, and help you to keep questions on this list OJB >> specific! > > > To develope the project i like to develope, I need to have as less > domain-knowledge as possible.
Hmm, that is a strange remark from somebody trying to develop a project. On the contrary, you should try to get *as much* domain knowledge as you can (as time and budget allow) because you need it to develop the correct system (as specified by the customer) and to do so in the correct way (i.e. technical and environmental constraints, e.g. Java, the database etc.).
> > My questions _are_ OJB user specific, affecting the tutorials and the > [QUICKSTART]. > > As you can see within this thread, the team had some difficulties to > provide me the solution. > > Now I know the reason!
Right. Hmm, lets see: OJB is a Java library / O/R mapping framework, so what you need to know *in advance* in order to use it would be Java. Likewise, OJB uses Ant for building, so you also need at least a little bit of knowledge about Ant, e.g. how to install Ant, how to invoke it. This is all basic stuff that you should be familiar with for about, I guess, 90-100% of the open-source Java stuff for developers out there. And there is no point in asking about Java or Ant on this mailing list, there are other well-known places for this (see http:://www.java.net and http://java.sun.com and http://ant.apache.org). If you're not willing to get this knowledge, then you're right, then we as the developers have difficulties to provide you the 'solution' because we cannot and will not teach you Java or Ant, you will have to do this yourself if you want to get anywhere in the Java world (as with any other computer language or environment). And please, 'requesting' stuff won't get you anywhere because it is rude. You should be polite (as everybody else on this list is), and read the docs (because that is what there are for) and ask for help if you're stuck. And if you can provide input or corrections or improvements, all the better, as we're more than willing to incorporate them into OJB. Btw, as I said I don't think that a quickstart won't get you anywhere, because it only shows that OJB works, but not how. That is what the getting-started doc and the ojb-blank is for. If you think that you can enhance the doc, great, go ahead and post whatever you have to this list. Tom
Ilias Lazaridis 1101236003Tue, 23 Nov 2004 18:53:23 +0000 (UTC)
Thomas Dudziak wrote: > Ilias Lazaridis wrote: > >> Daniel Perry wrote: >> >>>> Edson Carlos Ericksson Richter wrote: >>>> >>>>> Check "Java Tools documentation" in Java docs (downloaded separately). >>>> >>>> [I'm not interested in the documentation, but in the design-rationales. >>>> This is more out of curisity.] >>> >>> I've often wondered if sun just got lazy :) >> >> [...] - (further explanations) >> >> I tend to agree with the laziness. >> >> [...] >> >>>> You should know this already: >>>> >>>> your suggestions subjecting "the process of learning java" and "the >>>> process of contributing to projects" did not have any relevance for me. >>> >>> Knowing the basics of java, ant, etc will certainly help you in >>> developing >>> these kind of projects, and help you to keep questions on this list OJB >>> specific! >> >> To develope the project i like to develope, I need to have as less >> domain-knowledge as possible. > > Hmm, that is a strange remark from somebody trying to develop a project.
My project is a newcomer tutorial.
> On the contrary, you should try to get *as much* domain knowledge as you > can (as time and budget allow) because you need it to develop the > correct system (as specified by the customer) and to do so in the > correct way (i.e. technical and environmental constraints, e.g. Java, > the database etc.).
I want to develope an ojb-intro, which is usable by total newcomers. [INTRO01] - I01 - Simple Java Class - Need the quickstart application ! http://www.mail-archive.com/ojb-user%40db.apa... This way necomers, which are attracted by a main-page which is similar to the suggested one... [SUGGESTION] - S01 - Website.MainPage & QuickStarts http://www.mail-archive.com/ojb-user%40db.apa... are not disapointed.
>> My questions _are_ OJB user specific, affecting the tutorials and the >> [QUICKSTART]. >> >> As you can see within this thread, the team had some difficulties to >> provide me the solution. >> >> Now I know the reason! > > Right. Hmm, lets see: OJB is a Java library / O/R mapping framework, so > what you need to know *in advance* in order to use it would be Java. > Likewise, OJB uses Ant for building, so you also need at least a little > bit of knowledge about Ant, e.g. how to install Ant, how to invoke it.
This is only true, if the ojb-developers fail to encapsulate the domain knowledge.
> This is all basic stuff that you should be familiar with for about, I > guess, 90-100% of the open-source Java stuff for developers out there. > And there is no point in asking about Java or Ant on this mailing list, > there are other well-known places for this (see http:://www.java.net and > http://java.sun.com and http://ant.apache.org).
So, why the OJB-team has not asked there, when I raised the question about _ojb's_ ant scripts. At one point, i've asked the list: "should i ask on the ant list"?
> If you're not willing to get this knowledge, then you're right, then we > as the developers have difficulties to provide you the 'solution' > because we cannot and will not teach you Java or Ant, you will have to > do this yourself if you want to get anywhere in the Java world (as with > any other computer language or environment).
We are talking about a "run" and a "deploy" abstraction. Which you have finally created, but not posted to the threads where i've asked for it.
> And please, 'requesting' stuff won't get you anywhere because it is > rude.
"Requesting" is not rude. RFC = Request For Comments. - I'm afraid you're confusing "requesting" with "demanding". "Requesting": means in German: Bitten, Anfragen.
> You should be polite (as everybody else on this list is), and read > the docs (because that is what there are for) and ask for help if you're > stuck. And if you can provide input or corrections or improvements, all > the better, as we're more than willing to incorporate them into OJB.
I don't think that the people on this list (especially you) are very polite. Otherwise you would not hide changes, which were initiated by an individual (me) behind necessary domain-knowledge (CVS acess). You wrote this large message here, but you've still not posted the corrections to the list, thus the thread becomes usable in the archives (and i get my solution).
> Btw, as I said I don't think that a quickstart won't get you anywhere, > because it only shows that OJB works, but not how. That is what the > getting-started doc and the ojb-blank is for. If you think that you can > enhance the doc, great, go ahead and post whatever you have to this list.
As said again: I depend on a minimum assistance from the developers. But it seems that stubberness and egoism rules in this project. .
Christian Pesch 1101238109Tue, 23 Nov 2004 19:28:29 +0000 (UTC)
Ilias Lazaridis wrote: > [..] > But it seems that stubberness and egoism rules in this project.
Please stop insulting the people that have shown significant patience in explaining you the simple truth. There are other ojb users, which might really need their help.
Ilias Lazaridis 1101238660Tue, 23 Nov 2004 19:37:40 +0000 (UTC)
Christian Pesch wrote: > Ilias Lazaridis wrote: > >> [..] >> But it seems that stubberness and egoism rules in this project. > > Please stop insulting the people that have shown significant patience > in explaining you the simple truth.
You are late, things have already cooled down. Egoism and Stuborness are human characteristics. No need to feel insulted. I am sure the everyone has understood the tenor of my message. > There are other ojb users, which might really need their help. I (and other future newcomers) need the help. Really. .
Łukasz Korzybski 1101240644Tue, 23 Nov 2004 20:10:44 +0000 (UTC)
Dnia wtorek, 23 listopada 2004 19:30, Ilias Lazaridis napisał:

Unbelievable
Ilias Lazaridis 1101242492Tue, 23 Nov 2004 20:41:32 +0000 (UTC)
Łukasz Korzybski wrote: > Dnia wtorek, 23 listopada 2004 19:30, Ilias Lazaridis napisał: > > Unbelievable
yes, I agree. The thread has become unbelievable big - and i've still not an ojb-blank (whilst using only the ojb website). can you please get the new ojb-blank from the cvs and mail post it? .
Thomas Dudziak 1101242868Tue, 23 Nov 2004 20:47:48 +0000 (UTC)
Ilias Lazaridis wrote: >> Right. Hmm, lets see: OJB is a Java library / O/R mapping framework, >> so what you need to know *in advance* in order to use it would be >> Java. Likewise, OJB uses Ant for building, so you also need at least a >> little bit of knowledge about Ant, e.g. how to install Ant, how to >> invoke it. > > This is only true, if the ojb-developers fail to encapsulate the domain > knowledge.
No, OJB helps you with some of the technical knowledge (i.e. databases) but not with domain knowledge (e.g. finance, e-shop ...). And OJB does
not away with all technical knowledge. You're still required to be able to program in Java, use Ant etc. (as I've already written). >> If you're not willing to get this knowledge, then you're right, then >> we as the developers have difficulties to provide you the 'solution' >> because we cannot and will not teach you Java or Ant, you will have to >> do this yourself if you want to get anywhere in the Java world (as >> with any other computer language or environment). > > We are talking about a "run" and a "deploy" abstraction. > > Which you have finally created, but not posted to the threads where i've > asked for it.
In case you forgot: Jakob created this run 'abstraction' for you days ago, but you kept demanding something better or other. All I did was make the generation of these run.bat and run.sh files automatic within ojb-blank, as you could have known when you had actually read my mail and would have bothered to check out the changes (btw, the dev-mailing archive is easily accessible from the OJB homepage, all info about the change are there). So please stop this accusing.
>> And please, 'requesting' stuff won't get you anywhere because it is rude. > > > "Requesting" is not rude. > > RFC = Request For Comments. > > - > > I'm afraid you're confusing "requesting" with "demanding". > > "Requesting": means in German: Bitten, Anfragen.
Thanks, but I know the difference. Rather, I think you mistake demanding for requesting, judging from the tone in your mails.
>> You should be polite (as everybody else on this list is), and read the >> docs (because that is what there are for) and ask for help if you're >> stuck. And if you can provide input or corrections or improvements, >> all the better, as we're more than willing to incorporate them into OJB. > > > I don't think that the people on this list (especially you) are very > polite. > > Otherwise you would not hide changes, which were initiated by an > individual (me) behind necessary domain-knowledge (CVS acess). > > You wrote this large message here, but you've still not posted the > corrections to the list, thus the thread becomes usable in the archives > (and i get my solution). > >> Btw, as I said I don't think that a quickstart won't get you anywhere, >> because it only shows that OJB works, but not how. That is what the >> getting-started doc and the ojb-blank is for. If you think that you >> can enhance the doc, great, go ahead and post whatever you have to >> this list. > > > As said again: I depend on a minimum assistance from the developers. > > But it seems that stubberness and egoism rules in this project.
And we are unpolite? Come on, in every answer that you've got to your not exactly polite mails, you've got constructive and polite help from users and developers of OJB, and you still keep on insulting people although you cannot base your accusations with any facts ? (and from what I gather from another mail in this thread, this is not the first time that this has happened ?) No one hides anything here (remember that this is an open source project ?), but rather you seem to refuse to use the help that you've been given already. How are we supposed to help, then ? I would like to politely ask you to stop accusing people and actually use the help that the people on this list gave you (read the docs and mails, follow the pointers, etc.), so that you and we can start getting work done again. Tom PS: I will send you the ojb-blank.jar directly, as this is not possible within the mailing list (list restrictions). Be aware though, that it a hefty 4.5 MB download.
Ilias Lazaridis 1101244648Tue, 23 Nov 2004 21:17:28 +0000 (UTC)
Thomas Dudziak wrote: > Ilias Lazaridis wrote: > >>> Right. Hmm, lets see: OJB is a Java library / O/R mapping framework, >>> so what you need to know *in advance* in order to use it would be >>> Java. Likewise, OJB uses Ant for building, so you also need at least >>> a little bit of knowledge about Ant, e.g. how to install Ant, how to >>> invoke it. >> >> This is only true, if the ojb-developers fail to encapsulate the >> domain knowledge. > > No, OJB helps you with some of the technical knowledge (i.e. databases) > but not with domain knowledge (e.g. finance, e-shop ...). And OJB does > not away with all technical knowledge. You're still required to be able > to program in Java, use Ant etc. (as I've already written).
Context of my statement (as the context of this thread): the quickstart application (ojb-blank, with e.g. tutorial1 within) This should be runable withount _any_ domain-knowledge (except: Operating System Basics). If a team did not achieve that, then I name it: failure.
>>> If you're not willing to get this knowledge, then you're right, then >>> we as the developers have difficulties to provide you the 'solution' >>> because we cannot and will not teach you Java or Ant, you will have >>> to do this yourself if you want to get anywhere in the Java world (as >>> with any other computer language or environment). >> >> We are talking about a "run" and a "deploy" abstraction. >> >> Which you have finally created, but not posted to the threads where >> i've asked for it. > > In case you forgot: Jakob created this run 'abstraction' for you days > ago, but you kept demanding something better or other.
I did not forget. This was not for obj-blank, but for something without sources (the result of the ojb-quickstart target). [again: my context is ojb-blank with the tutorial1 sources]
> All I did was > make the generation of these run.bat and run.sh files automatic within > ojb-blank, as you could have known when you had actually read my mail > and would have bothered to check out the changes (btw, the dev-mailing > archive is easily accessible from the OJB homepage, all info about the > change are there). So please stop this accusing.
You are accusing. Me, that I am accusing. Which is false. again i remind you the context: addition/change to ojb-blank
>>> And please, 'requesting' stuff won't get you anywhere because it is >>> rude. >> >> "Requesting" is not rude. >> >> RFC = Request For Comments. >> >> - >> >> I'm afraid you're confusing "requesting" with "demanding". >> >> "Requesting": means in German: Bitten, Anfragen. > > Thanks, but I know the difference. Rather, I think you mistake demanding > for requesting, judging from the tone in your mails.
So, you don't want to apologize for saying to me that i behave "rude" based on an faulty interpretation of yours? I see.
>>> You should be polite (as everybody else on this list is), and read >>> the docs (because that is what there are for) and ask for help if >>> you're stuck. And if you can provide input or corrections or >>> improvements, all the better, as we're more than willing to >>> incorporate them into OJB. >> >> I don't think that the people on this list (especially you) are very >> polite. >> >> Otherwise you would not hide changes, which were initiated by an >> individual (me) behind necessary domain-knowledge (CVS acess). >> >> You wrote this large message here, but you've still not posted the >> corrections to the list, thus the thread becomes usable in the >> archives (and i get my solution). >> >>> Btw, as I said I don't think that a quickstart won't get you >>> anywhere, because it only shows that OJB works, but not how. That is >>> what the getting-started doc and the ojb-blank is for. If you think >>> that you can enhance the doc, great, go ahead and post whatever you >>> have to this list. >> >> As said again: I depend on a minimum assistance from the developers. >> >> But it seems that stubberness and egoism rules in this project. > > And we are unpolite?
Yes. But i've cooled down now.
> Come on, in every answer that you've got to your > not exactly polite mails, you've got constructive and polite help from > users and developers of OJB, and you still keep on insulting people > although you cannot base your accusations with any facts ?
I do not insult people. And I have stated facts. I you like, stop ignoring them.
> (and from > what I gather from another mail in this thread, this is not the first > time that this has happened ?)
You have enouth material within this group.
> No one hides anything here (remember that this is an open source project > ?), but rather you seem to refuse to use the help that you've been given > already. How are we supposed to help, then ?
I do not refuse any help. I refuse help which is given in a false context, simply as it has no relevance to me. I just request specific help, within a specific context, within a specific medium.
> I would like to politely ask you to stop accusing people and actually > use the help that the people on this list gave you (read the docs and > mails, follow the pointers, etc.), so that you and we can start getting > work done again.
I write my findings down, backuped by rationales and explanations. You are free to interprete them as accusations. But you should not accuse me.
> Tom > > PS: I will send you the ojb-blank.jar directly, as this is not possible > within the mailing list (list restrictions). Be aware though, that it a > hefty 4.5 MB download.
Thank you very much. .
Ilias Lazaridis 1101258490Wed, 24 Nov 2004 01:08:10 +0000 (UTC)
Ilias Lazaridis wrote: > Thomas Dudziak wrote:
> Thomas Dudziak wrote: [...] >> PS: I will send you the ojb-blank.jar directly, as this is not >> possible within the mailing list (list restrictions). Be aware though, >> that it a hefty 4.5 MB download. > > Thank you very much.
I was able to run tutorial1 without problems within 2 min., based on the new obj-blank. Once more, thanks very much. I can start now based on this ojb-blank. .
Edson Carlos Ericksson Richter 1101293521Wed, 24 Nov 2004 10:52:01 +0000 (UTC)
Huh, you started again with this "failure" thing.
Start to learn something, or you will always be a failure.
I'm patiently seen you make same noise you made in NetBeans mail lists...
I think you want a "wizard that make all you want withou knowing 
anything about java - except that there is a language with this name - 
and get a 
full-java-system-working-with-database-and-cross-plataform-plus-setup 
cookie recipt".
If someone else seen your requirements about what you really want to do 
in the NetBeans list, will know that are impossible to meet your 
requirements (except about a hundred years ahead - where AI will came to 
machines ;-) )

I'll be happy if you start to learn, and polute less our lists...

After that, I'll happy sharing my knoledge about OJB, including how to 
run OJB inside NetBeans (that you not asked yet - but soon or later will 
ask too).


Best regards,

Richter
Ilias Lazaridis escreveu: > Thomas Dudziak wrote: > >> Ilias Lazaridis wrote: >> >>>> Right. Hmm, lets see: OJB is a Java library / O/R mapping >>>> framework, so what you need to know *in advance* in order to use it >>>> would be Java. Likewise, OJB uses Ant for building, so you also >>>> need at least a little bit of knowledge about Ant, e.g. how to >>>> install Ant, how to invoke it. >>> >>> >>> This is only true, if the ojb-developers fail to encapsulate the >>> domain knowledge. >> >> >> No, OJB helps you with some of the technical knowledge (i.e. >> databases) but not with domain knowledge (e.g. finance, e-shop ...). >> And OJB does not away with all technical knowledge. You're still >> required to be able to program in Java, use Ant etc. (as I've already >> written). > > > Context of my statement (as the context of this thread): > > the quickstart application (ojb-blank, with e.g. tutorial1 within) > > This should be runable withount _any_ domain-knowledge (except: > Operating System Basics). > > If a team did not achieve that, then I name it: failure. > >>>> If you're not willing to get this knowledge, then you're right, >>>> then we as the developers have difficulties to provide you the >>>> 'solution' because we cannot and will not teach you Java or Ant, >>>> you will have to do this yourself if you want to get anywhere in >>>> the Java world (as with any other computer language or environment). >>> >>> >>> We are talking about a "run" and a "deploy" abstraction. >>> >>> Which you have finally created, but not posted to the threads where >>> i've asked for it. >> >> >> In case you forgot: Jakob created this run 'abstraction' for you days >> ago, but you kept demanding something better or other. > > > I did not forget. > > This was not for obj-blank, but for something without sources (the > result of the ojb-quickstart target). > > [again: my context is ojb-blank with the tutorial1 sources] > >> All I did was make the generation of these run.bat and run.sh files >> automatic within ojb-blank, as you could have known when you had >> actually read my mail and would have bothered to check out the >> changes (btw, the dev-mailing archive is easily accessible from the >> OJB homepage, all info about the change are there). So please stop >> this accusing. > > > You are accusing. > > Me, that I am accusing. > > Which is false. > > again i remind you the context: addition/change to ojb-blank > >>>> And please, 'requesting' stuff won't get you anywhere because it is >>>> rude. >>> >>> >>> "Requesting" is not rude. >>> >>> RFC = Request For Comments. >>> >>> - >>> >>> I'm afraid you're confusing "requesting" with "demanding". >>> >>> "Requesting": means in German: Bitten, Anfragen. >> >> >> Thanks, but I know the difference. Rather, I think you mistake >> demanding for requesting, judging from the tone in your mails. > > > So, you don't want to apologize for saying to me that i behave "rude" > based on an faulty interpretation of yours? > > I see. > >>>> You should be polite (as everybody else on this list is), and read >>>> the docs (because that is what there are for) and ask for help if >>>> you're stuck. And if you can provide input or corrections or >>>> improvements, all the better, as we're more than willing to >>>> incorporate them into OJB. >>> >>> >>> I don't think that the people on this list (especially you) are very >>> polite. >>> >>> Otherwise you would not hide changes, which were initiated by an >>> individual (me) behind necessary domain-knowledge (CVS acess). >>> >>> You wrote this large message here, but you've still not posted the >>> corrections to the list, thus the thread becomes usable in the >>> archives (and i get my solution). >>> >>>> Btw, as I said I don't think that a quickstart won't get you >>>> anywhere, because it only shows that OJB works, but not how. That >>>> is what the getting-started doc and the ojb-blank is for. If you >>>> think that you can enhance the doc, great, go ahead and post >>>> whatever you have to this list. >>> >>> >>> As said again: I depend on a minimum assistance from the developers. >>> >>> But it seems that stubberness and egoism rules in this project. >> >> >> And we are unpolite? > > > Yes. > > But i've cooled down now. > >> Come on, in every answer that you've got to your not exactly polite >> mails, you've got constructive and polite help from users and >> developers of OJB, and you still keep on insulting people although >> you cannot base your accusations with any facts ? > > > I do not insult people. > > And I have stated facts. > > I you like, stop ignoring them. > >> (and from what I gather from another mail in this thread, this is not >> the first time that this has happened ?) > > > You have enouth material within this group. > >> No one hides anything here (remember that this is an open source >> project ?), but rather you seem to refuse to use the help that you've >> been given already. How are we supposed to help, then ? > > > I do not refuse any help. > > I refuse help which is given in a false context, simply as it has no > relevance to me. > > I just request specific help, within a specific context, within a > specific medium. > >> I would like to politely ask you to stop accusing people and actually >> use the help that the people on this list gave you (read the docs and >> mails, follow the pointers, etc.), so that you and we can start >> getting work done again. > > > I write my findings down, backuped by rationales and explanations. > > You are free to interprete them as accusations. > > But you should not accuse me. > >> Tom >> >> PS: I will send you the ojb-blank.jar directly, as this is not >> possible within the mailing list (list restrictions). Be aware >> though, that it a hefty 4.5 MB download. > > > Thank you very much. > > . >
Ilias Lazaridis 1101311359Wed, 24 Nov 2004 15:49:19 +0000 (UTC)
Edson Carlos Ericksson Richter wrote: [...] - (some irrelevant comments) > I'll be happy if you start to learn, and polute less our lists...
you polute this thread with your off-topic comments. - The team has provided the requested obj-blank: http://www.mail-archive.com/ojb-user%40db.apa... So, everything is fine.
> After that, I'll happy sharing my knoledge about OJB, including how to > run OJB inside NetBeans (that you not asked yet - but soon or later will > ask too).
I am not interested in knowledge of ungentle people. Thus I am not interested in any of your knowledge. .
Daniel Perry 1101297721Wed, 24 Nov 2004 12:02:01 +0000 (UTC)
> the quickstart application (ojb-blank, with e.g. tutorial1 within) > > This should be runable withount _any_ domain-knowledge (except: > Operating System Basics). > > If a team did not achieve that, then I name it: failure.
What??? OJB is most definately NOT designed for people without any domain knowledge! What use is OJB to someone who doesn't have a decent knowledge of java? None! OJB is only used by end users when it's embedded into some larger application - and they should never know it's using OJB unless there's an ackoledgement of some kind! OJB is targetted at the developers of such applications. A java application developer with no knowledge of java is a fairly useless commodity (i can think of the number of vb/access programmers who know nothing about general programming, sql, etc - and it shows in their work!) This is like saying that you shouldnt need to have driving lessons to drive a car! Madness! I agree that a good introduction to OJB is important, but to be frank, i found the written tutorials and their uncompilled code far more useful than running them! In order to use OJB productively you MUST spend time understanding how it works. Running the tutorial doesnt do that. Your comments regarding the OJB team are very unfair. I wouldnt consider myself part of the 'team' as i do very little towards development of OJB, but i feel angry at your comments. I (and i am sure this goes for the other OJB developers) have a day job, and a life outside of work. I find it almost insulting that you insist on someone mailing you a cvs checkout after several people have pointed out how you can do this yourself, and hopefully learn somthing in the process, without us wasting time doing it for you. Daniel.
Edson Carlos Ericksson Richter 1101300160Wed, 24 Nov 2004 12:42:40 +0000 (UTC)
Unfortunatelly to behavior of Mrs. Laziradis, I fell in obligation to 
share this info in this mail list too.
I'll do this because, as occured at other mail list, communications 
starts to degrade, making too much noise for about nothing.

This info was shared from another user, in another mail list. Who is 
bored by Mr. Laziradis comments about "failures" and so on, check this link:

http://www.tfeb.org/lisp/mad-people.html

I still trying to argue with him, with reasonable arguments, and asking 
him to learn java before judge, but his always start saying that learn 
Java isn't important...

Best regads,

Edson Richter
Daniel Perry escreveu: >>the quickstart application (ojb-blank, with e.g. tutorial1 within) >> >>This should be runable withount _any_ domain-knowledge (except: >>Operating System Basics). >> >>If a team did not achieve that, then I name it: failure. >> >> > >What??? OJB is most definately NOT designed for people without any domain >knowledge! > >What use is OJB to someone who doesn't have a decent knowledge of java? >None! OJB is only used by end users when it's embedded into some larger >application - and they should never know it's using OJB unless there's an >ackoledgement of some kind! OJB is targetted at the developers of such >applications. A java application developer with no knowledge of java is a >fairly useless commodity (i can think of the number of vb/access programmers >who know nothing about general programming, sql, etc - and it shows in their >work!) This is like saying that you shouldnt need to have driving lessons >to drive a car! Madness! > >I agree that a good introduction to OJB is important, but to be frank, i >found the written tutorials and their uncompilled code far more useful than >running them! > >In order to use OJB productively you MUST spend time understanding how it >works. Running the tutorial doesnt do that. > >Your comments regarding the OJB team are very unfair. I wouldnt consider >myself part of the 'team' as i do very little towards development of OJB, >but i feel angry at your comments. > >I (and i am sure this goes for the other OJB developers) have a day job, and >a life outside of work. I find it almost insulting that you insist on >someone mailing you a cvs checkout after several people have pointed out how >you can do this yourself, and hopefully learn somthing in the process, >without us wasting time doing it for you. > >Daniel. > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: >For additional commands, e-mail: > > > > >
Ilias Lazaridis 1101312274Wed, 24 Nov 2004 16:04:34 +0000 (UTC)
Edson Carlos Ericksson Richter wrote: > Unfortunatelly to behavior of Mrs. Laziradis, I fell in obligation to > share this info in this mail list too. > I'll do this because, as occured at other mail list, communications > starts to degrade, making too much noise for about nothing. > > This info was shared from another user, in another mail list. Who is > bored by Mr. Laziradis comments about "failures" and so on, check this > link: > > http://www.tfeb.org/lisp/mad-people.html > > I still trying to argue with him, with reasonable arguments, and asking > him to learn java before judge, but his always start saying that learn > Java isn't important...
Once more: your suggestions related to my processing model are irrelevant to me. More and more, any of your suggestions becom irrelevant to me. - You have 'warned' this communtiy, so it's fine. Please avoid further off-topic traffic, or open at least a new thread marked with "[OT]". - The team has provided the requested obj-blank: http://www.mail-archive.com/ojb-user%40db.apa... So, everything is fine. .
Jakob Braeuchi 1101313544Wed, 24 Nov 2004 16:25:44 +0000 (UTC)
hi all,

i think it's time to stop this thread.

jakob
Ilias Lazaridis schrieb: > Edson Carlos Ericksson Richter wrote: > >> Unfortunatelly to behavior of Mrs. Laziradis, I fell in obligation to >> share this info in this mail list too. >> I'll do this because, as occured at other mail list, communications >> starts to degrade, making too much noise for about nothing. >> >> This info was shared from another user, in another mail list. Who is >> bored by Mr. Laziradis comments about "failures" and so on, check this >> link: >> >> http://www.tfeb.org/lisp/mad-people.html >> >> I still trying to argue with him, with reasonable arguments, and >> asking him to learn java before judge, but his always start saying >> that learn Java isn't important... > > > Once more: your suggestions related to my processing model are > irrelevant to me. > > More and more, any of your suggestions becom irrelevant to me. > > - > > You have 'warned' this communtiy, so it's fine. > > Please avoid further off-topic traffic, or open at least a new thread > marked with "[OT]". > > - > > The team has provided the requested obj-blank: > > http://www.mail-archive.com/ojb-user%40db.apa... > > So, everything is fine. > > . >
Edson Carlos Ericksson Richter 1101314374Wed, 24 Nov 2004 16:39:34 +0000 (UTC)
I'm sorry, I sent additional response before read your ask.
I'm stoping right now.

Best regards,

Edson Richter
Jakob Braeuchi escreveu: > hi all, > > i think it's time to stop this thread. > > jakob >
Ilias Lazaridis 1101320487Wed, 24 Nov 2004 18:21:27 +0000 (UTC)
Jakob Braeuchi wrote: [moved down] > > Ilias Lazaridis schrieb: > >> Edson Carlos Ericksson Richter wrote: >> >>> Unfortunatelly to behavior of Mrs. Laziradis, I fell in obligation to >>> share this info in this mail list too.
[...] >>> http://www.tfeb.org/lisp/mad-people.html [...] [...]
>> You have 'warned' this communtiy, so it's fine. >> >> Please avoid further off-topic traffic, or open at least a new thread >> marked with "[OT]". >> >> - >> >> The team has provided the requested obj-blank: >> >> http://www.mail-archive.com/ojb-user%40db.apa... >> >> So, everything is fine. > > hi all, > > i think it's time to stop this thread. > > jakob
of course. .
Edson Carlos Ericksson Richter 1101314291Wed, 24 Nov 2004 16:38:11 +0000 (UTC)
Ok, my patience is over limit. I was contrary to your baniment from 
NetBeans maillists. I defended you right to express your self. I've 
tried to help you with usefull information. Right now, I'll recommend 
every mail list where I find you to ban you. It's incredible your 
capacity to be "unglentle" with people trying to help with usefull 
information.

Dozen of people (including myself) made research, analized, and spent 
time to respond you, to you say it's irrelevant or it's a failure.

Look yourself in a mirror, and thing again. You is a "walking failure", 
going from maillist to maillist, getting people hungry against you.

Be happy ignoring usefull things I said. And NEVER tell me what I can or 
can't post as response to the thread. AFAIK my comments about learn Java 
it very topic-related - since your question is very basic about how 
java.exe works. This maillist isn't to teach Java. If you don't like it, 
ignore it. It's your problem.

Just to let you know, I'm a regular member of this list, and NEVER was 
told ungentle with nobody. At contrary, I spent some hours discussing 
things and how to get it working, and contributing code to the project, 
and sharing experiences with begginers.

Best regards,

Edson Richter
Ilias Lazaridis escreveu: > Edson Carlos Ericksson Richter wrote: > >> Unfortunatelly to behavior of Mrs. Laziradis, I fell in obligation to >> share this info in this mail list too. >> I'll do this because, as occured at other mail list, communications >> starts to degrade, making too much noise for about nothing. >> >> This info was shared from another user, in another mail list. Who is >> bored by Mr. Laziradis comments about "failures" and so on, check >> this link: >> >> http://www.tfeb.org/lisp/mad-people.html >> >> I still trying to argue with him, with reasonable arguments, and >> asking him to learn java before judge, but his always start saying >> that learn Java isn't important... > > > Once more: your suggestions related to my processing model are > irrelevant to me. > > More and more, any of your suggestions becom irrelevant to me. > > - > > You have 'warned' this communtiy, so it's fine. > > Please avoid further off-topic traffic, or open at least a new thread > marked with "[OT]". > > - > > The team has provided the requested obj-blank: > > http://www.mail-archive.com/ojb-user%40db.apa... > > So, everything is fine. > > . >
Ilias Lazaridis 1101320066Wed, 24 Nov 2004 18:14:26 +0000 (UTC)
Edson Carlos Ericksson Richter wrote: > Ilias Lazaridis escreveu: >> Please avoid further off-topic traffic, or open at least a new thread >> marked with "[OT]".
[...] > And NEVER tell me what I can or can't post as response to the thread. [...] [OT]Sorry to the community http://www.mail-archive.com/ojb-user%40db.apa... Thank you very much.
>> The team has provided the requested obj-blank: >> >> http://www.mail-archive.com/ojb-user%40db.apa... >> >> So, everything is fine.
.
Ilias Lazaridis 1101310706Wed, 24 Nov 2004 15:38:26 +0000 (UTC)
Daniel Perry wrote: >>the quickstart application (ojb-blank, with e.g. tutorial1 within) >> >>This should be runable withount _any_ domain-knowledge (except: >>Operating System Basics).
=> "given context of this thread".
>>If a team did not achieve that, then I name it: failure. > > What??? OJB is most definately NOT designed for people without any domain > knowledge!
[...] - (some comments which do not affect the given context) Please decouple with precision. I'm not talking about "OJB" but about "OJB in the above "given context of this thread". - The team has provided the requested obj-blank: http://www.mail-archive.com/ojb-user%40db.apa... So, everything is fine. .
Ilias Lazaridis 1100781120Thu, 18 Nov 2004 12:32:00 +0000 (UTC)
Thomas Dudziak wrote: > Ilias Lazaridis wrote: > >>>> Is there any OJB quick-start download available? >>>> >>>> - binaries >>>> - ready to go configuration >>>> - sample application with integrated database >>> >>> Yupp, there something of that sort. You can download the
[...] >>> http://db.apache.org/ojb/docu/getting-started... [...]
>> Many documentation, many manual steps. > > Actually there are only few steps.
[...]
> If you > just want to run something, then drop in the source files and do > > ant build > ant setup-db > cd build/resources > java -classpath "the;classpath" whatever.you.main.class.is
Some additional ant-targets would make the tutorials simpler: - "run" (running the app) - "run-jar" (runs the jar which is created by ant-target "jar") - "full-jar" (creates a jar including the relevant runtime-libs) - "run-full-jar" (runs the jar created by target "full-jar") - Some relevant information is within this thread, but I depend on the answers/contribution to complete them. At this point, I cannot look deeper into "ant". - A tutorial with those additional targets would run within the command-line and within a NetBeans 4.0 free-form project (very easy teach-in due to the IDE view of all the files). .
Ad
Home | About | Privacy