Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Re: Migration from JBuilder (Export dependencies)
Re: Migration from JBuilder (Export dependencies) [message #205411] Wed, 05 December 2007 21:49 Go to next message
Eclipse UserFriend
Originally posted by: dcarver.starstandard.org

Paul wrote:
> Hey guys,
>
> I'm trying to move JEE projects out of JBuilder(2005) and into Eclipse.
>
> One function that JBuilder does and I can't seem to figure out how to do
> in Eclipse is this:
> In JBuilder, we have a number of common frameworks as Required Libraries
> that are versioned and reside outside of the project. Whenever we build
> the project, it extracts the classes out of the library and includes
> them in the application (the setting is under Properties for the EJB
> under Dependencies and we simply select "Include All")
>
> In Eclipse, I assumed we could do the same thing by checking the box for
> the library under "Order and Export", but checking that box does nothing.
>
> Is there any way to mimic our setup in JBuilder? I don't want to have
> to add this to the project in Eclipse, it's an external library and I
> want to keep it that way until we export our EAR.
>
> Thanks guys! Using Eclipse 3.2 (soon to upgrade to 3.3)
>

I believe you will need to setup a Project Dependency on your Build
Path. I'm copying the eclipse.webtools newsgroup on this as well, as I
know this has been answered there.

You might also want to take a look at the WTP FAQ and the Tomcat FAQ
(has some stuff not necessarily related to Tomcat).

http://wiki.eclipse.org/WTP_FAQ
http://wiki.eclipse.org/WTP_Tomcat_FAQ

Dave
Re: Migration from JBuilder (Export dependencies) [message #205419 is a reply to message #205411] Thu, 06 December 2007 17:01 Go to previous messageGo to next message
Rob Frost is currently offline Rob FrostFriend
Messages: 64
Registered: July 2009
Member
Hi Paul/Dave,

Based on the description, it sounds like you want the contents of these
libraries (referenced on the project classpath in Eclipse) to be included in
the published/exported structure of the module. WTP does allow you to mark
library and container classpath entries for inclusion in the
published/exported structure of an EAR/WAR via the J2EE Module Dependencies
page (will be placed in the root of the EAR or WEB-INF/lib dir of the WAR).
See http://wiki.eclipse.org/ClasspathEntriesPublishExportSupport for details
on the current support and planned 3.0 enhancements.

Hope this helps,

Rob


"David Carver" <dcarver@starstandard.org> wrote in message
news:47571CF2.7070803@starstandard.org...
> Paul wrote:
>> Hey guys,
>>
>> I'm trying to move JEE projects out of JBuilder(2005) and into Eclipse.
>>
>> One function that JBuilder does and I can't seem to figure out how to do
>> in Eclipse is this:
>> In JBuilder, we have a number of common frameworks as Required Libraries
>> that are versioned and reside outside of the project. Whenever we build
>> the project, it extracts the classes out of the library and includes them
>> in the application (the setting is under Properties for the EJB under
>> Dependencies and we simply select "Include All")
>>
>> In Eclipse, I assumed we could do the same thing by checking the box for
>> the library under "Order and Export", but checking that box does nothing.
>>
>> Is there any way to mimic our setup in JBuilder? I don't want to have to
>> add this to the project in Eclipse, it's an external library and I want
>> to keep it that way until we export our EAR.
>>
>> Thanks guys! Using Eclipse 3.2 (soon to upgrade to 3.3)
>>
>
> I believe you will need to setup a Project Dependency on your Build Path.
> I'm copying the eclipse.webtools newsgroup on this as well, as I know this
> has been answered there.
>
> You might also want to take a look at the WTP FAQ and the Tomcat FAQ (has
> some stuff not necessarily related to Tomcat).
>
> http://wiki.eclipse.org/WTP_FAQ
> http://wiki.eclipse.org/WTP_Tomcat_FAQ
>
> Dave
Re: Migration from JBuilder (Export dependencies) [message #205435 is a reply to message #205419] Thu, 06 December 2007 18:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: paul.richardson.thebeerstore.ca

Thank you both, that is indeed what I was wanting.

The only interesting thing JBuilder does is it actually extracts the
needed files out of the library and compiles it directly into the source.
I would imagine this would not be considered "Best-Practices" since its
essentially mixing code and will move to exporting the entire Library when
its needed instead.
Re: Migration from JBuilder (Export dependencies) [message #205459 is a reply to message #205435] Thu, 06 December 2007 22:19 Go to previous message
Eclipse UserFriend
Originally posted by: dcarver.starstandard.org

Paul wrote:
> Thank you both, that is indeed what I was wanting.
>
> The only interesting thing JBuilder does is it actually extracts the
> needed files out of the library and compiles it directly into the
> source. I would imagine this would not be considered "Best-Practices"
> since its essentially mixing code and will move to exporting the entire
> Library when its needed instead.
>

You can get something similiar with Importing a WAR or EAR file, but
typically that is a messy situation.
Previous Topic:Programatically adding facets to a pre-existing project
Next Topic:Re: Jsp: Compile to appropriate TOMCAT_HOME dir?
Goto Forum:
  


Current Time: Tue Apr 23 10:07:41 GMT 2024

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

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

Back to the top