Multiple Java Versions

"Wong, Patrick" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <553815EB45D039498976B338119FD80B3E6E48@NAWINMSX020.enterprisenet.org>
Hello,

 

We are currently running CruiseControl 2.7.3 on Java 5. Thus far, in
order to compile projects that require Java 6, we pass a property to the
Ant builder in order to force JAVA_HOME to point to the place where Java
6 is installed. However, when trying to build a project that uses custom
annotations, we get the error:

package javax.annotation does not exist

 

Does the JAVA_HOME environment variable that CruiseControl is started
with take precedence over how Ant is called, with respect to importing
certain Java features?

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.