This concept has been floating around the list for a while.  I've got
the same problem.  I'm hoping somebody has a solution or at least a good
idea of what road to go down. I'd be happy to try coding something, but I have a feeling that somebody is already working on this. If not, any thoughts on where to look?

war plugin?
new plugin?
something else?

I've got this to work with the assembly plugin, but it would only work
with a jar or zip output, which would then have to be renamed to war.
Not horrible, but there's an easier way to do it. This approach also has some other issues:

- No web.xml merging
- No automatic support of things like 'war:exploded'
- Generally breaks the concept of project descriptor being enough info to build a project. You should be able to specify a particular war artifact as a dependency and have it included in your current war project.

Any thoughts or comments welcome. Kind of lost at this point. In a general sense, I think there should be a way to include common web application components inside a web application project. Similar to including java classes in dependent jars. Reusing the code. We do this currently with file sharing in visual source safe, but that sucks, and I'm trying to move us off vss anyway.

Thanks,

-Kevin

[EMAIL PROTECTED] wrote:



I want to combine 2 war files into 1, so I have a war project with a subset
of functionallity.  I then have another war project that I want to depend
on the first war project with.  I would then have tasks to unwar the war
file, so that the files from both wars can then be war'ed up together.

However, when using a war project, any war type dependencies don't get
transferred into the /target folder (tried test, compile, runtime, and
provided).

When using an ear project, the war dependencies get transferred into the
/target folder, and that is exactly what I need, just for a war project.

Any ideas??
___________________________________
Damian Bradicich
Software Developer
Scientific Technologies Corporation
Tel: (603) 471-4712
Email: [EMAIL PROTECTED]
Web Site: www.stchome.com
"Advancing Public Health Outcomes Through Information Technology"
___________________________________


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to