jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 1.x Java Plugin
  • MPJAVA-6

java plugin not respecting fork settings

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Labels:
    None

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)

Issue Links

is depended upon by

Task - A task that needs to be done. MAVEN-401 Release maven-b10

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
dion gillard added a comment - 29/Jun/03 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

Show
dion gillard added a comment - 29/Jun/03 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

People

  • Assignee:
    dion gillard
    Reporter:
    dion gillard
Vote (0)
Watch (0)

Dates

  • Created:
    29/Jun/03 9:59 AM
    Updated:
    01/Dec/03 1:02 AM
    Resolved:
    29/Jun/03 12:00 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.