You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2012/04/05 02:31:32 UTC

Re: Eclipse Project Files for Tomcat 7

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark,

On 3/31/12 8:40 AM, Mark Thomas wrote:
> /res/ide-support/eclipse

Also, as I've discovered:

$ echo "base.path=[path where downloads will be put]" > build.properties

$ ant ide-eclipse

Then, go to Preferences | Java/Build Path/Classpath Variables and set
the following variables:

ANT_HOME=path to your Ant install (where lib/ant.jar can be found)
TOMCAT_LIBS_BASE=[whatever you set base.path to above]

Note that TOMCAT_LIBS_BASE will be Eclipse-wide, so you'll want to set
it to someplace where libraries for all versions of Tomcat (trunk,
7.0.x, etc.) can all coexist (i.e. not within one particular project
directory).

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk985+QACgkQ9CaO5/Lv0PCk1wCfcDFNcV4SOMR6cg0dVncHtBbK
W6MAoLBHN0NIrg3QmWRm/+GmQ7JldMOf
=ghDx
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Eclipse Project Files for Tomcat 7

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Konstantin,

On 4/5/12 6:50 AM, Konstantin Kolinko wrote:
> There is 
> http://tomcat.apache.org/tomcat-7.0-doc/building.html#Building_with_Eclipse
>
>  Maybe it is not so easy to find  (and I forgot about "ant
> ide-eclipse" when you asked your question).

Yeah, I hadn't looked there (which was stupid on my part). I'll link
my recently-added FAQ entry to that page.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk99proACgkQ9CaO5/Lv0PA6gQCgrceRlTdEKviI2iR7/NzCofvq
77wAn2KIoSFmacSusQeO24Od/GLY9LOF
=EfL+
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Eclipse Project Files for Tomcat 7

Posted by Konstantin Kolinko <kn...@gmail.com>.
2012/4/5 Christopher Schultz <ch...@christopherschultz.net>:
>
> Mark,
>
> On 3/31/12 8:40 AM, Mark Thomas wrote:
>> /res/ide-support/eclipse
>
> Also, as I've discovered:

There is
http://tomcat.apache.org/tomcat-7.0-doc/building.html#Building_with_Eclipse

Maybe it is not so easy to find  (and I forgot about "ant ide-eclipse"
when you asked your question).

>
> $ echo "base.path=[path where downloads will be put]" > build.properties
>
> $ ant ide-eclipse
>
> Then, go to Preferences | Java/Build Path/Classpath Variables and set
> the following variables:
>
> ANT_HOME=path to your Ant install (where lib/ant.jar can be found)
> TOMCAT_LIBS_BASE=[whatever you set base.path to above]
>
> Note that TOMCAT_LIBS_BASE will be Eclipse-wide, so you'll want to set
> it to someplace where libraries for all versions of Tomcat (trunk,
> 7.0.x, etc.) can all coexist (i.e. not within one particular project
> directory).
>
> - -chris
>

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org