[
http://jira.jboss.com/jira/browse/JBREM-855?page=comments#action_12389231 ]
Ron Sigal commented on JBREM-855:
---------------------------------
Added two properties to build.xml: compile.source and compile.target. They are used by
the <javac> task in the "compile" and "tests.compile" targets.
They both default to ${ant.java.version}, i.e., to the JVM version detected by ant. The
default value can be overridden on the command line:
ant -Dcompile.source=1.4 -Dcompile.target=1.4 jars
Update build.xml to allow jdk 1.5 compiler to target JVM version 1.4
--------------------------------------------------------------------
Key: JBREM-855
URL:
http://jira.jboss.com/jira/browse/JBREM-855
Project: JBoss Remoting
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 2.4.0.Beta1 (Pinto), 2.2.2.GA_CP01
Reporter: Ron Sigal
Assigned To: Ron Sigal
Priority: Minor
Fix For: 2.4.0.Beta1 (Pinto), 2.2.2.GA_CP02
Fernando has suggested updating build.xml so that the *-brew scripts can use the jdk 1.5
compiler to generate code that is compatible with a 1.4 JVM. This way we have a single
version of jboss-remoting.jar in the repository which is (1) appropriate in the current
versions of the Application Server, which are compiled with jdk 1.5, and (2) usable in a
standalone context by clients built with a jdk 1.4 compiler.
The changes should be applied to the following branches:
- remoting_2_2_0_GA (for community AS)
- remoting_2_2_2_GA_CP (for EAP 4.2 and 4.3)
- remoting_2_x (for Remoting 2.4.0)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira