You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/05/08 03:03:57 UTC
[jira] Closed: (MPJAVA-18) maven-java-plugin-1.3 needs patch to generate code for prior version.
Message:
The following issue has been closed.
Resolver: Brett Porter
Date: Fri, 7 May 2004 9:02 PM
applied. thanks.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPJAVA-18
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPJAVA-18
Summary: maven-java-plugin-1.3 needs patch to generate code for prior version.
Type: Bug
Status: Closed
Priority: Minor
Resolution: FIXED
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-java-plugin
Assignee: Brett Porter
Reporter: Lynn Richards
Created: Thu, 8 Apr 2004 3:27 PM
Updated: Fri, 7 May 2004 9:02 PM
Environment: Windows XP
Running java 1.4.2_03
Compiling for java 1.3.1_09
Description:
I believe that the following code is required in maven-java-pluging-1.3/plugin.jelly to get the java compiler to generate code for a prior release:
<j:if test="${context.getVariable('maven.compile.bootclasspath') != null}">
<ant:bootclasspath>
<ant:pathelement path="${maven.compile.bootclasspath}"/>
</ant:bootclasspath>
</j:if>
<j:if test="${context.getVariable('maven.compile.extdirs') != null}">
<ant:bootclasspath>
<ant:pathelement path="${maven.compile.extdirs}"/>
</ant:bootclasspath>
</j:if>
In addition, I use the following statements in my ~/build.properties:
maven.compile.source=1.3
maven.compile.target=1.3
# jce/jdk only required for 1.3 and less
jce_path=c:/javasoft/jce-1_2_2
jdk_path=c:/javasoft/j2sdk-1_3_1-09
maven.compile.bootclasspath=${jdk_path}/lib/tools.jar;${jdk_path}/lib/dt.jar;${jdk_path}/jre/lib/rt.jar;${jdk_path}/jre/lib/jaws.jar;${jdk_path}/jre/lib/i18n.jar;${jce_path}/lib/jce1_2_2.jar
Thanks,
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org