Building files with different jdk versions

2007-05-31 Thread Piotr Skawinski
Hi, I need to build my project with the jdk1.5, but some of the files also need to be build with jdk1.4. Is it possible in a single pom.xml to specify the jdk version to be used to build the whole project and at the same time to specify other jdk version to be used to build only some files? If no

Building files with different jdk versions

2007-05-31 Thread Piotr Skawinski
Hi,I need to build my project with the jdk1.5, but some of the files also need to be build with jdk1.4. Is it possible in a single pom.xml to specify the jdk version to be used to build the whole project and at the same time to specify other jdk version to be used to build only some files? If not

Building files with different jdk versions

2007-05-31 Thread Piotr Skawinski
Hi,I need to build my project with the jdk1.5, but some of the files also need to be build with jdk1.4. Is it possible in a single pom.xml to specify the jdk version to be used to build the whole project and at the same time to specify other jdk version to be used to build only some files? If not

Re: Building files with different jdk versions

2007-05-31 Thread Armin Ehrenfels
Piotr Skawinski wrote: Hi,I need to build my project with the jdk1.5, but some of the files also need to be build with jdk1.4. Is it possible in a single pom.xml to specify the jdk version to be used to build the whole project and at the same time to specify other jdk version to be used to build

Re: Building files with different jdk versions

2007-05-31 Thread Eric Redmond
You probably should separate your project into different projects each containing the set of files you want, allowing each one to use it's own compiler: http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-using-different-jdk.html Or if you can get away with it (which most peop

RE: Building files with different jdk versions

2007-06-01 Thread Piotr Skawinski
This is what I did, thanks a lot -:))> Date: Thu, 31 May 2007 20:44:01 -0500> From: [EMAIL PROTECTED]> To: users@maven.apache.org> Subject: Re: Building files with different jdk versions> > You probably should separate your project into different projects each> containing