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 2003/06/29 19:00:56 UTC
[jira] Closed: (MAVEN-523) java plugin not respecting fork settings
Message:
The following issue has been closed.
Resolver: dion gillard
Date: Sun, 29 Jun 2003 12:00 PM
It appears this has been fixed for quite some time. plugin.jelly for the java plugin doesn't use fork="" as a javac attribute
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-523
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-523
Summary: java plugin not respecting fork settings
Type: Bug
Status: Closed
Priority: Minor
Resolution: FIXED
Time Spent: Unknown
Estimate: 0 minutes
Project: maven
Components:
plugin-java
Fix Fors:
1.0-beta-10
Versions:
1.0-beta-10
Assignee: dion gillard
Reporter: dion gillard
Created: Sun, 29 Jun 2003 9:59 AM
Updated: Sun, 29 Jun 2003 12:00 PM
Description:
In the Java jelly.plugin, it looks like fork is being set to true in all cases, even when I have maven.compile.fork=no in my project.properties (or my build.properties, or on the command line as a system property). What dumb thing am I doing wrong?
Excerpt:
<j:choose>
<j:when test="${sourcesPresent == 'true'}">
<ant:javac
fork="true"
destdir="${maven.build.dest}"
excludes="**/package.html"
debug="${maven.compile.debug}"
deprecation="${maven.compile.deprecation}"
optimize="${maven.compile.optimize}">
<ant:src>
<ant:path refid="maven.compile.src.set"/>
</ant:src>
[snip]
<j:if test="${context.getVariable('maven.compile.fork') != null}">
<ant:setProperty name="fork" value="${maven.compile.fork}" />
</j:if>
[snip]
</j:choose>
In my case, that ant:setProperty call is not being picked up; fork is apparently always "yes".
Cheers,
Laird (new and enthusiastic Maven user)
--
Laird J. Nelson
Electronic Channel Group, Fidelity eBusiness (Veritude)
---------------------------------------------------------------------
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/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