Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: _Plugin Submission
-
Labels:None
-
Environment:WIn32
-
Complexity:Intermediate
-
Testcase included:yes
-
Number of attachments :2
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.
-
Hide
- exe4j-maven-plugin.zip
- 10/Feb/06 8:12 AM
- 41 kB
- John Allen
-
- exe4j-maven-plugin/LICENSE.txt 1 kB
- exe4j-maven-plugin/pom.xml 2 kB
- exe4j-maven-plugin/.../AbstractExecuteMojo.java 2 kB
- exe4j-maven-plugin/.../ConfigClassPath.java 7 kB
- exe4j-maven-plugin/.../ConfigConverter.java 18 kB
- exe4j-maven-plugin/.../ConfigEnumType.java 4 kB
- exe4j-maven-plugin/.../ConfigExecutableMode.java 2 kB
- exe4j-maven-plugin/.../ConfigJarExeMode.java 2 kB
- exe4j-maven-plugin/.../ConfigJRESearchPath.java 6 kB
- exe4j-maven-plugin/.../ConfigNativeLibraries.java 3 kB
- exe4j-maven-plugin/.../ConfigQuotedString.java 2 kB
- exe4j-maven-plugin/.../ConfigStatusLine.java 2 kB
- exe4j-maven-plugin/.../ConfigTextLine.java 5 kB
- exe4j-maven-plugin/.../ConfigVersionLine.java 2 kB
- exe4j-maven-plugin/.../ConfigVersionString.java 2 kB
- exe4j-maven-plugin/src/.../package.html 0.1 kB
- exe4j-maven-plugin/src/.../Exe4JMojo.java 31 kB
- exe4j-maven-plugin/src/.../ExecuteMojo.java 2 kB
- exe4j-maven-plugin/src/.../package.html 0.2 kB
- exe4j-maven-plugin/src/.../CompilerTask.java 8 kB
- exe4j-maven-plugin/src/.../package.html 0.1 kB
- exe4j-maven-plugin/src/.../components.xml 1 kB
- exe4j-maven-plugin/.../template-exe4j.xml 3 kB
- exe4j-maven-plugin/src/.../apt/howto.apt 5 kB
- exe4j-maven-plugin/src/.../introduction.apt 2 kB
- exe4j-maven-plugin/src/site/site.xml 0.9 kB
- exe4j-maven-plugin/.../ConfigVersionStringTest.java 0.6 kB
-
Hide
- exe4j-maven-plugin.zip
- 20/Nov/05 11:33 AM
- 35 kB
- John Allen
-
- exe4j-maven-plugin/LICENSE.txt 0.6 kB
- exe4j-maven-plugin/pom.xml 1 kB
- exe4j-maven-plugin/.../ClassPathLocation.java 5 kB
- exe4j-maven-plugin/src/.../EnumType.java 3 kB
- exe4j-maven-plugin/.../Exe4JException.java 1 kB
- exe4j-maven-plugin/.../Exe4JExecutor.java 8 kB
- exe4j-maven-plugin/src/.../Exe4JMojo.java 28 kB
- exe4j-maven-plugin/src/.../ExecuteMojo.java 3 kB
- exe4j-maven-plugin/.../JREPathLocation.java 4 kB
- exe4j-maven-plugin/.../MojoParameters.java 5 kB
- exe4j-maven-plugin/src/.../package.html 0.2 kB
- exe4j-maven-plugin/.../ParameterTransformer.java 10 kB
- exe4j-maven-plugin/src/.../StatusLine.java 2 kB
- exe4j-maven-plugin/.../StringSubstitutor.java 2 kB
- exe4j-maven-plugin/src/.../TextLine.java 5 kB
- exe4j-maven-plugin/src/.../VersionLine.java 2 kB
- exe4j-maven-plugin/.../template-exe4j.xml 4 kB
- exe4j-maven-plugin/src/.../configuration.apt 4 kB
- exe4j-maven-plugin/src/.../apt/howto.apt 0.5 kB
- exe4j-maven-plugin/src/site/site.xml 0.5 kB
- exe4j-maven-plugin/.../ParameterTransformerTest.java 2 kB
- exe4j-maven-plugin/.../StringSubstitutorTest.java 2 kB
Activity
What is the status of this project? Do you have any documentation as to its features and operation?
Woops, looks like you do have some docs in the site goal, I will check this out!
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
Much updated version which now uses its own custom configuration handling.