You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by "Henning P. Schmiedehausen" <hp...@intermeta.de> on 2003/07/25 00:05:19 UTC

Building Turbine with Eclipse

Are you brave? Are you willing to live on the edge? Willing to try out
a highly experimental to build Turbine with Eclipse? If yes, read on...

1) Get Eclipse. I did all my tests with Eclipse 2.1.1 on RedHat Linux 9
   and J2SDK 1.4.1_02. YMMV. Install it.

2) Fetch the Turbine Source Tree

   cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout jakarta-turbine-2

3) Fetch the Eclipse Build enviroment from 

   http://jakarta.apache.org/~henning/turbine/turbine-eclipse.tar.gz

4) Unpack it into the Turbine Source tree:

   cd jakarta-turbine-2 ; tar xzf turbine-eclipse.tar.gz

5) Start Eclipse. Select "File -> Import".
   Choose "Existing Project into Workspace"
   Browse to the checked out directory. Select it.
   
   You should now have

    Project Name: jakarta-turbine-2

    Project Contents: ..../jakarta-turbine-2/

   Choose "Finish"

6) Now you should have the jakarta-turbine-2 Tree in Eclipse with lots of
   errors. That's ok. Choose "Rebuild Project"

7) You should get "Build Problems" with "Problems occured building the 
   selected resources". This is expected! Open the Details. It should display

      --- cut ---
      For a successful build, you must get the following jars from java.sun.com
      and copy them into target/lib:

      activation.jar, Version 1.0.2  as activation-1.0.2.jar
      mail.jar, Version 1.3 as javamail-1.3.jar
      jdbc.jar, Version 2.0 as jdbc-2.0.jar
      jndi.jar, Version 1.2.1 as jndi-1.2.1.jar

      One of these jars is missing. Please correct this error and
      rebuild.
      --- cut ---

8) Get the jars from java.sun.com and put them into the target/lib directory
   in your jakarta-turbine-2 directory.

9) Choose "Rebuild Project" again. This should run now for a while and
   the console should show the ant task fetching all the public jars
   from ibiblio. After a while, the build process should start and 
   be successful (with quite a number of deprecation warnings depending
   on your default compiler settings).

10) If the rebuild still fails because of "missing jars", then Eclipse hasn't 
    picked up the ant-fetched jars yet. Simply open 
    "jakarta-turbine-2/target" in the tree view and select "Refresh" from
    the content menu on the target folder. This should kick the compilation
    immediately. The tree view should now show all the jars required for
    building Turbine.

