Hi,
check the MoveDirs branch.
I've done it in 3 steps - Maven GA, then Java packages, then dirs.
It's possible that I ommited something.
What's left: Split exec into /ext/config-xml and /rules.
But now I'm hitting an exception in unzip code. Still sure about
prefering JDK over 3rd party?
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.726
sec <<< FAILURE! - in
org.jboss.windup.tests.application.WindupArchitectureTest
testRunWindup(org.jboss.windup.tests.application.WindupArchitectureTest)
Time elapsed: 2.211 sec <<< ERROR!
org.javassist.tmp.java.lang.RuntimeException_$$_javassist_7b56a6e9-75b1-47f4-a167-cd6f40a091bd:
null
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:215)
at java.util.zip.ZipFile.<init>(ZipFile.java:145)
at java.util.zip.ZipFile.<init>(ZipFile.java:159)
at org.jboss.windup.util.ZipUtil.unzipToFolder(ZipUtil.java:33)
at
org.jboss.windup.config.operation.ruleelement.UnzipArchiveToTemporaryFolder.unzipToTempDirectory(UnzipArchiveToTemporaryFolder.java:95)
at
org.jboss.windup.config.operation.ruleelement.UnzipArchiveToTemporaryFolder.perform(UnzipArchiveToTemporaryFolder.java:61)
at
org.jboss.windup.config.operation.ruleelement.UnzipArchiveToTemporaryFolder.perform(UnzipArchiveToTemporaryFolder.java:23)
at
org.jboss.windup.config.operation.ruleelement.AbstractIterationOperator.perform(AbstractIterationOperator.java:31)
at
org.jboss.windup.config.operation.GraphOperation.perform(GraphOperation.java:24)
at
org.jboss.windup.config.operation.Iteration.perform(Iteration.java:149)
at
org.jboss.windup.config.operation.Iteration.perform(Iteration.java:134)
at
org.ocpsoft.rewrite.config.DefaultOperationBuilder$DefaultCompositeOperation.perform(DefaultOperationBuilder.java:56)
at
org.ocpsoft.rewrite.config.RuleBuilder.perform(RuleBuilder.java:136)
at
org.ocpsoft.rewrite.config.DefaultOperationBuilder$DefaultCompositeOperation.perform(DefaultOperationBuilder.java:56)
at
org.ocpsoft.rewrite.config.RuleBuilder.perform(RuleBuilder.java:136)
at
org.jboss.windup.config.GraphSubset.perform(GraphSubset.java:126)
at
org.jboss.windup.exec.ConfigurationProcessorImpl.run(ConfigurationProcessorImpl.java:41)
at
org.jboss.windup.exec.WindupProcessorImpl.execute(WindupProcessorImpl.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59)
at
org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75)
at
org.jboss.windup.exec.WindupProcessorImpl_$$_javassist_62a491cc-be9f-4153-b8c5-c048e9b5384e.execute(WindupProcessorImpl_$$_javassist_62a491cc-be9f-4153-b8c5-c048e9b5384e.java)
at
org.jboss.windup.tests.application.WindupArchitectureTest.testRunWindup(WindupArchitectureTest.java:62)
Ondra