Skip to main content



      Home
Home » Newcomers » Newcomers » Compile to more than one location (outside of workspace)?
Compile to more than one location (outside of workspace)? [message #96057] Fri, 19 August 2005 15:56 Go to next message
Eclipse UserFriend
Originally posted by: root.aol.com

Just learning eclipse.

I want to be able to compile to both my workspace classes dir, and my
tomcat/webapps/web/web-inf/classes directory.

Is this possiable?

TIA
Re: Compile to more than one location (outside of workspace)? [message #96465 is a reply to message #96057] Mon, 22 August 2005 10:19 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Scott Phelps wrote:
> Just learning eclipse.
>
> I want to be able to compile to both my workspace classes dir, and my
> tomcat/webapps/web/web-inf/classes directory.
>
> Is this possiable?

One option is to make the two locations be "the same."
You can define the "classes" folder of your Eclipse Project to be a
linked folder that points to the tomcat directory located elsewhere on
your file system. Search Eclipse Help for "linked resources" for the
details.

Another option would be to write a small Ant script that copies from
your Eclipse build location to your Tomcat location, and then add that
script as an extra Builder for the project.

HTH,
Eric
Previous Topic:war files
Next Topic:cvs
Goto Forum:
  


Current Time: Thu May 08 21:53:09 EDT 2025

Powered by FUDForum. Page generated in 0.29117 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top