Have fun. This wants testing. If it works for Eclipse users, we might
add this as an alternative way of building Turbine. Until then, consider
this highly experimental (I'm not exactly a seasoned Eclipse user ;-) )

	Regards
		Henning

    

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire

"You are being far too rational for this discussion."  
       --- Scott Robert Ladd in <3F...@coyotegulch.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: Building Turbine with Eclipse

Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
"Rodrigo Reyes" <ro...@instaservi.com> writes:

>Henning
>    BTW, where is ${torque.schema.dir}being defined? Seems like it isn't
>being defined, since I get a new directory named ${torque.schema.dir}in my
>project. Also, a new target which cleans the target/src dir was created just
>in case there were any previous build tries which left old files around.

Hi,

thanks for testing out. I will look into this tonight.

	Regards
		Henning

[...]

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire

"You are being far too rational for this discussion."  
       --- Scott Robert Ladd in <3F...@coyotegulch.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: Building Turbine with Eclipse

Posted by Rodrigo Reyes <ro...@instaservi.com>.
Henning
    BTW, where is ${torque.schema.dir}being defined? Seems like it isn't
being defined, since I get a new directory named ${torque.schema.dir}in my
project. Also, a new target which cleans the target/src dir was created just
in case there were any previous build tries which left old files around.

Rodrigo

----- Original Message ----- 
From: "Rodrigo Reyes" <ro...@instaservi.com>
To: "Turbine Developers List" <tu...@jakarta.apache.org>
Sent: Thursday, July 24, 2003 6:54 PM
Subject: Re: Building Turbine with Eclipse


> Henning
>     Nevermind. Got it working. Seems like JobEntry.java was not
downloaded.
> It works now on my computer. Thanx...
>
> Rodrigo
>
> ----- Original Message ----- 
> From: "Rodrigo Reyes" <ro...@instaservi.com>
> To: "Turbine Developers List" <tu...@jakarta.apache.org>;
> <hp...@intermeta.de>
> Sent: Thursday, July 24, 2003 6:27 PM
> Subject: Re: Building Turbine with Eclipse
>
>
> > Henning
> >     Well, I am not exactly brave, but I would really like to contribute
to
> > Turbine. Still, I have had some serious trouble with Maven (I haven't
been
> > able to build successfully not even once), so I gave this a try.
> >     Once the jars where all downloaded, I tried rebuilding the project.
> This
> > was the output.
> >
> > Buildfile:
C:\eclipse\workspace\jakarta-turbine-2\build\eclipse\build.xml
> > fetch-jars:
> > check-sun-jars:
> > fetch-sun-jars:
> > fetch-ibiblio-jars:
> > [get] Getting:
> >
>
http://www.ibiblio.org/maven/avalon-framework/jars/avalon-framework-4.1.4.jar
> > [get] local file date : Mon Mar 24 10:23:44 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting:
> >
>
http://www.ibiblio.org/maven/commons-beanutils/jars/commons-beanutils-1.6.1.jar
> > [get] local file date : Sun Mar 02 07:56:08 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting:
> > http://www.ibiblio.org/maven/commons-codec/jars/commons-codec-1.1.jar
> > [get] local file date : Fri Jun 06 18:27:52 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting:
> >
>
http://www.ibiblio.org/maven/commons-collections/jars/commons-collections-2.1.jar
> > [get] local file date : Wed Nov 13 10:11:24 GMT-05:00 2002
> > [get] Not modified - so not downloaded
> > [get] Getting:
> >
>
http://www.ibiblio.org/maven/commons-configuration/jars/commons-configuration-20030706.202021.jar
> > [get] local file date : Sun Jul 06 13:20:28 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting:
> >
>
http://www.ibiblio.org/maven/commons-digester/jars/commons-digester-1.5.jar
> > [get] local file date : Fri May 09 18:21:32 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting:
> >
>
http://www.ibiblio.org/maven/commons-email/jars/commons-email-20030310.165926.jar
> > [get] local file date : Tue Mar 11 18:32:30 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting:
> >
>
http://www.ibiblio.org/maven/commons-fileupload/jars/commons-fileupload-1.0.jar
> > [get] local file date : Thu Jun 26 13:54:36 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting:
> > http://www.ibiblio.org/maven/commons-lang/jars/commons-lang-1.0.1.jar
> > [get] local file date : Mon Dec 09 10:18:56 GMT-05:00 2002
> > [get] Not modified - so not downloaded
> > [get] Getting:
> >
>
http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.3.jar
> > [get] local file date : Mon Apr 07 02:39:18 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting:
> > http://www.ibiblio.org/maven/commons-pool/jars/commons-pool-1.0.1.jar
> > [get] local file date : Wed Feb 05 18:44:40 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting:
http://www.ibiblio.org/maven/cryptix/jars/cryptix-3.2.0.jar
> > [get] local file date : Wed Aug 14 18:16:38 GMT-05:00 2002
> > [get] Not modified - so not downloaded
> > [get] Getting: http://www.ibiblio.org/maven/dom4j/jars/dom4j-1.4.jar
> > [get] local file date : Mon Apr 07 16:36:00 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting: http://www.ibiblio.org/maven/ecs/jars/ecs-1.4.2.jar
> > [get] local file date : Mon Jul 14 11:41:54 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting:
> >
>
http://www.ibiblio.org/maven/excalibur-component/jars/excalibur-component-1.1.jar
> > [get] local file date : Mon Mar 24 10:25:56 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting:
> >
>
http://www.ibiblio.org/maven/excalibur-instrument/jars/excalibur-instrument-1.0.jar
> > [get] local file date : Mon Mar 24 10:26:36 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting:
> >
>
http://www.ibiblio.org/maven/excalibur-logger/jars/excalibur-logger-1.0.1.jar
> > [get] local file date : Mon Mar 24 10:27:22 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting:
> > http://www.ibiblio.org/maven/excalibur-pool/jars/excalibur-pool-1.2.jar
> > [get] local file date : Mon Mar 24 10:28:54 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting: http://www.ibiblio.org/maven/jython/jars/jython-2.1.jar
> > [get] local file date : Mon Jul 08 19:36:10 GMT-05:00 2002
> > [get] Not modified - so not downloaded
> > [get] Getting: http://www.ibiblio.org/maven/log4j/jars/log4j-1.2.8.jar
> > [get] local file date : Tue May 27 18:47:16 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting: http://www.ibiblio.org/maven/logkit/jars/logkit-1.0.1.jar
> > [get] local file date : Mon Jul 08 19:36:12 GMT-05:00 2002
> > [get] Not modified - so not downloaded
> > [get] Getting: http://www.ibiblio.org/maven/oro/jars/oro-2.0.7.jar
> > [get] local file date : Mon Jan 27 22:10:32 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting:
> > http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar
> > [get] local file date : Mon Jul 08 19:36:14 GMT-05:00 2002
> > [get] Not modified - so not downloaded
> > [get] Getting:
> http://www.ibiblio.org/maven/stratum/jars/stratum-1.0-b3.jar
> > [get] local file date : Tue Aug 27 13:54:16 GMT-05:00 2002
> > [get] Not modified - so not downloaded
> > [get] Getting:
> > http://www.ibiblio.org/maven/torque/jars/torque-3.1-alpha2.jar
> > [get] local file date : Sun Jun 29 10:43:42 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting:
> > http://www.ibiblio.org/maven/torque/jars/torque-gen-3.1-alpha2.jar
> > [get] local file date : Sun Jun 29 10:41:30 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting:
> http://www.ibiblio.org/maven/velocity/jars/velocity-1.3.1.jar
> > [get] local file date : Wed May 14 03:03:08 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting:
> > http://www.ibiblio.org/maven/village/jars/village-2.0-dev-20030625.jar
> > [get] local file date : Wed Jun 25 12:54:54 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting: http://www.ibiblio.org/maven/xalan/jars/xalan-2.5.1.jar
> > [get] local file date : Fri Jun 06 18:16:20 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting:
> http://www.ibiblio.org/maven/xerces/jars/xercesImpl-2.4.0.jar
> > [get] local file date : Fri Jun 06 18:23:28 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > [get] Getting:
> > http://www.ibiblio.org/maven/xml-apis/jars/xml-apis-1.0.b2.jar
> > [get] local file date : Sun Dec 01 17:41:10 GMT-05:00 2002
> > [get] Not modified - so not downloaded
> > [get] Getting:
http://www.ibiblio.org/maven/xmlrpc/jars/xmlrpc-1.2-b1.jar
> > [get] local file date : Mon Jul 07 20:49:24 GMT-05:00 2003
> > [get] Not modified - so not downloaded
> > torque-init:
> > peers:
> > copy-scheduler-om:
> > copy-torque-security-om:
> > copy-id-table-om:
> > copy-om:
> > copy-scheduler-om:
> > scheduler-om:
> > [torque-data-model] Using contextProperties file:
> > C:\eclipse\workspace\jakarta-turbine-2\project.properties
> > [torque-data-model] Using classpath
> > [torque-data-model] Generating to file
> >
>
C:\eclipse\workspace\jakarta-turbine-2\target\src\report.scheduler.om.genera
> > tion
> > [torque-data-model] log4j:WARN No appenders could be found for logger
> > (org.apache.torque.engine.database.transform.XmlToAppData).
> > [torque-data-model] log4j:WARN Please initialize the log4j system
> properly.
> > copy-torque-security-om:
> > torque-security-om:
> > [torque-data-model] Using contextProperties file:
> > C:\eclipse\workspace\jakarta-turbine-2\project.properties
> > [torque-data-model] Using classpath
> > [torque-data-model] Generating to file
> >
>
C:\eclipse\workspace\jakarta-turbine-2\target\src\report.torque-security.om.
> > generation
> > [delete] Deleting:
> >
>
C:\eclipse\workspace\jakarta-turbine-2\target\src\org\apache\turbine\service
> > s\schedule\JobEntry.java
> > prepare-turbine:
> > BUILD SUCCESSFUL
> > Total time: 28 seconds
> >
> >     Still, the Task window reports 387 errors. Any idea what could be
> > happening? I am working on WinXP, Eclipse 2.1.0 and Java 1.4.1_01.
> >
> > Rodrigo
> >
> > ----- Original Message ----- 
> > From: "Henning P. Schmiedehausen" <hp...@intermeta.de>
> > Newsgroups: hometree.jakarta.turbine.dev
> > To: <tu...@jakarta.apache.org>
> > Sent: Thursday, July 24, 2003 5:05 PM
> > Subject: Building Turbine with Eclipse
> >
> >
> > > Are you brave? Are you willing to live on the edge? Willing to try out
> > > a highly experimental to build Turbine with Eclipse? If yes, read
on...
> > >
> > > 1) Get Eclipse. I did all my tests with Eclipse 2.1.1 on RedHat Linux
9
> > >    and J2SDK 1.4.1_02. YMMV. Install it.
> > >
> > > 2) Fetch the Turbine Source Tree
> > >
> > >    cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout
> > jakarta-turbine-2
> > >
> > > 3) Fetch the Eclipse Build enviroment from
> > >
> > >    http://jakarta.apache.org/~henning/turbine/turbine-eclipse.tar.gz
> > >
> > > 4) Unpack it into the Turbine Source tree:
> > >
> > >    cd jakarta-turbine-2 ; tar xzf turbine-eclipse.tar.gz
> > >
> > > 5) Start Eclipse. Select "File -> Import".
> > >    Choose "Existing Project into Workspace"
> > >    Browse to the checked out directory. Select it.
> > >
> > >    You should now have
> > >
> > >     Project Name: jakarta-turbine-2
> > >
> > >     Project Contents: ..../jakarta-turbine-2/
> > >
> > >    Choose "Finish"
> > >
> > > 6) Now you should have the jakarta-turbine-2 Tree in Eclipse with lots
> of
> > >    errors. That's ok. Choose "Rebuild Project"
> > >
> > > 7) You should get "Build Problems" with "Problems occured building the
> > >    selected resources". This is expected! Open the Details. It should
> > display
> > >
> > >       --- cut ---
> > >       For a successful build, you must get the following jars from
> > java.sun.com
> > >       and copy them into target/lib:
> > >
> > >       activation.jar, Version 1.0.2  as activation-1.0.2.jar
> > >       mail.jar, Version 1.3 as javamail-1.3.jar
> > >       jdbc.jar, Version 2.0 as jdbc-2.0.jar
> > >       jndi.jar, Version 1.2.1 as jndi-1.2.1.jar
> > >
> > >       One of these jars is missing. Please correct this error and
> > >       rebuild.
> > >       --- cut ---
> > >
> > > 8) Get the jars from java.sun.com and put them into the target/lib
> > directory
> > >    in your jakarta-turbine-2 directory.
> > >
> > > 9) Choose "Rebuild Project" again. This should run now for a while and
> > >    the console should show the ant task fetching all the public jars
> > >    from ibiblio. After a while, the build process should start and
> > >    be successful (with quite a number of deprecation warnings
depending
> > >    on your default compiler settings).
> > >
> > > 10) If the rebuild still fails because of "missing jars", then Eclipse
> > hasn't
> > >     picked up the ant-fetched jars yet. Simply open
> > >     "jakarta-turbine-2/target" in the tree view and select "Refresh"
> from
> > >     the content menu on the target folder. This should kick the
> > compilation
> > >     immediately. The tree view should now show all the jars required
for
> > >     building Turbine.
> > >
> > > Have fun. This wants testing. If it works for Eclipse users, we might
> > > add this as an alternative way of building Turbine. Until then,
consider
> > > this highly experimental (I'm not exactly a seasoned Eclipse user
;-) )
> > >
> > > Regards
> > > Henning
> > >
> > >
> > >
> > > -- 
> > > Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> > > hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/
> > >
> > > Java, perl, Solaris, Linux, xSP Consulting, Web Services
> > > freelance consultant -- Jakarta Turbine Development  -- hero for hire
> > >
> > > "You are being far too rational for this discussion."
> > >        --- Scott Robert Ladd in <3F...@coyotegulch.com>
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: Building Turbine with Eclipse

Posted by Rodrigo Reyes <ro...@instaservi.com>.
Henning
    Nevermind. Got it working. Seems like JobEntry.java was not downloaded.
It works now on my computer. Thanx...

Rodrigo

----- Original Message ----- 
From: "Rodrigo Reyes" <ro...@instaservi.com>
To: "Turbine Developers List" <tu...@jakarta.apache.org>;
<hp...@intermeta.de>
Sent: Thursday, July 24, 2003 6:27 PM
Subject: Re: Building Turbine with Eclipse


