Details
-
Bug
-
Status: Closed
-
Resolution: Cannot Reproduce
-
current (nightly)
-
None
-
None
-
Operating System: Other
Platform: Other
-
24323
Description
I tried to create a generate task in build.xml
but it seems I need to add another <ant> call or something.
<target name="generate">
<ant antfile="buildjs.xml" target="generate" inheritall="false"
inheritrefs="false"/>
<ant antfile="buildjm.xml" target="generate" inheritall="false"
inheritrefs="false"/>
<ant antfile="buildpm.xml" target="generate" inheritall="false"
inheritrefs="false"/>
</target>
BUILD FAILED: java.lang.VerifyError: (class:
org/apache/xerces/parsers/IntegratedParserConfiguration, method:
configurePipeline signature: ()V) Incompatible type for getting or setting
field
There ought to be a general 'generate' task which only generates code, without
compiling or packaging. Or if it does then only the essential code for code
generating.
The rationale is incremental building and when only looking at the code,
without actually intending to build/ship code. The examples are hard to look
at unless the code is generated. Compiling the examples is in many cases not
what you want to do