commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <ebo...@apache.org>
Subject [configuration] Compiling with the JDK 1.3 & 1.5
Date Wed, 07 Dec 2005 23:36:19 GMT
oheger@apache.org wrote:

> Modified: jakarta/commons/proper/configuration/trunk/project.properties
> URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/project.properties?rev=354834&r1=354833&r2=354834&view=diff
> ==============================================================================
> --- jakarta/commons/proper/configuration/trunk/project.properties (original)
> +++ jakarta/commons/proper/configuration/trunk/project.properties Wed Dec  7 11:30:00
2005
> @@ -34,7 +34,9 @@
>  maven.jar.override=on
>  maven.jar.resources=conf/resources.jar
>  
> +maven.dist.src.assembly.dir=${maven.dist.assembly.dir}/src/${maven.final.name}-src
> +
>  maven.compile.target = 1.3
> -maven.compile.source = 1.3
> +maven.compile.fork = true

Was the removal of 'maven.compile.source' necessary to compile with the 
JDK 1.3 ? Without this property the project can't be compiled with Java 
5, I get the following error :

java:compile:
[echo] Compiling to F:\dev\configuration/target/classes
[javac] Compiling 53 source files to F:\dev\configuration\target\classes
[javac] javac: target release 1.3 conflicts with default source release 1.5

That would be nice to find a trick working for all JDKs (after the 1.2 
release).

Emmanuel Bourg


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message