no, the build will work. It may break on 1.1 or 1.2, but will run on 1.4. The default value for this is 1.1.
- Brett On Thu, 15 Jul 2004 16:09:58 +0200, Arnaud Heritier <[EMAIL PROTECTED]> wrote: > Can't you also use something like : > > maven.compile.target = 1.3 > > Your build will be broken if the code isn't compatible with the jvm 1.3 ! > > Arnaud > > > -----Message d'origine----- > > De : Henri Tremblay [mailto:[EMAIL PROTECTED] > > Envoy� : jeudi 15 juillet 2004 15:09 > > � : [EMAIL PROTECTED] > > Cc : [EMAIL PROTECTED] > > Objet : RE: Checking Java Version > > > > > > I'm not really good with jelly but as soon as you can access > > > > System.getProperty("...") > > > > There are 2 interesting properties: > > java.version=1.4.2_01 > > java.specification.version=1.4 > > > > You should have what you need. > > > > Cheers, > > Henri > > > > >From: "Raphael Philipe Mendes da Silva" <[EMAIL PROTECTED]> > > >Reply-To: "Maven Users List" <[EMAIL PROTECTED]> > > >To: "Maven Users List (E-mail)" <[EMAIL PROTECTED]> > > >Subject: Checking Java Version > > >Date: Thu, 15 Jul 2004 09:24:38 -0300 > > > > > > Hi, > > > In ou company we have some restrictions with the version of the JVM. We > > >need to use the version 1.3.1_09 because of our clients machines. > > > Recently a developer used some methods only presents since the version > > >1.4 in a component, and our daily build failed, because the machine that is > > >used to daily builds have the jvm 1.3 .We need some way to detect the jvm > > >version to prevent these errors when the developers are testing his > > >components localy, in his machines. > > > There are some way to detect the jvm version in a jelly script using > > >some ant task or maven tag??? > > > > > > > > >Regards > > > > > >Raphael Philipe Mendes da Silva > > >DSB - Diretoria de Solu��es em Billing > > >CPqD Telecom & IT Solutions > > >Tel.: +55 19 3705-6957 > > >www.cpqd.com.br > > >[EMAIL PROTECTED] > > > > > > > > >--------------------------------------------------------------------- > > >To unsubscribe, e-mail: [EMAIL PROTECTED] > > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > _________________________________________________________________ > > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > > http://join.msn.com/?page=features/featuredemail > > > > > > --------------------------------------------------------------------- > > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