> Henning
>     Well, I am not exactly brave, but I would really like to contribute to
> Turbine. Still, I have had some serious trouble with Maven (I haven't been
> able to build successfully not even once), so I gave this a try.
>     Once the jars where all downloaded, I tried rebuilding the project.
This
> was the output.
>
> Buildfile: C:\eclipse\workspace\jakarta-turbine-2\build\eclipse\build.xml
> fetch-jars:
> check-sun-jars:
> fetch-sun-jars:
> fetch-ibiblio-jars:
> [get] Getting:
>
http://www.ibiblio.org/maven/avalon-framework/jars/avalon-framework-4.1.4.jar
> [get] local file date : Mon Mar 24 10:23:44 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting:
>
http://www.ibiblio.org/maven/commons-beanutils/jars/commons-beanutils-1.6.1.jar
> [get] local file date : Sun Mar 02 07:56:08 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting:
> http://www.ibiblio.org/maven/commons-codec/jars/commons-codec-1.1.jar
> [get] local file date : Fri Jun 06 18:27:52 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting:
>
http://www.ibiblio.org/maven/commons-collections/jars/commons-collections-2.1.jar
> [get] local file date : Wed Nov 13 10:11:24 GMT-05:00 2002
> [get] Not modified - so not downloaded
> [get] Getting:
>
http://www.ibiblio.org/maven/commons-configuration/jars/commons-configuration-20030706.202021.jar
> [get] local file date : Sun Jul 06 13:20:28 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting:
>
http://www.ibiblio.org/maven/commons-digester/jars/commons-digester-1.5.jar
> [get] local file date : Fri May 09 18:21:32 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting:
>
http://www.ibiblio.org/maven/commons-email/jars/commons-email-20030310.165926.jar
> [get] local file date : Tue Mar 11 18:32:30 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting:
>
http://www.ibiblio.org/maven/commons-fileupload/jars/commons-fileupload-1.0.jar
> [get] local file date : Thu Jun 26 13:54:36 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting:
> http://www.ibiblio.org/maven/commons-lang/jars/commons-lang-1.0.1.jar
> [get] local file date : Mon Dec 09 10:18:56 GMT-05:00 2002
> [get] Not modified - so not downloaded
> [get] Getting:
>
http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.3.jar
> [get] local file date : Mon Apr 07 02:39:18 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting:
> http://www.ibiblio.org/maven/commons-pool/jars/commons-pool-1.0.1.jar
> [get] local file date : Wed Feb 05 18:44:40 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting: http://www.ibiblio.org/maven/cryptix/jars/cryptix-3.2.0.jar
> [get] local file date : Wed Aug 14 18:16:38 GMT-05:00 2002
> [get] Not modified - so not downloaded
> [get] Getting: http://www.ibiblio.org/maven/dom4j/jars/dom4j-1.4.jar
> [get] local file date : Mon Apr 07 16:36:00 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting: http://www.ibiblio.org/maven/ecs/jars/ecs-1.4.2.jar
> [get] local file date : Mon Jul 14 11:41:54 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting:
>
http://www.ibiblio.org/maven/excalibur-component/jars/excalibur-component-1.1.jar
> [get] local file date : Mon Mar 24 10:25:56 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting:
>
http://www.ibiblio.org/maven/excalibur-instrument/jars/excalibur-instrument-1.0.jar
> [get] local file date : Mon Mar 24 10:26:36 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting:
>
http://www.ibiblio.org/maven/excalibur-logger/jars/excalibur-logger-1.0.1.jar
> [get] local file date : Mon Mar 24 10:27:22 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting:
> http://www.ibiblio.org/maven/excalibur-pool/jars/excalibur-pool-1.2.jar
> [get] local file date : Mon Mar 24 10:28:54 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting: http://www.ibiblio.org/maven/jython/jars/jython-2.1.jar
> [get] local file date : Mon Jul 08 19:36:10 GMT-05:00 2002
> [get] Not modified - so not downloaded
> [get] Getting: http://www.ibiblio.org/maven/log4j/jars/log4j-1.2.8.jar
> [get] local file date : Tue May 27 18:47:16 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting: http://www.ibiblio.org/maven/logkit/jars/logkit-1.0.1.jar
> [get] local file date : Mon Jul 08 19:36:12 GMT-05:00 2002
> [get] Not modified - so not downloaded
> [get] Getting: http://www.ibiblio.org/maven/oro/jars/oro-2.0.7.jar
> [get] local file date : Mon Jan 27 22:10:32 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting:
> http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar
> [get] local file date : Mon Jul 08 19:36:14 GMT-05:00 2002
> [get] Not modified - so not downloaded
> [get] Getting:
http://www.ibiblio.org/maven/stratum/jars/stratum-1.0-b3.jar
> [get] local file date : Tue Aug 27 13:54:16 GMT-05:00 2002
> [get] Not modified - so not downloaded
> [get] Getting:
> http://www.ibiblio.org/maven/torque/jars/torque-3.1-alpha2.jar
> [get] local file date : Sun Jun 29 10:43:42 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting:
> http://www.ibiblio.org/maven/torque/jars/torque-gen-3.1-alpha2.jar
> [get] local file date : Sun Jun 29 10:41:30 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting:
http://www.ibiblio.org/maven/velocity/jars/velocity-1.3.1.jar
> [get] local file date : Wed May 14 03:03:08 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting:
> http://www.ibiblio.org/maven/village/jars/village-2.0-dev-20030625.jar
> [get] local file date : Wed Jun 25 12:54:54 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting: http://www.ibiblio.org/maven/xalan/jars/xalan-2.5.1.jar
> [get] local file date : Fri Jun 06 18:16:20 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting:
http://www.ibiblio.org/maven/xerces/jars/xercesImpl-2.4.0.jar
> [get] local file date : Fri Jun 06 18:23:28 GMT-05:00 2003
> [get] Not modified - so not downloaded
> [get] Getting:
> http://www.ibiblio.org/maven/xml-apis/jars/xml-apis-1.0.b2.jar
> [get] local file date : Sun Dec 01 17:41:10 GMT-05:00 2002
> [get] Not modified - so not downloaded
> [get] Getting: http://www.ibiblio.org/maven/xmlrpc/jars/xmlrpc-1.2-b1.jar
> [get] local file date : Mon Jul 07 20:49:24 GMT-05:00 2003
> [get] Not modified - so not downloaded
> torque-init:
> peers:
> copy-scheduler-om:
> copy-torque-security-om:
> copy-id-table-om:
> copy-om:
> copy-scheduler-om:
> scheduler-om:
> [torque-data-model] Using contextProperties file:
> C:\eclipse\workspace\jakarta-turbine-2\project.properties
> [torque-data-model] Using classpath
> [torque-data-model] Generating to file
>
C:\eclipse\workspace\jakarta-turbine-2\target\src\report.scheduler.om.genera
> tion
> [torque-data-model] log4j:WARN No appenders could be found for logger
> (org.apache.torque.engine.database.transform.XmlToAppData).
> [torque-data-model] log4j:WARN Please initialize the log4j system
properly.
> copy-torque-security-om:
> torque-security-om:
> [torque-data-model] Using contextProperties file:
> C:\eclipse\workspace\jakarta-turbine-2\project.properties
> [torque-data-model] Using classpath
> [torque-data-model] Generating to file
>
C:\eclipse\workspace\jakarta-turbine-2\target\src\report.torque-security.om.
> generation
> [delete] Deleting:
>
C:\eclipse\workspace\jakarta-turbine-2\target\src\org\apache\turbine\service
> s\schedule\JobEntry.java
> prepare-turbine:
> BUILD SUCCESSFUL
> Total time: 28 seconds
>
>     Still, the Task window reports 387 errors. Any idea what could be
> happening? I am working on WinXP, Eclipse 2.1.0 and Java 1.4.1_01.
>
> Rodrigo
>
> ----- Original Message ----- 
> From: "Henning P. Schmiedehausen" <hp...@intermeta.de>
> Newsgroups: hometree.jakarta.turbine.dev
> To: <tu...@jakarta.apache.org>
> Sent: Thursday, July 24, 2003 5:05 PM
> Subject: Building Turbine with Eclipse
>
>
> > Are you brave? Are you willing to live on the edge? Willing to try out
> > a highly experimental to build Turbine with Eclipse? If yes, read on...
> >
> > 1) Get Eclipse. I did all my tests with Eclipse 2.1.1 on RedHat Linux 9
> >    and J2SDK 1.4.1_02. YMMV. Install it.
> >
> > 2) Fetch the Turbine Source Tree
> >
> >    cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout
> jakarta-turbine-2
> >
> > 3) Fetch the Eclipse Build enviroment from
> >
> >    http://jakarta.apache.org/~henning/turbine/turbine-eclipse.tar.gz
> >
> > 4) Unpack it into the Turbine Source tree:
> >
> >    cd jakarta-turbine-2 ; tar xzf turbine-eclipse.tar.gz
> >
> > 5) Start Eclipse. Select "File -> Import".
> >    Choose "Existing Project into Workspace"
> >    Browse to the checked out directory. Select it.
> >
> >    You should now have
> >
> >     Project Name: jakarta-turbine-2
> >
> >     Project Contents: ..../jakarta-turbine-2/
> >
> >    Choose "Finish"
> >
> > 6) Now you should have the jakarta-turbine-2 Tree in Eclipse with lots
of
> >    errors. That's ok. Choose "Rebuild Project"
> >
> > 7) You should get "Build Problems" with "Problems occured building the
> >    selected resources". This is expected! Open the Details. It should
> display
> >
> >       --- cut ---
> >       For a successful build, you must get the following jars from
> java.sun.com
> >       and copy them into target/lib:
> >
> >       activation.jar, Version 1.0.2  as activation-1.0.2.jar
> >       mail.jar, Version 1.3 as javamail-1.3.jar
> >       jdbc.jar, Version 2.0 as jdbc-2.0.jar
> >       jndi.jar, Version 1.2.1 as jndi-1.2.1.jar
> >
> >       One of these jars is missing. Please correct this error and
> >       rebuild.
> >       --- cut ---
> >
> > 8) Get the jars from java.sun.com and put them into the target/lib
> directory
> >    in your jakarta-turbine-2 directory.
> >
> > 9) Choose "Rebuild Project" again. This should run now for a while and
> >    the console should show the ant task fetching all the public jars
> >    from ibiblio. After a while, the build process should start and
> >    be successful (with quite a number of deprecation warnings depending
> >    on your default compiler settings).
> >
> > 10) If the rebuild still fails because of "missing jars", then Eclipse
> hasn't
> >     picked up the ant-fetched jars yet. Simply open
> >     "jakarta-turbine-2/target" in the tree view and select "Refresh"
from
> >     the content menu on the target folder. This should kick the
> compilation
> >     immediately. The tree view should now show all the jars required for
> >     building Turbine.
> >
> > Have fun. This wants testing. If it works for Eclipse users, we might
> > add this as an alternative way of building Turbine. Until then, consider
> > this highly experimental (I'm not exactly a seasoned Eclipse user ;-) )
> >
> > Regards
> > Henning
> >
> >
> >
> > -- 
> > Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> > hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/
> >
> > Java, perl, Solaris, Linux, xSP Consulting, Web Services
> > freelance consultant -- Jakarta Turbine Development  -- hero for hire
> >
> > "You are being far too rational for this discussion."
> >        --- Scott Robert Ladd in <3F...@coyotegulch.com>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: Building Turbine with Eclipse

Posted by Rodrigo Reyes <ro...@instaservi.com>.
Henning
    Well, I am not exactly brave, but I would really like to contribute to
Turbine. Still, I have had some serious trouble with Maven (I haven't been
able to build successfully not even once), so I gave this a try.
    Once the jars where all downloaded, I tried rebuilding the project. This
was the output.

Buildfile: C:\eclipse\workspace\jakarta-turbine-2\build\eclipse\build.xml
fetch-jars:
check-sun-jars:
fetch-sun-jars:
fetch-ibiblio-jars:
[get] Getting:
http://www.ibiblio.org/maven/avalon-framework/jars/avalon-framework-4.1.4.jar
[get] local file date : Mon Mar 24 10:23:44 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting:
http://www.ibiblio.org/maven/commons-beanutils/jars/commons-beanutils-1.6.1.jar
[get] local file date : Sun Mar 02 07:56:08 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting:
http://www.ibiblio.org/maven/commons-codec/jars/commons-codec-1.1.jar
[get] local file date : Fri Jun 06 18:27:52 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting:
http://www.ibiblio.org/maven/commons-collections/jars/commons-collections-2.1.jar
[get] local file date : Wed Nov 13 10:11:24 GMT-05:00 2002
[get] Not modified - so not downloaded
[get] Getting:
http://www.ibiblio.org/maven/commons-configuration/jars/commons-configuration-20030706.202021.jar
[get] local file date : Sun Jul 06 13:20:28 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting:
http://www.ibiblio.org/maven/commons-digester/jars/commons-digester-1.5.jar
[get] local file date : Fri May 09 18:21:32 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting:
http://www.ibiblio.org/maven/commons-email/jars/commons-email-20030310.165926.jar
[get] local file date : Tue Mar 11 18:32:30 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting:
http://www.ibiblio.org/maven/commons-fileupload/jars/commons-fileupload-1.0.jar
[get] local file date : Thu Jun 26 13:54:36 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting:
http://www.ibiblio.org/maven/commons-lang/jars/commons-lang-1.0.1.jar
[get] local file date : Mon Dec 09 10:18:56 GMT-05:00 2002
[get] Not modified - so not downloaded
[get] Getting:
http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.3.jar
[get] local file date : Mon Apr 07 02:39:18 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting:
http://www.ibiblio.org/maven/commons-pool/jars/commons-pool-1.0.1.jar
[get] local file date : Wed Feb 05 18:44:40 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting: http://www.ibiblio.org/maven/cryptix/jars/cryptix-3.2.0.jar
[get] local file date : Wed Aug 14 18:16:38 GMT-05:00 2002
[get] Not modified - so not downloaded
[get] Getting: http://www.ibiblio.org/maven/dom4j/jars/dom4j-1.4.jar
[get] local file date : Mon Apr 07 16:36:00 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting: http://www.ibiblio.org/maven/ecs/jars/ecs-1.4.2.jar
[get] local file date : Mon Jul 14 11:41:54 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting:
http://www.ibiblio.org/maven/excalibur-component/jars/excalibur-component-1.1.jar
[get] local file date : Mon Mar 24 10:25:56 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting:
http://www.ibiblio.org/maven/excalibur-instrument/jars/excalibur-instrument-1.0.jar
[get] local file date : Mon Mar 24 10:26:36 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting:
http://www.ibiblio.org/maven/excalibur-logger/jars/excalibur-logger-1.0.1.jar
[get] local file date : Mon Mar 24 10:27:22 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting:
http://www.ibiblio.org/maven/excalibur-pool/jars/excalibur-pool-1.2.jar
[get] local file date : Mon Mar 24 10:28:54 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting: http://www.ibiblio.org/maven/jython/jars/jython-2.1.jar
[get] local file date : Mon Jul 08 19:36:10 GMT-05:00 2002
[get] Not modified - so not downloaded
[get] Getting: http://www.ibiblio.org/maven/log4j/jars/log4j-1.2.8.jar
[get] local file date : Tue May 27 18:47:16 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting: http://www.ibiblio.org/maven/logkit/jars/logkit-1.0.1.jar
[get] local file date : Mon Jul 08 19:36:12 GMT-05:00 2002
[get] Not modified - so not downloaded
[get] Getting: http://www.ibiblio.org/maven/oro/jars/oro-2.0.7.jar
[get] local file date : Mon Jan 27 22:10:32 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting:
http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar
[get] local file date : Mon Jul 08 19:36:14 GMT-05:00 2002
[get] Not modified - so not downloaded
[get] Getting: http://www.ibiblio.org/maven/stratum/jars/stratum-1.0-b3.jar
[get] local file date : Tue Aug 27 13:54:16 GMT-05:00 2002
[get] Not modified - so not downloaded
[get] Getting:
http://www.ibiblio.org/maven/torque/jars/torque-3.1-alpha2.jar
[get] local file date : Sun Jun 29 10:43:42 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting:
http://www.ibiblio.org/maven/torque/jars/torque-gen-3.1-alpha2.jar
[get] local file date : Sun Jun 29 10:41:30 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting: http://www.ibiblio.org/maven/velocity/jars/velocity-1.3.1.jar
[get] local file date : Wed May 14 03:03:08 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting:
http://www.ibiblio.org/maven/village/jars/village-2.0-dev-20030625.jar
[get] local file date : Wed Jun 25 12:54:54 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting: http://www.ibiblio.org/maven/xalan/jars/xalan-2.5.1.jar
[get] local file date : Fri Jun 06 18:16:20 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting: http://www.ibiblio.org/maven/xerces/jars/xercesImpl-2.4.0.jar
[get] local file date : Fri Jun 06 18:23:28 GMT-05:00 2003
[get] Not modified - so not downloaded
[get] Getting:
http://www.ibiblio.org/maven/xml-apis/jars/xml-apis-1.0.b2.jar
[get] local file date : Sun Dec 01 17:41:10 GMT-05:00 2002
[get] Not modified - so not downloaded
[get] Getting: http://www.ibiblio.org/maven/xmlrpc/jars/xmlrpc-1.2-b1.jar
[get] local file date : Mon Jul 07 20:49:24 GMT-05:00 2003
[get] Not modified - so not downloaded
torque-init:
peers:
copy-scheduler-om:
copy-torque-security-om:
copy-id-table-om:
copy-om:
copy-scheduler-om:
scheduler-om:
[torque-data-model] Using contextProperties file:
C:\eclipse\workspace\jakarta-turbine-2\project.properties
[torque-data-model] Using classpath
[torque-data-model] Generating to file
C:\eclipse\workspace\jakarta-turbine-2\target\src\report.scheduler.om.genera
tion
[torque-data-model] log4j:WARN No appenders could be found for logger
(org.apache.torque.engine.database.transform.XmlToAppData).
[torque-data-model] log4j:WARN Please initialize the log4j system properly.
copy-torque-security-om:
torque-security-om:
[torque-data-model] Using contextProperties file:
C:\eclipse\workspace\jakarta-turbine-2\project.properties
[torque-data-model] Using classpath
[torque-data-model] Generating to file
C:\eclipse\workspace\jakarta-turbine-2\target\src\report.torque-security.om.
generation
[delete] Deleting:
C:\eclipse\workspace\jakarta-turbine-2\target\src\org\apache\turbine\service
s\schedule\JobEntry.java
prepare-turbine:
BUILD SUCCESSFUL
Total time: 28 seconds

    Still, the Task window reports 387 errors. Any idea what could be
happening? I am working on WinXP, Eclipse 2.1.0 and Java 1.4.1_01.

Rodrigo

----- Original Message ----- 
From: "Henning P. Schmiedehausen" <hp...@intermeta.de>
Newsgroups: hometree.jakarta.turbine.dev
To: <tu...@jakarta.apache.org>
Sent: Thursday, July 24, 2003 5:05 PM
Subject: Building Turbine with Eclipse


> Are you brave? Are you willing to live on the edge? Willing to try out
> a highly experimental to build Turbine with Eclipse? If yes, read on...
>
> 1) Get Eclipse. I did all my tests with Eclipse 2.1.1 on RedHat Linux 9
>    and J2SDK 1.4.1_02. YMMV. Install it.
>
> 2) Fetch the Turbine Source Tree
>
>    cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout
jakarta-turbine-2
>
> 3) Fetch the Eclipse Build enviroment from
>
>    http://jakarta.apache.org/~henning/turbine/turbine-eclipse.tar.gz
>
> 4) Unpack it into the Turbine Source tree:
>
>    cd jakarta-turbine-2 ; tar xzf turbine-eclipse.tar.gz
>
> 5) Start Eclipse. Select "File -> Import".
>    Choose "Existing Project into Workspace"
>    Browse to the checked out directory. Select it.
>
>    You should now have
>
>     Project Name: jakarta-turbine-2
>
>     Project Contents: ..../jakarta-turbine-2/
>
>    Choose "Finish"
>
> 6) Now you should have the jakarta-turbine-2 Tree in Eclipse with lots of
>    errors. That's ok. Choose "Rebuild Project"
>
> 7) You should get "Build Problems" with "Problems occured building the
>    selected resources". This is expected! Open the Details. It should
display
>
>       --- cut ---
>       For a successful build, you must get the following jars from
java.sun.com
>       and copy them into target/lib:
>
>       activation.jar, Version 1.0.2  as activation-1.0.2.jar
>       mail.jar, Version 1.3 as javamail-1.3.jar
>       jdbc.jar, Version 2.0 as jdbc-2.0.jar
>       jndi.jar, Version 1.2.1 as jndi-1.2.1.jar
>
>       One of these jars is missing. Please correct this error and
>       rebuild.
>       --- cut ---
>
> 8) Get the jars from java.sun.com and put them into the target/lib
directory
>    in your jakarta-turbine-2 directory.
>
> 9) Choose "Rebuild Project" again. This should run now for a while and
>    the console should show the ant task fetching all the public jars
>    from ibiblio. After a while, the build process should start and
>    be successful (with quite a number of deprecation warnings depending
>    on your default compiler settings).
>
> 10) If the rebuild still fails because of "missing jars", then Eclipse
hasn't
>     picked up the ant-fetched jars yet. Simply open
>     "jakarta-turbine-2/target" in the tree view and select "Refresh" from
>     the content menu on the target folder. This should kick the
compilation
>     immediately. The tree view should now show all the jars required for
>     building Turbine.
>
> Have fun. This wants testing. If it works for Eclipse users, we might
> add this as an alternative way of building Turbine. Until then, consider
> this highly experimental (I'm not exactly a seasoned Eclipse user ;-) )
>
> Regards
> Henning
>
>
>
> -- 
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/
>
> Java, perl, Solaris, Linux, xSP Consulting, Web Services
> freelance consultant -- Jakarta Turbine Development  -- hero for hire
>
> "You are being far too rational for this discussion."
>        --- Scott Robert Ladd in <3F...@coyotegulch.com>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: Building Turbine with Eclipse

Posted by Martin Poeschl <mp...@marmot.at>.
or you can use eclipse + maven without command line ;-)

