Issue Details (XML | Word | Printable)

Key: NUCENHANCER-79
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: tglman
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Enhancer (ARCHIVED)

Enhancer Task boolean problems.

Created: 07/Oct/11 04:35 PM   Updated: 07/Nov/11 02:59 PM   Resolved: 08/Oct/11 11:50 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.1

File Attachments: 1. Text File enhancer.patch (1 kB)

Environment: ant

Severity: Development


 Description  « Hide
with an ant task configurated like this:

<datanucleusenhancer classpathref="project.classpath" dir="${project.build}" failonerror="true" verbose="true" detachlistener="true">
<jvmarg line="-Dlog4j.configuration=file:src/datanucleus-log4j.properties" />
</datanucleusenhancer>

i have this problem:

[datanucleusenhancer] Exception in thread "main" java.lang.RuntimeException: option -detachListener needs an argument
[datanucleusenhancer] at org.datanucleus.util.CommandLine.parse(CommandLine.java:200)
[datanucleusenhancer] at org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:1256)

Sort Order: Ascending order - Click to sort in descending order
tglman added a comment - 07/Oct/11 04:36 PM
I fix it with this simple patch.

tnks