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)
  • Mojo
  • MOJO-126

New Exe4J plugin submission

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: _Plugin Submission
  • Labels:
    None
  • Environment:
    WIn32
  • Complexity:
    Intermediate
  • Testcase included:
    yes

Description

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.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Hide
    Zip Archive
    exe4j-maven-plugin.zip
    10/Feb/06 8:12 AM
    41 kB
    John Allen
    1. Text File
      exe4j-maven-plugin/LICENSE.txt 1 kB
    2. XML File
      exe4j-maven-plugin/pom.xml 2 kB
    3. Java Source File
      exe4j-maven-plugin/.../AbstractExecuteMojo.java 2 kB
    4. Java Source File
      exe4j-maven-plugin/.../ConfigClassPath.java 7 kB
    5. Java Source File
      exe4j-maven-plugin/.../ConfigConverter.java 18 kB
    6. Java Source File
      exe4j-maven-plugin/.../ConfigEnumType.java 4 kB
    7. Java Source File
      exe4j-maven-plugin/.../ConfigExecutableMode.java 2 kB
    8. Java Source File
      exe4j-maven-plugin/.../ConfigJarExeMode.java 2 kB
    9. Java Source File
      exe4j-maven-plugin/.../ConfigJRESearchPath.java 6 kB
    10. Java Source File
      exe4j-maven-plugin/.../ConfigNativeLibraries.java 3 kB
    11. Java Source File
      exe4j-maven-plugin/.../ConfigQuotedString.java 2 kB
    12. Java Source File
      exe4j-maven-plugin/.../ConfigStatusLine.java 2 kB
    13. Java Source File
      exe4j-maven-plugin/.../ConfigTextLine.java 5 kB
    14. Java Source File
      exe4j-maven-plugin/.../ConfigVersionLine.java 2 kB
    15. Java Source File
      exe4j-maven-plugin/.../ConfigVersionString.java 2 kB
    16. HTML File
      exe4j-maven-plugin/src/.../package.html 0.1 kB
    17. Java Source File
      exe4j-maven-plugin/src/.../Exe4JMojo.java 31 kB
    18. Java Source File
      exe4j-maven-plugin/src/.../ExecuteMojo.java 2 kB
    19. HTML File
      exe4j-maven-plugin/src/.../package.html 0.2 kB
    20. Java Source File
      exe4j-maven-plugin/src/.../CompilerTask.java 8 kB
    21. HTML File
      exe4j-maven-plugin/src/.../package.html 0.1 kB
    22. XML File
      exe4j-maven-plugin/src/.../components.xml 1 kB
    23. XML File
      exe4j-maven-plugin/.../template-exe4j.xml 3 kB
    24. File
      exe4j-maven-plugin/src/.../apt/howto.apt 5 kB
    25. File
      exe4j-maven-plugin/src/.../introduction.apt 2 kB
    26. XML File
      exe4j-maven-plugin/src/site/site.xml 0.9 kB
    27. Java Source File
      exe4j-maven-plugin/.../ConfigVersionStringTest.java 0.6 kB
    Download Zip
    Show
    Zip Archive
    exe4j-maven-plugin.zip
    10/Feb/06 8:12 AM
    41 kB
    John Allen
  2. Hide
    Zip Archive
    exe4j-maven-plugin.zip
    20/Nov/05 11:33 AM
    35 kB
    John Allen
    1. Text File
      exe4j-maven-plugin/LICENSE.txt 0.6 kB
    2. XML File
      exe4j-maven-plugin/pom.xml 1 kB
    3. Java Source File
      exe4j-maven-plugin/.../ClassPathLocation.java 5 kB
    4. Java Source File
      exe4j-maven-plugin/src/.../EnumType.java 3 kB
    5. Java Source File
      exe4j-maven-plugin/.../Exe4JException.java 1 kB
    6. Java Source File
      exe4j-maven-plugin/.../Exe4JExecutor.java 8 kB
    7. Java Source File
      exe4j-maven-plugin/src/.../Exe4JMojo.java 28 kB
    8. Java Source File
      exe4j-maven-plugin/src/.../ExecuteMojo.java 3 kB
    9. Java Source File
      exe4j-maven-plugin/.../JREPathLocation.java 4 kB
    10. Java Source File
      exe4j-maven-plugin/.../MojoParameters.java 5 kB
    11. HTML File
      exe4j-maven-plugin/src/.../package.html 0.2 kB
    12. Java Source File
      exe4j-maven-plugin/.../ParameterTransformer.java 10 kB
    13. Java Source File
      exe4j-maven-plugin/src/.../StatusLine.java 2 kB
    14. Java Source File
      exe4j-maven-plugin/.../StringSubstitutor.java 2 kB
    15. Java Source File
      exe4j-maven-plugin/src/.../TextLine.java 5 kB
    16. Java Source File
      exe4j-maven-plugin/src/.../VersionLine.java 2 kB
    17. XML File
      exe4j-maven-plugin/.../template-exe4j.xml 4 kB
    18. File
      exe4j-maven-plugin/src/.../configuration.apt 4 kB
    19. File
      exe4j-maven-plugin/src/.../apt/howto.apt 0.5 kB
    20. XML File
      exe4j-maven-plugin/src/site/site.xml 0.5 kB
    21. Java Source File
      exe4j-maven-plugin/.../ParameterTransformerTest.java 2 kB
    22. Java Source File
      exe4j-maven-plugin/.../StringSubstitutorTest.java 2 kB
    Download Zip
    Show
    Zip Archive
    exe4j-maven-plugin.zip
    20/Nov/05 11:33 AM
    35 kB
    John Allen

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
John Allen added a comment - 10/Feb/06 8:12 AM

Much updated version which now uses its own custom configuration handling.

Show
John Allen added a comment - 10/Feb/06 8:12 AM Much updated version which now uses its own custom configuration handling.
Hide
Permalink
David Hoffer added a comment - 05/Jul/07 12:25 PM

What is the status of this project? Do you have any documentation as to its features and operation?

Show
David Hoffer added a comment - 05/Jul/07 12:25 PM What is the status of this project? Do you have any documentation as to its features and operation?
Hide
Permalink
David Hoffer added a comment - 05/Jul/07 1:10 PM

Woops, looks like you do have some docs in the site goal, I will check this out!

Show
David Hoffer added a comment - 05/Jul/07 1:10 PM Woops, looks like you do have some docs in the site goal, I will check this out!
Hide
Permalink
David Hoffer added a comment - 05/Jul/07 4:08 PM

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

Show
David Hoffer added a comment - 05/Jul/07 4:08 PM 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

People

  • Assignee:
    Unassigned
    Reporter:
    John Allen
Vote (2)
Watch (3)

Dates

  • Created:
    20/Nov/05 11:33 AM
    Updated:
    05/Jul/07 4:08 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.