http://mevenide.sourceforge.net

martin

> Leandro Rodrigo Saad Cruz <le...@ibnetwork.com.br> writes:
>
>>Is there any problem on cvs ?? Anyone with access to it can confirm if
>>those files are there ?
>
> Sigh, can we _please_ make this a FAQ somewhere?
>
> Leandro, these files are _GENERATED_ at compile time with
> Torque. There is nothing magic with them except that they (of course)
> don't show up in Eclipse when you check it out.
>
> If you want to use Eclipse with Turbine, you can use the Step-by-Step
> manual that I've posted here (for which you don't need maven) or you
> can use maven (where you will get the peers built for you). I
> personally don't support "Maven & Eclipse for building Turbine". It's
> either Eclipse (without Maven) for the beginning Turbine user or Maven
> for the seasoned Turbine user that is not afraid of a command line
> tool.
>
> If someone wants to post a cookbook for Maven & Eclipse, fine.
>
> 	Regards
> 		Henning
>
>
>
>>On Thu, 2003-07-24 at 19:05, Henning P. Schmiedehausen wrote:
>>> Are you brave? Are you willing to live on the edge? Willing to try out
>>> a highly experimental to build Turbine with Eclipse? If yes, read on...
>>>
>>> 1) Get Eclipse. I did all my tests with Eclipse 2.1.1 on RedHat Linux 9
>>>    and J2SDK 1.4.1_02. YMMV. Install it.
>>>
>>> 2) Fetch the Turbine Source Tree
>>>
>>>    cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout
>>> jakarta-turbine-2
>>>
>>> 3) Fetch the Eclipse Build enviroment from
>>>
>>>    http://jakarta.apache.org/~henning/turbine/turbine-eclipse.tar.gz
>>>
>>> 4) Unpack it into the Turbine Source tree:
>>>
>>>    cd jakarta-turbine-2 ; tar xzf turbine-eclipse.tar.gz
>>>
>>> 5) Start Eclipse. Select "File -> Import".
>>>    Choose "Existing Project into Workspace"
>>>    Browse to the checked out directory. Select it.
>>>
>>>    You should now have
>>>
>>>     Project Name: jakarta-turbine-2
>>>
>>>     Project Contents: ..../jakarta-turbine-2/
>>>
>>>    Choose "Finish"
>>>
>>> 6) Now you should have the jakarta-turbine-2 Tree in Eclipse with lots
>>> of
>>>    errors. That's ok. Choose "Rebuild Project"
>>>
>>> 7) You should get "Build Problems" with "Problems occured building the
>>>    selected resources". This is expected! Open the Details. It should
>>> display
>>>
>>>       --- cut ---
>>>       For a successful build, you must get the following jars from
>>> java.sun.com
>>>       and copy them into target/lib:
>>>
>>>       activation.jar, Version 1.0.2  as activation-1.0.2.jar
>>>       mail.jar, Version 1.3 as javamail-1.3.jar
>>>       jdbc.jar, Version 2.0 as jdbc-2.0.jar
>>>       jndi.jar, Version 1.2.1 as jndi-1.2.1.jar
>>>
>>>       One of these jars is missing. Please correct this error and
>>>       rebuild.
>>>       --- cut ---
>>>
>>> 8) Get the jars from java.sun.com and put them into the target/lib
>>> directory
>>>    in your jakarta-turbine-2 directory.
>>>
>>> 9) Choose "Rebuild Project" again. This should run now for a while and
>>>    the console should show the ant task fetching all the public jars
>>>    from ibiblio. After a while, the build process should start and
>>>    be successful (with quite a number of deprecation warnings depending
>>>    on your default compiler settings).
>>>
>>> 10) If the rebuild still fails because of "missing jars", then Eclipse
>>> hasn't
>>>     picked up the ant-fetched jars yet. Simply open
>>>     "jakarta-turbine-2/target" in the tree view and select "Refresh"
>>> from
>>>     the content menu on the target folder. This should kick the
>>> compilation
>>>     immediately. The tree view should now show all the jars required
>>> for
>>>     building Turbine.
>>>
>>> Have fun. This wants testing. If it works for Eclipse users, we might
>>> add this as an alternative way of building Turbine. Until then,
>>> consider
>>> this highly experimental (I'm not exactly a seasoned Eclipse user ;-) )
>>>
>>> 	Regards
>>> 		Henning
>>>
>>>
>>>
>>> --
>>> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
>>> hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/
>>>
>>> Java, perl, Solaris, Linux, xSP Consulting, Web Services
>>> freelance consultant -- Jakarta Turbine Development  -- hero for hire
>>>
>>> "You are being far too rational for this discussion."
>>>        --- Scott Robert Ladd in <3F...@coyotegulch.com>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
>>>
>>>
>>--
>>Leandro Rodrigo Saad Cruz
>>IT - Inter Business Tecnologia e Servicos (IB)
>>http://www.ibnetwork.com.br
>>http://db.apache.org/ojb
>>http://xingu.sourceforge.net
>
>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
>
> --
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/
>
> Java, perl, Solaris, Linux, xSP Consulting, Web Services
> freelance consultant -- Jakarta Turbine Development  -- hero for hire
>
> "You are being far too rational for this discussion."
>        --- Scott Robert Ladd in <3F...@coyotegulch.com>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: Building Turbine with Eclipse

Posted by Martin Poeschl <mp...@marmot.at>.
or you can use eclipse + maven without command line ;-)

