Hi,<div><br></div><div>I upgraded everything from M5 to CR1 last night, but noticed that my ant task no longer worked and was returning an error (it had worked previously under M5, and I confirmed by switching everything back to test). The error I now receive is:</div>
<div><br></div><div><div>[compiler] java.util.zip.ZipException: error in opening zip file</div><div>[compiler]     at java.util.zip.ZipFile.open(Native Method)</div><div>[compiler]     at java.util.zip.ZipFile.&lt;init&gt;(ZipFile.java:203)</div>
<div>[compiler]     at java.util.zip.ZipFile.&lt;init&gt;(ZipFile.java:234)</div><div>[compiler]     at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:1028)</div><div>[compiler]     at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.findNextResource(AntClassLoader.java:147)</div>
<div>[compiler]     at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.nextElement(AntClassLoader.java:130)</div><div>[compiler]     at org.apache.tools.ant.util.CollectionUtils$CompoundEnumeration.nextElement(CollectionUtils.java:198)</div>
<div>[compiler]     at sun.misc.CompoundEnumeration.nextElement(CompoundEnumeration.java:43)</div><div>[compiler]     at org.drools.util.ChainedProperties.loadProperties(ChainedProperties.java:233)</div><div>[compiler]     at org.drools.util.ChainedProperties.&lt;init&gt;(ChainedProperties.java:119)</div>
<div>[compiler]     at org.drools.util.ChainedProperties.&lt;init&gt;(ChainedProperties.java:41)</div><div>[compiler]     at org.drools.util.ChainedProperties.&lt;init&gt;(ChainedProperties.java:35)</div><div>[compiler]     at org.drools.RuleBaseConfiguration.init(RuleBaseConfiguration.java:376)</div>
<div>[compiler]     at org.drools.RuleBaseConfiguration.&lt;init&gt;(RuleBaseConfiguration.java:234)</div><div>[compiler]     at org.drools.common.AbstractRuleBase.&lt;init&gt;(AbstractRuleBase.java:149)</div><div>[compiler]     at org.drools.reteoo.ReteooRuleBase.&lt;init&gt;(ReteooRuleBase.java:144)</div>
<div>[compiler]     at org.drools.reteoo.ReteooRuleBase.&lt;init&gt;(ReteooRuleBase.java:121)</div><div>[compiler]     at org.drools.RuleBaseFactory.newRuleBase(RuleBaseFactory.java:58)</div><div>[compiler]     at org.drools.RuleBaseFactory.newRuleBase(RuleBaseFactory.java:38)</div>
<div>[compiler]     at org.drools.contrib.DroolsCompilerAntTask.createWithPackageBuilder(DroolsCompilerAntTask.java:241)</div><div>[compiler]     at org.drools.contrib.DroolsCompilerAntTask.execute(DroolsCompilerAntTask.java:170)</div>
<div>[compiler]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)</div><div>[compiler]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</div><div>[compiler]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)</div>
<div>[compiler]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)</div><div>[compiler]     at java.lang.reflect.Method.invoke(Method.java:585)</div><div>[compiler]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)</div>
<div>[compiler]     at org.apache.tools.ant.Task.perform(Task.java:348)</div><div>[compiler]     at org.apache.tools.ant.Target.execute(Target.java:357)</div><div>[compiler]     at org.apache.tools.ant.Target.performTasks(Target.java:385)</div>
<div>[compiler]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)</div><div>[compiler]     at org.apache.tools.ant.Project.executeTarget(Project.java:1306)</div><div>[compiler]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)</div>
<div>[compiler]     at org.apache.tools.ant.Project.executeTargets(Project.java:1189)</div><div>[compiler]     at org.apache.tools.ant.Main.runBuild(Main.java:758)</div><div>[compiler]     at org.apache.tools.ant.Main.startAnt(Main.java:217)</div>
<div>[compiler]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)</div><div>[compiler]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)</div><div><br></div><div>My build.xml is:</div><div>
<br></div><div><div>&lt;project name=&quot;test&quot; default=&quot;compile&quot;&gt;</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;path id=&quot;drools.path.task&quot;&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;fileset dir=&quot;C:\Apps\drools-5.0.0.CR1-bin&quot;&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>&lt;include name=&quot;drools-compiler-5.0.0.CR1.jar&quot;/&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>&lt;include name=&quot;drools-ant-5.0.0.CR1.jar&quot;/&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>&lt;include name=&quot;drools-core-5.0.0.CR1.jar&quot;/&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>&lt;include name=&quot;drools-decisiontables-5.0.0.CR1.jar&quot;/&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>&lt;include name=&quot;drools-api-5.0.0.CR1.jar&quot;/&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;/fileset&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;fileset dir=&quot;C:\Apps\drools-5.0.0.CR1-bin\lib&quot;&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>&lt;include name=&quot;*.jar&quot;/&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;/fileset&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;/path&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;path id=&quot;drools.path&quot;&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;pathelement path=&quot;target\classes&quot;/&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;fileset dir=&quot;C:\Apps\drools-5.0.0.CR1-bin&quot;&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>&lt;include name=&quot;drools-ant-5.0.0.CR1.jar&quot;/&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>&lt;include name=&quot;drools-decisiontables-5.0.0.CR1.jar&quot;/&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>&lt;include name=&quot;drools-api-5.0.0.CR1.jar&quot;/&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;/fileset&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;/path&gt;</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;taskdef name=&quot;compiler&quot; classname=&quot;org.drools.contrib.DroolsCompilerAntTask&quot; classpathref=&quot;drools.path.task&quot; /&gt;</div>
<div><br></div><div>    &lt;target name=&quot;create.rules.package&quot; &gt;<span class="Apple-tab-span" style="white-space:pre">                </span></div><div>        &lt;compiler</div><div>            srcdir=&quot;src\main\rules&quot;</div>
<div>            tofile=&quot;target\package\packge.pkg&quot;</div><div>            classpathref=&quot;drools.path&quot;&gt;</div><div>            &lt;include name=&quot;Sample.drl&quot; /&gt;</div><div>        &lt;/compiler&gt;</div>
<div>    &lt;/target&gt;</div><div>    </div><div>    &lt;target name=&quot;clean&quot;&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;delete includeemptydirs=&quot;true&quot;&gt;</div><div>
<span class="Apple-tab-span" style="white-space:pre">                        </span>&lt;fileset dir=&quot;target&quot;/&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;/delete&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;/target&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;target name=&quot;compile&quot; depends=&quot;clean&quot;&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;mkdir dir=&quot;target/classes&quot;/&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;mkdir dir=&quot;logs&quot;/&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;javac destdir=&quot;target/classes&quot; debug=&quot;on&quot; source=&quot;1.5&quot; target=&quot;1.5&quot;&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>&lt;src path=&quot;src\main\java&quot;/&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>&lt;classpath refid=&quot;drools.path.task&quot;/&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;/javac&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;/target&gt;</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;target name=&quot;init&quot;&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;mkdir dir=&quot;target/classes&quot;/&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;mkdir dir=&quot;target&quot;/&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;mkdir dir=&quot;target/wsdl2javasource&quot;/&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;/target&gt;</div><div>&lt;/project&gt;</div>
<div><br></div><div>If anyone has any ideas, they would be much appreciated!</div><div><br></div><div>Thanks!</div><div><br></div><div>jeff</div></div></div>