Nicolas De Loof wrote on Monday, August 21, 2006 5:31 PM:

> Hello,
> 
> I've a requirement for a utility lib to include both Java1.3
> and Java5
> code. I don't want to split my lib into two jars, but to split the
> source three into src/main/java and src/main/tiger. I'm
> searching for a
> way to configure the compiler plugin for this.
> 
> I've set two compiler configuration (default config is for 1.3 and
> <id>tiger</id> execution for java5)
> I've tried to use the build-helper plugin, but I cannot make int run
> between compiler default execution (java13) and compiler
> java5 execution.
> I've also looked at compiler doc, but "|compileSourceRoots|"
> seems to be
> readonly.
> 
> My requirement seems not to be so strange : take a look at
> Spring or any
> other utility/framework that want to add support for Java5 witout
> breaking existing code. 
> 
> Is there any known solution for this ?

It has flaws, but it works:
http://jira.codehaus.org/browse/MCOMPILER-37 (see my comment)

- Jörg

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

Reply via email to