http://mevenide.sourceforge.net

martin

> Leandro Rodrigo Saad Cruz <le...@ibnetwork.com.br> writes:
>
>>Is there any problem on cvs ?? Anyone with access to it can confirm if
>>those files are there ?
>
> Sigh, can we _please_ make this a FAQ somewhere?
>
> Leandro, these files are _GENERATED_ at compile time with
> Torque. There is nothing magic with them except that they (of course)
> don't show up in Eclipse when you check it out.
>
> If you want to use Eclipse with Turbine, you can use the Step-by-Step
> manual that I've posted here (for which you don't need maven) or you
> can use maven (where you will get the peers built for you). I
> personally don't support "Maven & Eclipse for building Turbine". It's
> either Eclipse (without Maven) for the beginning Turbine user or Maven
> for the seasoned Turbine user that is not afraid of a command line
> tool.
>
> If someone wants to post a cookbook for Maven & Eclipse, fine.
>
> 	Regards
> 		Henning
>
>
>
>>On Thu, 2003-07-24 at 19:05, Henning P. Schmiedehausen wrote:
>>> Are you brave? Are you willing to live on the edge? Willing to try out
>>> a highly experimental to build Turbine with Eclipse? If yes, read on...
>>>
>>> 1) Get Eclipse. I did all my tests with Eclipse 2.1.1 on RedHat Linux 9
>>>    and J2SDK 1.4.1_02. YMMV. Install it.
>>>
>>> 2) Fetch the Turbine Source Tree
>>>
>>>    cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout
>>> jakarta-turbine-2
>>>
>>> 3) Fetch the Eclipse Build enviroment from
>>>
>>>    http://jakarta.apache.org/~henning/turbine/turbine-eclipse.tar.gz
>>>
>>> 4) Unpack it into the Turbine Source tree:
>>>
>>>    cd jakarta-turbine-2 ; tar xzf turbine-eclipse.tar.gz
>>>
>>> 5) Start Eclipse. Select "File -> Import".
>>>    Choose "Existing Project into Workspace"
>>>    Browse to the checked out directory. Select it.
>>>
>>>    You should now have
>>>
>>>     Project Name: jakarta-turbine-2
>>>
>>>     Project Contents: ..../jakarta-turbine-2/
>>>
>>>    Choose "Finish"
>>>
>>> 6) Now you should have the jakarta-turbine-2 Tree in Eclipse with lots
>>> of
>>>    errors. That's ok. Choose "Rebuild Project"
>>>
>>> 7) You should get "Build Problems" with "Problems occured building the
>>>    selected resources". This is expected! Open the Details. It should
>>> display
>>>
>>>       --- cut ---
>>>       For a successful build, you must get the following jars from
>>> java.sun.com
>>>       and copy them into target/lib:
>>>
>>>       activation.jar, Version 1.0.2  as activation-1.0.2.jar
>>>       mail.jar, Version 1.3 as javamail-1.3.jar
>>>       jdbc.jar, Version 2.0 as jdbc-2.0.jar
>>>       jndi.jar, Version 1.2.1 as jndi-1.2.1.jar
>>>
>>>       One of these jars is missing. Please correct this error and
>>>       rebuild.
>>>       --- cut ---
>>>
>>> 8) Get the jars from java.sun.com and put them into the target/lib
>>> directory
>>>    in your jakarta-turbine-2 directory.
>>>
>>> 9) Choose "Rebuild Project" again. This should run now for a while and
>>>    the console should show the ant task fetching all the public jars
>>>    from ibiblio. After a while, the build process should start and
>>>    be successful (with quite a number of deprecation warnings depending
>>>    on your default compiler settings).
>>>
>>> 10) If the rebuild still fails because of "missing jars", then Eclipse
>>> hasn't
>>>     picked up the ant-fetched jars yet. Simply open
>>>     "jakarta-turbine-2/target" in the tree view and select "Refresh"
>>> from
>>>     the content menu on the target folder. This should kick the
>>> compilation
>>>     immediately. The tree view should now show all the jars required
>>> for
>>>     building Turbine.
>>>
>>> Have fun. This wants testing. If it works for Eclipse users, we might
>>> add this as an alternative way of building Turbine. Until then,
>>> consider
>>> this highly experimental (I'm not exactly a seasoned Eclipse user ;-) )
>>>
>>> 	Regards
>>> 		Henning
>>>
>>>
>>>
>>> --
>>> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
>>> hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/
>>>
>>> Java, perl, Solaris, Linux, xSP Consulting, Web Services
>>> freelance consultant -- Jakarta Turbine Development  -- hero for hire
>>>
>>> "You are being far too rational for this discussion."
>>>        --- Scott Robert Ladd in <3F...@coyotegulch.com>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
>>>
>>>
>>--
>>Leandro Rodrigo Saad Cruz
>>IT - Inter Business Tecnologia e Servicos (IB)
>>http://www.ibnetwork.com.br
>>http://db.apache.org/ojb
>>http://xingu.sourceforge.net
>
>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
>
> --
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/
>
> Java, perl, Solaris, Linux, xSP Consulting, Web Services
> freelance consultant -- Jakarta Turbine Development  -- hero for hire
>
> "You are being far too rational for this discussion."
>        --- Scott Robert Ladd in <3F...@coyotegulch.com>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
>
>
>


Re: Building Turbine with Eclipse

Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
Leandro Rodrigo Saad Cruz <le...@ibnetwork.com.br> writes:

>Is there any problem on cvs ?? Anyone with access to it can confirm if
>those files are there ?

Sigh, can we _please_ make this a FAQ somewhere?

Leandro, these files are _GENERATED_ at compile time with
Torque. There is nothing magic with them except that they (of course)
don't show up in Eclipse when you check it out.

If you want to use Eclipse with Turbine, you can use the Step-by-Step
manual that I've posted here (for which you don't need maven) or you
can use maven (where you will get the peers built for you). I
personally don't support "Maven & Eclipse for building Turbine". It's
either Eclipse (without Maven) for the beginning Turbine user or Maven
for the seasoned Turbine user that is not afraid of a command line
tool.

