[ 
http://jira.codehaus.org/browse/MOJO-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101406
 ] 

David Hoffer commented on MOJO-126:
-----------------------------------

I notice that this code was designed for exe4j version 3.1.  However the 
current version of exe4j, that I downloaded for eval is version 4.0.3.

When I run the exe4j goal using the more complete example I get a number of 
problems:

- The output folder for exe4j.xml is named "null".
- When the resulting exe is run it gives a GUI error stating "File or directory 
..\classes not found or empty"
- The dependencies do not seem to be present in either the target or 
target/classes folder.
- If jvmParameters is not set (I used your example value) then I get the 
following error:

java.lang.NullPointerException
        at org.codehaus.mojo.exe4j.Exe4JMojo.getProperties(Exe4JMojo.java:802)
        at org.codehaus.mojo.exe4j.Exe4JMojo.execute(Exe4JMojo.java:581)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)

Is there a newer version of this plugin that is compatable with 4.0.3?  If not, 
do you have any suggestions how I may get this to work with 4.0.3?

Thanks much!
Dave







> New Exe4J plugin submission
> ---------------------------
>
>                 Key: MOJO-126
>                 URL: http://jira.codehaus.org/browse/MOJO-126
>             Project: Mojo
>          Issue Type: New Feature
>          Components: Plugin Submission
>         Environment: WIn32 
>            Reporter: John Allen
>         Attachments: exe4j-maven-plugin.zip, exe4j-maven-plugin.zip
>
>
> Exe4j is a WIN32 bootstrap EXE generator for Java programs.
> See http://www.ej-technologies.com/products/exe4j/overview.html for further 
> details of the generator.
> Plugin does the usual things, allows execution of exe4j CLI compiler from 
> within maven environment and supports extensive POM based configuration as 
> well as simpler external config file configuration.
> Note that this plugin is only of use on WIN32 platforms but will happily 
> build on all JDK supporting environments as it has no native WIN32 
> dependencies, therefore i will leave it to you to decide whether you want to 
> control build of the plugin via a 'WIN32 only' profile activation in its 
> parent POM.
> Hope you will add it to the sandbox.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to