Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Re: 1 project 2 jar files
Re: 1 project 2 jar files [message #218560] Thu, 31 July 2008 21:40
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Arinté,

I think it will still work for any project, but I've added the WTP
newsgroup since maybe there's a better way to do it for a web project...


Arinté wrote:
> There only seems to be build.properties for plugins other projects it
> seem don't have them.
>
> Ed Merks wrote:
>> Arinté,
>>
>> I think it still applies because it's used when you export the
>> project for deployment, but to be honest, I only ever build plugins
>> so it's possible I'm wrong. Don't you already have a
>> build.properties file?
>>
>>
>> Arinté wrote:
>>> I think I understand what you are pointing out, but I am not
>>> building a plugin this is a web app actually. Can I still use the
>>> build.properties?
>>>
>>>
>>> "Ed Merks" <Ed.Merks@gmail.com> wrote in message
>>> news:g6sqjo$9l0$1@build.eclipse.org...
>>> ------------------------------------------------------------ ----------------------------------------
>>>
>>> Arinté,
>>>
>>> You'll want to change the project's Java build path so each has a
>>> different output folder and then set up the build.properties to
>>> build a jar from each. Here's how we specify a plugin that has an
>>> ant tasks jar:
>>>
>>> bin.includes = META-INF/,\
>>> .,\
>>> about.html,\
>>> plugin.properties,\
>>> plugin.xml,\
>>> ant_tasks/emf.ant.tasks.jar
>>> src.includes = about.html,\
>>> readme.html,\
>>> examples/
>>> jars.compile.order = .,\
>>> ant_tasks/emf.ant.tasks.jar
>>> source.. = src/
>>> output.. = bin/
>>> source.ant_tasks/emf.ant.tasks.jar = tasks/
>>> output.ant_tasks/emf.ant.tasks.jar = bin.tasks/
>>> exclude.. = **/doc-files/**
>>> exclude.ant_tasks/emf.ant.tasks.jar = **/doc-files/**
>>>
>>>
>>>
>>> Arinté wrote:
>>> I have a web project that has the src files and test/mock files.
>>> When the
>>> project is build I want to produce 2 jar files one for the src
>>> classes and
>>> one for the test/mock classes. How can I do this in Eclipse 3.4?
>>>
>>>
>>>
>>>
>>>
>>>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Re: Strange memory behavior?
Next Topic:Re: Eclipse Web Tools, publishing failed
Goto Forum:
  


Current Time: Fri Apr 26 01:40:00 GMT 2024

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

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

Back to the top