For sure -- that would be simples, but I have to imagine (and could
be dreaming) that we can bend Maven to our will and have separate,
individually configured / built modules that can be rolled into a
single JAR file at the end.

 That keeps the number of JARs from exploding (Maven's natural
tendency) while still enforcing a specific language version at compile
time.

 Craig, in your Maven experience, do you think such an approach is possible?

Eddie






On 5/30/06, Craig L Russell <[EMAIL PROTECTED]> wrote:

On May 30, 2006, at 5:27 PM, Patrick Linskey wrote:

>> Would it be ok to build three different jar files based on
>> whether the target was 1.3, 1.4, or 1.5? Packaging the
>> different jar files into one could be a post-build exercise.
>> Or a specific build target that combined the three jar files.
>>
>> How is the source code structured today?
>
> That could work I guess. For the most part, a given module is in
> only one
> language version, but there are a fewt scattered exceptions to this.
> Probably we only will need special 1.4 and 1.5 code areas for one
> module in
> particular.

For sure, you need the implementation of second class objects for the
1.4-specific classes and interfaces. And for 1.5, it's the entire
annotation processor. If these can be separate maven projects that
build their own jars that would be the simplest approach.

Craig

>
> -Patrick
> ______________________________________________________________________
> _
> Notice:  This email message, together with any attachments, may
> contain
> information  of  BEA Systems,  Inc.,  its subsidiaries  and
> affiliated
> entities,  that may be confidential,  proprietary,  copyrighted
> and/or
> legally privileged, and is intended solely for the use of the
> individual
> or entity named in this message. If you are not the intended
> recipient,
> and have received this message in error, please immediately return
> this
> by email and then delete it.

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!




Reply via email to