Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.5.0-incubating
-
None
Description
When adding to the ilmerge-plugin the configuration
<netHome>\Some\Custom\Path<netHome>
Get an NPE when adding to the executableConfig.getExecutionPaths container before creating it.
My quick fix was
### Eclipse Workspace Patch 1.0 #P org.apache.npanday.dotnet-executable Index: src/main/java/npanday/executable/impl/NetExecutableFactoryImpl.java =================================================================== --- src/main/java/npanday/executable/impl/NetExecutableFactoryImpl.java (revision 1609378) +++ src/main/java/npanday/executable/impl/NetExecutableFactoryImpl.java (working copy) @@ -85,6 +85,8 @@ ? new ArrayList<String>() : executableConfig.getExecutionPaths(); + executableConfig.setExecutionPaths( executablePaths ); + if ( netHome != null ) { getLogger().info( "NPANDAY-066-014: Found executable path in pom: Path = " + netHome.getAbsolutePath() ); @@ -92,8 +94,6 @@ } - executableConfig.setExecutionPaths( executablePaths ); - final ExecutableCapability executableCapability = capabilityMatcher.matchExecutableCapabilityFor( executableRequirement );