If someone wants to post a cookbook for Maven & Eclipse, fine. 

	Regards
		Henning



>On Thu, 2003-07-24 at 19:05, Henning P. Schmiedehausen wrote:
>> Are you brave? Are you willing to live on the edge? Willing to try out
>> a highly experimental to build Turbine with Eclipse? If yes, read on...
>> 
>> 1) Get Eclipse. I did all my tests with Eclipse 2.1.1 on RedHat Linux 9
>>    and J2SDK 1.4.1_02. YMMV. Install it.
>> 
>> 2) Fetch the Turbine Source Tree
>> 
>>    cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout jakarta-turbine-2
>> 
>> 3) Fetch the Eclipse Build enviroment from 
>> 
>>    http://jakarta.apache.org/~henning/turbine/turbine-eclipse.tar.gz
>> 
>> 4) Unpack it into the Turbine Source tree:
>> 
>>    cd jakarta-turbine-2 ; tar xzf turbine-eclipse.tar.gz
>> 
>> 5) Start Eclipse. Select "File -> Import".
>>    Choose "Existing Project into Workspace"
>>    Browse to the checked out directory. Select it.
>>    
>>    You should now have
>> 
>>     Project Name: jakarta-turbine-2
>> 
>>     Project Contents: ..../jakarta-turbine-2/
>> 
>>    Choose "Finish"
>> 
>> 6) Now you should have the jakarta-turbine-2 Tree in Eclipse with lots of
>>    errors. That's ok. Choose "Rebuild Project"
>> 
>> 7) You should get "Build Problems" with "Problems occured building the 
>>    selected resources". This is expected! Open the Details. It should display
>> 
>>       --- cut ---
>>       For a successful build, you must get the following jars from java.sun.com
>>       and copy them into target/lib:
>> 
>>       activation.jar, Version 1.0.2  as activation-1.0.2.jar
>>       mail.jar, Version 1.3 as javamail-1.3.jar
>>       jdbc.jar, Version 2.0 as jdbc-2.0.jar
>>       jndi.jar, Version 1.2.1 as jndi-1.2.1.jar
>> 
>>       One of these jars is missing. Please correct this error and
>>       rebuild.
>>       --- cut ---
>> 
>> 8) Get the jars from java.sun.com and put them into the target/lib directory
>>    in your jakarta-turbine-2 directory.
>> 
>> 9) Choose "Rebuild Project" again. This should run now for a while and
>>    the console should show the ant task fetching all the public jars
>>    from ibiblio. After a while, the build process should start and 
>>    be successful (with quite a number of deprecation warnings depending
>>    on your default compiler settings).
>> 
>> 10) If the rebuild still fails because of "missing jars", then Eclipse hasn't 
>>     picked up the ant-fetched jars yet. Simply open 
>>     "jakarta-turbine-2/target" in the tree view and select "Refresh" from
>>     the content menu on the target folder. This should kick the compilation
>>     immediately. The tree view should now show all the jars required for
>>     building Turbine.
>> 
>> Have fun. This wants testing. If it works for Eclipse users, we might
>> add this as an alternative way of building Turbine. Until then, consider
>> this highly experimental (I'm not exactly a seasoned Eclipse user ;-) )
>> 
>> 	Regards
>> 		Henning
>> 
>>     
>> 
>> -- 
>> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
>> hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/
>> 
>> Java, perl, Solaris, Linux, xSP Consulting, Web Services 
>> freelance consultant -- Jakarta Turbine Development  -- hero for hire
>> 
>> "You are being far too rational for this discussion."  
>>        --- Scott Robert Ladd in <3F...@coyotegulch.com>
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
>> 
>> 
>-- 
>Leandro Rodrigo Saad Cruz
>IT - Inter Business Tecnologia e Servicos (IB)
>http://www.ibnetwork.com.br
>http://db.apache.org/ojb
>http://xingu.sourceforge.net


>---------------------------------------------------------------------
>To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: turbine-dev-help@jakarta.apache.org

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire

"You are being far too rational for this discussion."  
       --- Scott Robert Ladd in <3F...@coyotegulch.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: Building Turbine with Eclipse

Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
Leandro Rodrigo Saad Cruz <le...@ibnetwork.com.br> writes:

>Is there any problem on cvs ?? Anyone with access to it can confirm if
>those files are there ?

Sigh, can we _please_ make this a FAQ somewhere?

Leandro, these files are _GENERATED_ at compile time with
Torque. There is nothing magic with them except that they (of course)
don't show up in Eclipse when you check it out.

If you want to use Eclipse with Turbine, you can use the Step-by-Step
manual that I've posted here (for which you don't need maven) or you
can use maven (where you will get the peers built for you). I
personally don't support "Maven & Eclipse for building Turbine". It's
either Eclipse (without Maven) for the beginning Turbine user or Maven
for the seasoned Turbine user that is not afraid of a command line
tool.

If someone wants to post a cookbook for Maven & Eclipse, fine. 

	Regards
		Henning



>On Thu, 2003-07-24 at 19:05, Henning P. Schmiedehausen wrote:
>> Are you brave? Are you willing to live on the edge? Willing to try out
>> a highly experimental to build Turbine with Eclipse? If yes, read on...
>> 
>> 1) Get Eclipse. I did all my tests with Eclipse 2.1.1 on RedHat Linux 9
>>    and J2SDK 1.4.1_02. YMMV. Install it.
>> 
>> 2) Fetch the Turbine Source Tree
>> 
>>    cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout jakarta-turbine-2
>> 
>> 3) Fetch the Eclipse Build enviroment from 
>> 
>>    http://jakarta.apache.org/~henning/turbine/turbine-eclipse.tar.gz
>> 
>> 4) Unpack it into the Turbine Source tree:
>> 
>>    cd jakarta-turbine-2 ; tar xzf turbine-eclipse.tar.gz
>> 
>> 5) Start Eclipse. Select "File -> Import".
>>    Choose "Existing Project into Workspace"
>>    Browse to the checked out directory. Select it.
>>    
>>    You should now have
>> 
>>     Project Name: jakarta-turbine-2
>> 
>>     Project Contents: ..../jakarta-turbine-2/
>> 
>>    Choose "Finish"
>> 
>> 6) Now you should have the jakarta-turbine-2 Tree in Eclipse with lots of
>>    errors. That's ok. Choose "Rebuild Project"
>> 
>> 7) You should get "Build Problems" with "Problems occured building the 
>>    selected resources". This is expected! Open the Details. It should display
>> 
>>       --- cut ---
>>       For a successful build, you must get the following jars from java.sun.com
>>       and copy them into target/lib:
>> 
>>       activation.jar, Version 1.0.2  as activation-1.0.2.jar
>>       mail.jar, Version 1.3 as javamail-1.3.jar
>>       jdbc.jar, Version 2.0 as jdbc-2.0.jar
>>       jndi.jar, Version 1.2.1 as jndi-1.2.1.jar
>> 
>>       One of these jars is missing. Please correct this error and
>>       rebuild.
>>       --- cut ---
>> 
>> 8) Get the jars from java.sun.com and put them into the target/lib directory
>>    in your jakarta-turbine-2 directory.
>> 
>> 9) Choose "Rebuild Project" again. This should run now for a while and
>>    the console should show the ant task fetching all the public jars
>>    from ibiblio. After a while, the build process should start and 
>>    be successful (with quite a number of deprecation warnings depending
>>    on your default compiler settings).
>> 
>> 10) If the rebuild still fails because of "missing jars", then Eclipse hasn't 
>>     picked up the ant-fetched jars yet. Simply open 
>>     "jakarta-turbine-2/target" in the tree view and select "Refresh" from
>>     the content menu on the target folder. This should kick the compilation
>>     immediately. The tree view should now show all the jars required for
>>     building Turbine.
>> 
>> Have fun. This wants testing. If it works for Eclipse users, we might
>> add this as an alternative way of building Turbine. Until then, consider
>> this highly experimental (I'm not exactly a seasoned Eclipse user ;-) )
>> 
>> 	Regards
>> 		Henning
>> 
>>     
>> 
>> -- 
>> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
>> hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/
>> 
>> Java, perl, Solaris, Linux, xSP Consulting, Web Services 
>> freelance consultant -- Jakarta Turbine Development  -- hero for hire
>> 
>> "You are being far too rational for this discussion."  
>>        --- Scott Robert Ladd in <3F...@coyotegulch.com>
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
>> 
>> 
>-- 
>Leandro Rodrigo Saad Cruz
>IT - Inter Business Tecnologia e Servicos (IB)
>http://www.ibnetwork.com.br
>http://db.apache.org/ojb
>http://xingu.sourceforge.net


>---------------------------------------------------------------------
>To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: turbine-dev-help@jakarta.apache.org

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire

"You are being far too rational for this discussion."  
       --- Scott Robert Ladd in <3F...@coyotegulch.com>

Re: Building Turbine with Eclipse

Posted by Leandro Rodrigo Saad Cruz <le...@ibnetwork.com.br>.
Hi. I'm trying to compile turbine-HEAD using maven and eclipse but I
keep getting errors. 

I did a fresh checkout from cvs but I can't get these files : 
- org.apache.turbine.services.schedule.BaseJobEntry
- org.apache.turbine.services.schedule.JobEntryPeer
- org.apache.turbine.services.security.torque.om.*
...
...

Is there any problem on cvs ?? Anyone with access to it can confirm if
those files are there ?


On Thu, 2003-07-24 at 19:05, Henning P. Schmiedehausen wrote:
> Are you brave? Are you willing to live on the edge? Willing to try out
> a highly experimental to build Turbine with Eclipse? If yes, read on...
> 
> 1) Get Eclipse. I did all my tests with Eclipse 2.1.1 on RedHat Linux 9
>    and J2SDK 1.4.1_02. YMMV. Install it.
> 
> 2) Fetch the Turbine Source Tree
> 
>    cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout jakarta-turbine-2
> 
> 3) Fetch the Eclipse Build enviroment from 
> 
>    http://jakarta.apache.org/~henning/turbine/turbine-eclipse.tar.gz
> 
> 4) Unpack it into the Turbine Source tree:
> 
>    cd jakarta-turbine-2 ; tar xzf turbine-eclipse.tar.gz
> 
> 5) Start Eclipse. Select "File -> Import".
>    Choose "Existing Project into Workspace"
>    Browse to the checked out directory. Select it.
>    
>    You should now have
> 
>     Project Name: jakarta-turbine-2
> 
>     Project Contents: ..../jakarta-turbine-2/
> 
>    Choose "Finish"
> 
> 6) Now you should have the jakarta-turbine-2 Tree in Eclipse with lots of
>    errors. That's ok. Choose "Rebuild Project"
> 
> 7) You should get "Build Problems" with "Problems occured building the 
>    selected resources". This is expected! Open the Details. It should display
> 
>       --- cut ---
>       For a successful build, you must get the following jars from java.sun.com
>       and copy them into target/lib:
> 
>       activation.jar, Version 1.0.2  as activation-1.0.2.jar
>       mail.jar, Version 1.3 as javamail-1.3.jar
>       jdbc.jar, Version 2.0 as jdbc-2.0.jar
>       jndi.jar, Version 1.2.1 as jndi-1.2.1.jar
> 
>       One of these jars is missing. Please correct this error and
>       rebuild.
>       --- cut ---
> 
> 8) Get the jars from java.sun.com and put them into the target/lib directory
>    in your jakarta-turbine-2 directory.
> 
> 9) Choose "Rebuild Project" again. This should run now for a while and
>    the console should show the ant task fetching all the public jars
>    from ibiblio. After a while, the build process should start and 
>    be successful (with quite a number of deprecation warnings depending
>    on your default compiler settings).
> 
> 10) If the rebuild still fails because of "missing jars", then Eclipse hasn't 
>     picked up the ant-fetched jars yet. Simply open 
>     "jakarta-turbine-2/target" in the tree view and select "Refresh" from
>     the content menu on the target folder. This should kick the compilation
>     immediately. The tree view should now show all the jars required for
>     building Turbine.
> 
> Have fun. This wants testing. If it works for Eclipse users, we might
> add this as an alternative way of building Turbine. Until then, consider
> this highly experimental (I'm not exactly a seasoned Eclipse user ;-) )
> 
> 	Regards
> 		Henning
> 
>     
> 
> -- 
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/
> 
> Java, perl, Solaris, Linux, xSP Consulting, Web Services 
> freelance consultant -- Jakarta Turbine Development  -- hero for hire
> 
> "You are being far too rational for this discussion."  
>        --- Scott Robert Ladd in <3F...@coyotegulch.com>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
> 
> 
-- 
Leandro Rodrigo Saad Cruz
IT - Inter Business Tecnologia e Servicos (IB)
http://www.ibnetwork.com.br
http://db.apache.org/ojb
http://xingu.sourceforge.net


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: Building Turbine with Eclipse

Posted by Leandro Rodrigo Saad Cruz <le...@ibnetwork.com.br>.
Hi. I'm trying to compile turbine-HEAD using maven and eclipse but I
keep getting errors. 

I did a fresh checkout from cvs but I can't get these files : 
- org.apache.turbine.services.schedule.BaseJobEntry
- org.apache.turbine.services.schedule.JobEntryPeer
- org.apache.turbine.services.security.torque.om.*
...
...

Is there any problem on cvs ?? Anyone with access to it can confirm if
those files are there ?


On Thu, 2003-07-24 at 19:05, Henning P. Schmiedehausen wrote:
> Are you brave? Are you willing to live on the edge? Willing to try out
> a highly experimental to build Turbine with Eclipse? If yes, read on...
> 
> 1) Get Eclipse. I did all my tests with Eclipse 2.1.1 on RedHat Linux 9
>    and J2SDK 1.4.1_02. YMMV. Install it.
> 
> 2) Fetch the Turbine Source Tree
> 
>    cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout jakarta-turbine-2
> 
> 3) Fetch the Eclipse Build enviroment from 
> 
>    http://jakarta.apache.org/~henning/turbine/turbine-eclipse.tar.gz
> 
> 4) Unpack it into the Turbine Source tree:
> 
>    cd jakarta-turbine-2 ; tar xzf turbine-eclipse.tar.gz
> 
> 5) Start Eclipse. Select "File -> Import".
>    Choose "Existing Project into Workspace"
>    Browse to the checked out directory. Select it.
>    
>    You should now have
> 
>     Project Name: jakarta-turbine-2
> 
>     Project Contents: ..../jakarta-turbine-2/
> 
>    Choose "Finish"
> 
> 6) Now you should have the jakarta-turbine-2 Tree in Eclipse with lots of
>    errors. That's ok. Choose "Rebuild Project"
> 
> 7) You should get "Build Problems" with "Problems occured building the 
>    selected resources". This is expected! Open the Details. It should display
> 
>       --- cut ---
>       For a successful build, you must get the following jars from java.sun.com
>       and copy them into target/lib:
> 
>       activation.jar, Version 1.0.2  as activation-1.0.2.jar
>       mail.jar, Version 1.3 as javamail-1.3.jar
>       jdbc.jar, Version 2.0 as jdbc-2.0.jar
>       jndi.jar, Version 1.2.1 as jndi-1.2.1.jar
> 
>       One of these jars is missing. Please correct this error and
>       rebuild.
>       --- cut ---
> 
> 8) Get the jars from java.sun.com and put them into the target/lib directory
>    in your jakarta-turbine-2 directory.
> 
> 9) Choose "Rebuild Project" again. This should run now for a while and
>    the console should show the ant task fetching all the public jars
>    from ibiblio. After a while, the build process should start and 
>    be successful (with quite a number of deprecation warnings depending
>    on your default compiler settings).
> 
> 10) If the rebuild still fails because of "missing jars", then Eclipse hasn't 
>     picked up the ant-fetched jars yet. Simply open 
>     "jakarta-turbine-2/target" in the tree view and select "Refresh" from
>     the content menu on the target folder. This should kick the compilation
>     immediately. The tree view should now show all the jars required for
>     building Turbine.
> 
> Have fun. This wants testing. If it works for Eclipse users, we might
> add this as an alternative way of building Turbine. Until then, consider
> this highly experimental (I'm not exactly a seasoned Eclipse user ;-) )
> 
> 	Regards
> 		Henning
> 
>     
> 
> -- 
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/
> 
> Java, perl, Solaris, Linux, xSP Consulting, Web Services 
> freelance consultant -- Jakarta Turbine Development  -- hero for hire
> 
> "You are being far too rational for this discussion."  
>        --- Scott Robert Ladd in <3F...@coyotegulch.com>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
> 
> 
-- 
Leandro Rodrigo Saad Cruz
IT - Inter Business Tecnologia e Servicos (IB)
http://www.ibnetwork.com.br
http://db.apache.org/ojb
http://xingu.sourceforge.net


Re: Building Turbine with Eclipse

Posted by Alessio Bernesco LĂ vore <al...@iol.it>.
On Venerdì, lug 25, 2003, at 00:05 Europe/Rome, Henning P. 
Schmiedehausen wrote:

> Are you brave? Are you willing to live on the edge? Willing to try out
> a highly experimental to build Turbine with Eclipse? If yes, read 
> on...(cut)

Hi Henning, it works!
Now i pass from a pain (not able to work turbine with maven) to a dream 
(compiling turbine from inside my IDE).

A strange thing, after building Turbine from Eclipse, i need the jar, 
then i try to recompile from outside with maven... magic works 
sometimes, cause now i'm able to compile also from maven!

The answer could be that from Eclipse, don't know why, torque sources 
are generated correctly, then maven had just to compile and package the 
jar.

Now i'll try to add a couple of tasks to build.file (clean and jar) 
also if i'm not an ant expert...
Thank you very much!

> 	Regards
> 		Henning
Regards,
alessio.


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org