Ant tasks to facilitate builds of Workshop apps in CM environment
The source files that we view and edit in Workshop are processed through code generators
to create the final Java classes that are deployed to the container. While testing
in Workshop, this code generation is done internally to Workshop.
However, if an application is being developed by more than one person, then we
have to be able to build the deployable application from the command line, using
Ant. This is because two users may commit independent changes to the same source
file, and the integration build has to include the results of both of those changes.
What documentation describes the Ant tasks that I can use to generate the deployable
application from the source code of a Workshop application? I did a cursory search
through the docs, but I didn't find anything conclusive.
Any idea, I'm looking for your opinion, what do you think of the above
Similar Messages
-
ANT task wsgen error while deploying RPC style web service
Hi
I am trying to assemble/deploy an rpc style weblogic web service using the 'wsgen'
Ant task and the build.xml scripts provided with the samples. I get this error:
Please help
Thanks,
Praveen
C:\test>ant
Buildfile: build.xml
webservice:
clean:
[delete] Deleting directory C:\test\build
init:
[mkdir] Created dir: C:\test\build
[mkdir] Created dir: C:\test\build\META-INF
[copy] Copying 5 files to C:\test\build\META-INF
compile_ejb:
[javac] Compiling 5 source files to C:\test\build
jar_ejb:
[jar] Building jar: C:\test\a_statelessSession.jar
ejbc:
all:
wsgen:
Error at line:8 col:12 ':' Already got a ':' in name
at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseExc
on(SAXElementFactory.java:60)
at weblogic.xml.babel.parsers.StreamParser.<init>(StreamParser.java:
at weblogic.xml.babel.parsers.BabelXMLEventStream.startDocument(Babe
EventStream.java:28)
at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:6
at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:5
at weblogic.soap.WebServiceProxy.getServiceFrom(WebServiceProxy.java
at weblogic.ant.taskdefs.ejb.WSGenHelper.writeClientJar(WSGenHelper.
:1125)
at weblogic.ant.taskdefs.ejb.WSGenHelper.writeWSDL(WSGenHelper.java:
at weblogic.ant.taskdefs.ejb.WSGenHelper.saveDescriptors(WSGenHelper
a:1415)
at weblogic.ant.taskdefs.ejb.WSGenHelper.output(WSGenHelper.java:148
at weblogic.ant.taskdefs.ejb.WSGenHelper.doit(WSGenHelper.java:1517)
at weblogic.ant.taskdefs.ejb.WSGen.execute(WSGen.java:93)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.Project.executeTargets(Project.java:510)
at org.apache.tools.ant.Main.runBuild(Main.java:421)
at org.apache.tools.ant.Main.main(Main.java:149)
BUILD SUCCESSFUL
Total time: 34 seconds
C:\test>WLS6.1, service pack 2? I didn't know there were any service packs for 6.1 and
6.0 didn't support wsgen and web services??
simon.
manoj cheenath <[email protected]> wrote:
>
>
This is a known bug which is fixed in WLS 6.1 SP2.
The workaround is to change the complex data types
to have more than one level package names.
for eg: change ....
package foo;
class Data{}
to :
package foo.bar;
class Data{}
-manoj
Praveen wrote:
Hi
I am trying to assemble/deploy an rpc style weblogic web service usingthe 'wsgen'
Ant task and the build.xml scripts provided with the samples. I getthis error:
Please help
Thanks,
Praveen
C:\test>ant
Buildfile: build.xml
webservice:
clean:
[delete] Deleting directory C:\test\build
init:
[mkdir] Created dir: C:\test\build
[mkdir] Created dir: C:\test\build\META-INF
[copy] Copying 5 files to C:\test\build\META-INF
compile_ejb:
[javac] Compiling 5 source files to C:\test\build
jar_ejb:
[jar] Building jar: C:\test\a_statelessSession.jar
ejbc:
all:
wsgen:
Error at line:8 col:12 ':' Already got a ':' in name
at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseExc
on(SAXElementFactory.java:60)
at weblogic.xml.babel.parsers.StreamParser.<init>(StreamParser.java:
at weblogic.xml.babel.parsers.BabelXMLEventStream.startDocument(Babe
EventStream.java:28)
at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:6
at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:5
at weblogic.soap.WebServiceProxy.getServiceFrom(WebServiceProxy.java
at weblogic.ant.taskdefs.ejb.WSGenHelper.writeClientJar(WSGenHelper.
:1125)
at weblogic.ant.taskdefs.ejb.WSGenHelper.writeWSDL(WSGenHelper.java:
at weblogic.ant.taskdefs.ejb.WSGenHelper.saveDescriptors(WSGenHelper
a:1415)
at weblogic.ant.taskdefs.ejb.WSGenHelper.output(WSGenHelper.java:148
at weblogic.ant.taskdefs.ejb.WSGenHelper.doit(WSGenHelper.java:1517)
at weblogic.ant.taskdefs.ejb.WSGen.execute(WSGen.java:93)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.Project.executeTargets(Project.java:510)
at org.apache.tools.ant.Main.runBuild(Main.java:421)
at org.apache.tools.ant.Main.main(Main.java:149)
BUILD SUCCESSFUL
Total time: 34 seconds
C:\test>
-----------------------------------------------------------------<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
This is a known bug which is fixed in WLS 6.1 SP2.
<p>The workaround is to change the complex data types
<br>to have more than one level package names.
<p>for eg: change ....
<p><font color="#3366FF">package foo;</font>
<br>class Data{}
<p>to :
<p><font color="#3333FF">package foo.bar;</font>
<br>class Data{}
<p>-manoj
<p>Praveen wrote:
<blockquote TYPE=CITE>Hi
<br>I am trying to assemble/deploy an rpc style weblogic web service
using
the 'wsgen'
<br>Ant task and the build.xml scripts provided with the samples. I get
this error:
<br>Please help
<br>Thanks,
<br>Praveen
<br>-----------------------------------------------------------------
<br>C:\test>ant
<br>Buildfile: build.xml
<p>webservice:
<p>clean:
<br> [delete] Deleting directory C:\test\build
<p>init:
<br> [mkdir] Created dir: C:\test\build
<br> [mkdir] Created dir: C:\test\build\META-INF
<br> [copy] Copying 5 files to C:\test\build\META-INF
<p>compile_ejb:
<br> [javac] Compiling 5 source files to C:\test\build
<p>jar_ejb:
<br> [jar] Building jar: C:\test\a_statelessSession.jar
<p>ejbc:
<p>all:
<p>wsgen:
<br>Error at line:8 col:12 ':' Already got a ':' in name
<br> at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseExc
<br>on(SAXElementFactory.java:60)
<br> at weblogic.xml.babel.parsers.StreamParser.<init>(StreamParser.java:
<br> at weblogic.xml.babel.parsers.BabelXMLEventStream.startDocument(Babe
<br>EventStream.java:28)
<br> at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:6
<br> at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:5
<br> at weblogic.soap.WebServiceProxy.getServiceFrom(WebServiceProxy.java
<br>)
<br> at weblogic.ant.taskdefs.ejb.WSGenHelper.writeClientJar(WSGenHelper.
<br>:1125)
<br> at weblogic.ant.taskdefs.ejb.WSGenHelper.writeWSDL(WSGenHelper.java:
<br>)
<br> at weblogic.ant.taskdefs.ejb.WSGenHelper.saveDescriptors(WSGenHelper
<br>a:1415)
<br> at weblogic.ant.taskdefs.ejb.WSGenHelper.output(WSGenHelper.java:148
<br> at weblogic.ant.taskdefs.ejb.WSGenHelper.doit(WSGenHelper.java:1517)
<br> at weblogic.ant.taskdefs.ejb.WSGen.execute(WSGen.java:93)
<br> at org.apache.tools.ant.Target.execute(Target.java:153)
<br> at org.apache.tools.ant.Project.runTarget(Project.java:898)
<br> at org.apache.tools.ant.Project.executeTarget(Project.java:536)
<br> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
<br> at org.apache.tools.ant.Target.execute(Target.java:153)
<br> at org.apache.tools.ant.Project.runTarget(Project.java:898)
<br> at org.apache.tools.ant.Project.executeTarget(Project.java:536)
<br> at org.apache.tools.ant.Project.executeTargets(Project.java:510)
<br> at org.apache.tools.ant.Main.runBuild(Main.java:421)
<br> at org.apache.tools.ant.Main.main(Main.java:149)
<p>BUILD SUCCESSFUL
<p>Total time: 34 seconds
<p>C:\test>
<br>-----------------------------------------------------------------</blockquote>
</html> -
Sun-appserv-deploy cutom Ant task
Hi
I wanted to use sun-appserv-deploy custom ant task in my build file to deploy an archive. But the file attribute requires EXISTING file which is constantly being deleted and recreated during development...
<taskdef name="sun-appserv-deploy" classname="org.apache.tools.ant.taskdefs.optional.sun.appserv.DeployTask">
<classpath refid="j2ee.classpath"/>
</taskdef>
<sun-appserv-deploy
file="webapp1.war"
contextroot="/webapp1"
name="webapp1WAR
force="true"
precompilejsp="false"
verify="false"
upload="true"
user="admin"
passwordfile="${passwordfile}"
host="localhost"
port="4848"
asinstalldir="${j2ee.home}"/>
Unless the "webapp1.war" exists the enitre build.xml file invalidates (in eclipse)
How do I use this custom task during my development time (obviously when I run clean the WAR file is removed which invalidates my build.xml)
Is there a workaround for this?
Thanks
Z...You have to include an additional attribute in the task:
<sun-appserv-deploy ... generatermistubs="true" />Edited by: sjfischli on May 15, 2008 8:54 AM -
Hi!
When i try to run the xjc ant task in my build file i get the error showed below Could some one help or give me an advice about this?
In my build file i have the next lines of xml:
<taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask"/>
and
<target name="xsdCompile">
<xjc target="${src}/java" package="com.getronics.cea.cie.mopab.documentos">
<schema dir="${schemas.home}" includes="*.xsd"/>
</xjc>
</target>
Thanks a lot!
Adolfo de Unanue
!xsdCompile Running target: xsdCompile
xsdCompile:
[xjc] Compiling file:/home/aunanue/mopab3/mopab/src/xml/schemas/administracionYCobranza.xsd and others
org.iso_relax.verifier.VerifierConfigurationException: no validation engine available for: http://relaxng.org/ns/structure/1.0
at org.iso_relax.verifier.VerifierFactory.newInstance(Unknown Source)
at com.sun.tools.xjc.reader.xmlschema.bindinfo.AnnotationParserImpl.getContentHandler(AnnotationParserImpl.java:61)
at com.sun.xml.xsom.impl.parser.state.annotation.action0(annotation.java:42)
at com.sun.xml.xsom.impl.parser.state.annotation.enterElement(annotation.java:59)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.spawnChildFromEnterElement(NGCCRuntime.java:431)
at com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:222)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.startElement(NGCCRuntime.java:210)
at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
at com.sun.tools.xjc.reader.xmlschema.IncorrectNamespaceURIChecker.startElement(IncorrectNamespaceURIChecker.java:85)
at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
at com.sun.tools.xjc.reader.xmlschema.ProhibitedFeaturesFilter.startElement(ProhibitedFeaturesFilter.java:123)
at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
at org.iso_relax.verifier.impl.VerifierFilterImpl.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:877)
at org.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamespaceBinder.java:569)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:759)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:151)
at com.sun.xml.xsom.impl.parser.XSOMParser.parse(XSOMParser.java:116)
at com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.java:511)
at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
at com.sun.tools.xjc.XJCTask.execute(XJCTask.java:149)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at antfarm.TargetRunner.runAntTarget(Unknown Source)
at antfarm.TargetRunner.run(Unknown Source)
BUILD FAILED
java.lang.InternalError
at com.sun.tools.xjc.reader.xmlschema.bindinfo.AnnotationParserImpl.getContentHandler(AnnotationParserImpl.java:71)
at com.sun.xml.xsom.impl.parser.state.annotation.action0(annotation.java:42)
at com.sun.xml.xsom.impl.parser.state.annotation.enterElement(annotation.java:59)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.spawnChildFromEnterElement(NGCCRuntime.java:431)
at com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:222)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.startElement(NGCCRuntime.java:210)
at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
at com.sun.tools.xjc.reader.xmlschema.IncorrectNamespaceURIChecker.startElement(IncorrectNamespaceURIChecker.java:85)
at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
at com.sun.tools.xjc.reader.xmlschema.ProhibitedFeaturesFilter.startElement(ProhibitedFeaturesFilter.java:123)
at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
at org.iso_relax.verifier.impl.VerifierFilterImpl.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:877)
at org.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamespaceBinder.java:569)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:759)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:151)
at com.sun.xml.xsom.impl.parser.XSOMParser.parse(XSOMParser.java:116)
at com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.java:511)
at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
at com.sun.tools.xjc.XJCTask.execute(XJCTask.java:149)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at antfarm.TargetRunner.runAntTarget(Unknown Source)
at antfarm.TargetRunner.run(Unknown Source)Hi
When you define the xjc task you will need to
include all the jaxb, jaxp jars in the classpath.
See the <JWSDP>/jaxb-1.0/examples/users-guide/SampleApp1/build.xml
for more information
Regards,
Bhakti
Hi!
When i try to run the xjc ant task in my build file i
get the error showed below Could some one help or give
me an advice about this?
In my build file i have the next lines of xml:
<taskdef name="xjc"
classname="com.sun.tools.xjc.XJCTask"/>
and
<target name="xsdCompile">
<xjc target="${src}/java"
va" package="com.getronics.cea.cie.mopab.documentos">
<schema dir="${schemas.home}"
.home}" includes="*.xsd"/>
</xjc>
</target>
Thanks a lot!
Adolfo de Unanue
!xsdCompile Running target: xsdCompile
xsdCompile:
[xjc] Compiling
iling
file:/home/aunanue/mopab3/mopab/src/xml/schemas/adminis
racionYCobranza.xsd and others
org.iso_relax.verifier.VerifierConfigurationException:
no validation engine available for:
http://relaxng.org/ns/structure/1.0
at
org.iso_relax.verifier.VerifierFactory.newInstance(Unk
own Source)
at
com.sun.tools.xjc.reader.xmlschema.bindinfo.Annotation
arserImpl.getContentHandler(AnnotationParserImpl.java:6
at
com.sun.xml.xsom.impl.parser.state.annotation.action0(
nnotation.java:42)
at
com.sun.xml.xsom.impl.parser.state.annotation.enterEle
ent(annotation.java:59)
at
com.sun.xml.xsom.impl.parser.state.NGCCRuntime.spawnCh
ldFromEnterElement(NGCCRuntime.java:431)
at
com.sun.xml.xsom.impl.parser.state.Schema.enterElement
Schema.java:222)
at
com.sun.xml.xsom.impl.parser.state.NGCCRuntime.startEl
ment(NGCCRuntime.java:210)
at
org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown
Source)
at
com.sun.tools.xjc.reader.xmlschema.IncorrectNamespaceU
IChecker.startElement(IncorrectNamespaceURIChecker.java
85)
at
org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown
Source)
at
com.sun.tools.xjc.reader.xmlschema.ProhibitedFeaturesF
lter.startElement(ProhibitedFeaturesFilter.java:123)
at
org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown
Source)
at
org.iso_relax.verifier.impl.VerifierFilterImpl.startEl
ment(Unknown Source)
at
org.apache.xerces.parsers.AbstractSAXParser.startEleme
t(AbstractSAXParser.java:459)
at
org.apache.xerces.impl.XMLNamespaceBinder.handleStartE
ement(XMLNamespaceBinder.java:877)
at
org.apache.xerces.impl.XMLNamespaceBinder.startElement
XMLNamespaceBinder.java:569)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.
canStartElement(XMLDocumentFragmentScannerImpl.java:759
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$
ragmentContentDispatcher.dispatch(XMLDocumentFragmentSc
nnerImpl.java:1477)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.
canDocument(XMLDocumentFragmentScannerImpl.java:329)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDCo
figuration.java:525)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDCo
figuration.java:581)
at
org.apache.xerces.parsers.XMLParser.parse(XMLParser.ja
a:152)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(Abst
actSAXParser.java:1175)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown
Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown
Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown
Source)
at
com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity
NGCCRuntimeEx.java:151)
at
com.sun.xml.xsom.impl.parser.XSOMParser.parse(XSOMPars
r.java:116)
at
com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.j
va:511)
at
com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
at
com.sun.tools.xjc.XJCTask.execute(XJCTask.java:149)
at org.apache.tools.ant.Task.perform(Task.java:317)
at
org.apache.tools.ant.Target.execute(Target.java:309)
at
org.apache.tools.ant.Target.performTasks(Target.java:3
4)
at
org.apache.tools.ant.Project.executeTarget(Project.jav
:1306)
at antfarm.TargetRunner.runAntTarget(Unknown Source)
at antfarm.TargetRunner.run(Unknown Source)
BUILD FAILED
java.lang.InternalError
at
com.sun.tools.xjc.reader.xmlschema.bindinfo.Annotation
arserImpl.getContentHandler(AnnotationParserImpl.java:7
at
com.sun.xml.xsom.impl.parser.state.annotation.action0(
nnotation.java:42)
at
com.sun.xml.xsom.impl.parser.state.annotation.enterEle
ent(annotation.java:59)
at
com.sun.xml.xsom.impl.parser.state.NGCCRuntime.spawnCh
ldFromEnterElement(NGCCRuntime.java:431)
at
com.sun.xml.xsom.impl.parser.state.Schema.enterElement
Schema.java:222)
at
com.sun.xml.xsom.impl.parser.state.NGCCRuntime.startEl
ment(NGCCRuntime.java:210)
at
org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown
Source)
at
com.sun.tools.xjc.reader.xmlschema.IncorrectNamespaceU
IChecker.startElement(IncorrectNamespaceURIChecker.java
85)
at
org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown
Source)
at
com.sun.tools.xjc.reader.xmlschema.ProhibitedFeaturesF
lter.startElement(ProhibitedFeaturesFilter.java:123)
at
org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown
Source)
at
org.iso_relax.verifier.impl.VerifierFilterImpl.startEl
ment(Unknown Source)
at
org.apache.xerces.parsers.AbstractSAXParser.startEleme
t(AbstractSAXParser.java:459)
at
org.apache.xerces.impl.XMLNamespaceBinder.handleStartE
ement(XMLNamespaceBinder.java:877)
at
org.apache.xerces.impl.XMLNamespaceBinder.startElement
XMLNamespaceBinder.java:569)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.
canStartElement(XMLDocumentFragmentScannerImpl.java:759
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$
ragmentContentDispatcher.dispatch(XMLDocumentFragmentSc
nnerImpl.java:1477)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.
canDocument(XMLDocumentFragmentScannerImpl.java:329)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDCo
figuration.java:525)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDCo
figuration.java:581)
at
org.apache.xerces.parsers.XMLParser.parse(XMLParser.ja
a:152)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(Abst
actSAXParser.java:1175)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown
Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown
Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown
Source)
at
com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity
NGCCRuntimeEx.java:151)
at
com.sun.xml.xsom.impl.parser.XSOMParser.parse(XSOMPars
r.java:116)
at
com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.j
va:511)
at
com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
at
com.sun.tools.xjc.XJCTask.execute(XJCTask.java:149)
at org.apache.tools.ant.Task.perform(Task.java:317)
at
org.apache.tools.ant.Target.execute(Target.java:309)
at
org.apache.tools.ant.Target.performTasks(Target.java:3
4)
at
org.apache.tools.ant.Project.executeTarget(Project.jav
:1306)
at antfarm.TargetRunner.runAntTarget(Unknown Source)
at antfarm.TargetRunner.run(Unknown Source) -
Wldeploy Ant task deploys app in 'New' state
I am trying to deploy a web application in WL 10.0 using the wldeploy Ant task. However, everytime the application is deployed, the consolidated state is 'New' (or deferred deployment). I have to bounce the servers everytime to bring the app in the Active state.
Here is my code:
<target name="undeployWeb">
<!-- Undeploy the existing deployment -->
<wldeploy action="undeploy" verbose="true" debug="false" name="${deploymentName}" user="${weblogicUsername}" password="${weblogicPassword}" adminurl="${weblogicAdminURL}" targets="${weblogicTargetServers}" failonerror="false" />
</target>
<!-- Deploy .WAR to a target server -->
<target name="deployWeb">
<!-- Deploy the application remotely -->
<wldeploy action="deploy" stage="stage" usenonexclusivelock="true" source="${weblogicDeploymentLocation}/${deploymentName}.war" remote="true" name="${deploymentName}" upload="false" user="${weblogicUsername}" password="${weblogicPassword}" verbose="true" adminurl="${weblogicAdminURL}" debug="true" targets="${weblogicTargetServers}" />
</target>
Is there any way to avoid the bounce of the target servers? I wish to activate the web app straightaway. Please help.
~hartbrekkThanks user10939158, for looking into this.
Reason I am saying network is not an issue here because the artifact copy to the remote servers and deployment happens fast, it is just at the step of closing DM connection, it is waiting for a long time (>5 mins). I am guessing that the Deployment Manager message exchanges with the server (internally) has something to do with LAN vs WAN. And, I would expect deployment over WAN take a minute extra as opposed to 5-9 minutes extra what we are seeing now.
Yes, I tried running the wlst script on the remote server and it is fast as well.
Just to clarify, I do not have a local server. I run the plain simple ant script on a build box(lean linux box) which is in the US.
Thanks for your help again.
- Kris
Edited by: kris_2000 on May 25, 2010 2:08 PM -
When to use template builder versus ant tasks
Hi,
I like to know if ant tasks are more appropriate to use during application development for server configuration or template builder? or does it matter at all?
I am wondering how to manage the server configuration during integration and testing?
thanks,
NasrinAudacity (and other audio editors) are better suited for simple audio recoding and editing - they're much leaner and more reliant. I would never trust GB for a task like recording a long speech or concert.
I also prefer an audio editor to edit recorded speech - you can edit with much more detail, and by default the stuff you delete doesn't leave a gap (I know GB can do that too).
So basically, I use GB for anything that has to do with music or at least multi-track recording, the rest I do in an audio editor.
As for using both apps together: I've experimented with using both in parallel in the past – like taking a recording with a low level and normalize it in Audacity while the GB file is open. Nothing for the faint-hearted, since this is not something you're supposed to do - but as long as you don't change the length of a recording, GB was quite tolerant towards that procedure. -
Building & deploying ColdFusion apps via Ant
I'm trying to create a Ant build script for building and
deploying ColdFusion applications as a WAR. I am able to compile
the ColdFusion code, and creating the WAR itself is pretty simple,
but there's two steps I'm not familiar with:
a) How do you generate the applications' web.xml, config.xml,
neo-debug.xml, neo-query.xml, license.properties, etc files that
are needed in the WAR?
b) Is it possible to use Ant to do deploy time configuraton
of the ColdFusion app? For example, setting the database that will
be used.
I have looked at the build.xml that is generated by
ColdFusion MX7's administration tool, but this only does the
compile step and the WAR creation step. The doesn't seem to be any
documented Ant task for the other things I asked about above.
If anyone has done this, I would very much appreciate it if
you could point me in the right direction. Sample ant build files
would be especially appreciated, but even just a clue as to where
to look for the info I need would be very helpful.I've also been looking into this and it appears you can only pre-load apps onto the iPhone that you have made, ie ones you have access to the original .ipa file.
If anyone knows of a way to configure a large deployment of iPhones with a standard app base, Skype, WiFi finder, Units across 20+ iPhones please post it here.
If anyone can save me from downloading each app 60 times it'll be much appreciated. -
Is wldeploy ANT task just always says "BUILD SUCCESFUL" ?
Hi All,
Iam using ANT and my build.xml file looks something like this:
<target name="deploy-now">
<echo message="...........This is the developmenet
box...deploying......"/>
<wldeploy action="${deploy.utility}" upload="true"
source="${source}" user="system" password="weblogic" nostage="true" verbo
se="true" adminurl="${bedlam-t.admin.url}" debug="true"
targets="${cmApplication.target}"/>
</target>
<target name="deploy-cm-testnet">
<antcall target="deploy-now"> <param name="source"
value="${cm1Application.source}"/>
</antcall>
<antcall target="deploy-now"> <param name="source"
value="${cm2Application.source}"/>
</antcall>
<antcall target="deploy-now"> <param name="source"
value="${cm3Application.source}"/>
</antcall>
</target>
So, basically iam calling my target "deploy-now" three times by using
<antcall>. Now my question is: iam getting BUILD SUCCESFUL although the
output looks like:
deploy-now: [echo] ...........This is the developmenet
box...deploying...... [wldeploy] weblogic.Deployer -debug -nostage -verbose -upload
-noexit -source
/export/home/beamon/applications/clientmanager/CMA_TW_333.war -targets UPSCAP
-adminurl http://bedlam-t.ams1907.com:8001 -user
system -password ******** -deploy
[wldeploy] DeploymentData : Delete Files:false [wldeploy] Timeout
:3600000 [wldeploy] Targets: [wldeploy] Files: [wldeploy] null
[wldeploy] Initiated Task: [87] [Deployer:149026]Deploy application
CMA_TW_333 on UPSCAP. [wldeploy] Application CMA_TW_333 preparing on
server upscap_bedlam1t_s1. [wldeploy] Module CMA_TW_333 failed to transition
from unprepared to prepared on server upscap_bedlam1t_s1. [wldeploy]
Application CMA_TW_333 failed on server upscap_bedlam1t_s1. [wldeploy]
Task 87 failed: [Deployer:149026]Deploy application CMA_TW_333 on UPSCAP.
[wldeploy] Deployment failed on Cluster UPSCAP [wldeploy] dumping
ApplicationException message
[wldeploy] Exception:weblogic.management.ApplicationException: prepare
failed for CMA_TW_333 [wldeploy] Module: CMA_TW_333 Error: Context path
'/CMA/US' is already in use by the module: CM_NO_333 application:
CM_NO_333
[wldeploy] dumping ApplicationException message
[wldeploy] Exception:weblogic.management.ApplicationException: prepare
failed for CMA_TW_333 [wldeploy] Module: CMA_TW_333 Error: Context path
'/CMA/US' is already in use by the module: CM_NO_333 application:
CM_NO_333
[wldeploy] Unpexpected Error Initializing Deployer:
weblogic.Deployer$DeployerException: Deployment exit status=1
deploy-now: [echo] ...........This is the developmenet
box...deploying...... [wldeploy] weblogic.Deployer -debug -nostage -verbose -upload
-noexit -source
/export/home/beamon/applications/clientmanager/CMA_NO_333.war -targets UPSCAP
-adminurl http://bedlam-t.ams1907.com:8001 -user
system -password ******** -deploy
[wldeploy] DeploymentData : Delete Files:false [wldeploy] Timeout
:3600000 [wldeploy] Targets: [wldeploy] Files: [wldeploy] null
[wldeploy] Initiated Task: [88] [Deployer:149026]Deploy application
CMA_NO_333 on UPSCAP. [wldeploy] Application CMA_NO_333 preparing on
server upscap_bedlam1t_s1. [wldeploy] Module CMA_NO_333: active to prepared
on server upscap_bedlam1t_s1. [wldeploy] Module CMA_NO_333: active to
prepared on server upscap_bedlam1t_s1. [wldeploy] Module CMA_NO_333:
prepared to unprepared on server upscap_bedlam1t_s1. [wldeploy] Module
CMA_NO_333: prepared to unprepared on server upscap_bedlam1t_s1.
[wldeploy] Module CMA_NO_333: unprepared to prepared on server
upscap_bedlam1t_s1. [wldeploy] Module CMA_NO_333: unprepared to prepared on server
upscap_bedlam1t_s1. [wldeploy] Application CMA_NO_333 prepared on server
upscap_bedlam1t_s1. [wldeploy] Application CMA_NO_333 activating on server
upscap_bedlam1t_s1. [wldeploy] Module CMA_NO_333: prepared to active on
server upscap_bedlam1t_s1. [wldeploy] Module CMA_NO_333: prepared to
active on server upscap_bedlam1t_s1. [wldeploy] Application CMA_NO_333
activated on server upscap_bedlam1t_s1. [wldeploy] Task 88 completed:
[Deployer:149026]Deploy application CMA_NO_333 on UPSCAP. [wldeploy]
Deployment completed on Cluster UPSCAP
BUILD SUCCESSFUL
Please advise ......how can i show that the BUILD is NOT succesful as
there were EXCEPTIONS generated.....is ANT just always says "BUILD
SUCCESFUL"Infact it does complete, if i let it go on but it takes around 7 minutes more just to close the DM connection
[wldeploy] [ServerConnectionImpl.close():352] : Unregistered all listeners
[wldeploy] [ServerConnectionImpl.closeJMX():372] : Closed JMX connection
[wldeploy] [ServerConnectionImpl.closeJMX():384] : Closed Runtime JMX connection
[wldeploy] [ServerConnectionImpl.closeJMX():396] : Closed Edit JMX connection
BUILD SUCCESSFUL
Total time: 7 minutes 15 seconds
is anybody facing this issue? Why is closing DM Connection and Unregistered all listeners taking so much time to complete for a WAR i.e. just a few KBs.
Please Help! Thanks! -
How do I get Ant task deploy to fail on error within an ojdeploy-build ?
I am calling ojdeploy on an xml file with several <deploy> tasks within the <ojdeploy-build> task.
FYI this dramatically increases performance when doing several deployments.
I want to find a way to have the script stop with an error as soon as one of the <deploy> tasks fails with an error (such as a compile error). It does not currently do this.
Is there a way to get the script to stop as soon as a <deploy> task fails within the outer <ojdeploy-build> task?
(eg. could I somehow check the return code for each deploy explicitly and do an exit if the deploy fails)
My Ant book claims that Ant tasks normally fail on error, and when one task fails the Ant script stops at that point. Some Ant tasks (such as exec) have an explicit failonerror attribute which can change this behavior to ignore a non-zero return code from the task and continue executing the Ant script.
It seems to me that the <ojdeploy-build> task has a serious bug where it (probably using java try-catch) ignores the error from <deploy> and keeps going to the next <deploy>, violating a basic design principle of a proper Ant task.
Where can I find the java code for <ojdeploy-build> to confirm my suspicion and then report the bug officially?
Meanwhile, I am very interested in finding some workaround for this bug that preserves having several <deploy> in one script. If I put just one <deploy> in each <ojdeploy-build>, the huge performance improvement is lost.I played with it some more and it seems that failonerror and resultproperty actually work in JDev 11.1.1.4.0 They are inherited from the [url http://ant.apache.org/manual/Tasks/exec.html]Ant Exec task and work, you just have to set failonerror="true", e.g.
<ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
executable="${oracle.jdeveloper.ojdeploy.executable}"
failonerror="true"
resultproperty="ojdeploy.exit.code"
ora:buildscript="${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml"
ora:statuslog="${oracle.jdeveloper.deploy.dir}/ojdeploy-statuslog.xml">
...Note that resultproperty is useful only if failonerror="false", use one or the other. -
Building from flex builder vs ant task
I have a flex application written using flex builder. When I
build it and run it using flex builder, or create an air file from
flex builder and run that, then my application works just fine.
However, I would like people without copies of flexBuilder
installed to be able to build my application, so I am using the
flex ant task (flex-mxmlc) to build my application. As far as I can
tell I have the same configuration, and the same libraries included
in the ant task. However, when I run the air file generated by the
ant task nothing happens. If you look in the task manager, you can
see that the application is running, but the main window for the
application never appears.
I tried running the swf through a debug version of flash to
get some log output, and I am getting a bunch of exceptions, the
first of which is:
VerifyError: Error #1014: Class flash.display::NativeWindow
could not be found.
at flash.display::MovieClip/nextFrame()
at mx.managers::SystemManager/deferredNextFrame()
at
mx.managers::SystemManager/preloader_initProgressHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/timerHandler()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
It seems like it might not be finding the main flex library
(flexlib.swc), is that where that class would be? In my ant task I
have an include-libraries tag that points to that file.
Anyone have any ideas?I experienced a similar problem (although the class that
could not be found was different for me). Googling around I found
someone who had a similar problem and claimed that using the
flexlib.swc library was the culprit.
The root of the problem is that the Flex SDK that comes
bundled with the Flex Builder has libraries (under frameworks/libs)
that are NOT included in plain free Flex SDK that you and I are
presumably using on our build machines.
When flexlib.swc is linked in, it causes certain classes to
be required at runtime. Apparently when you compile these classes
are linked in if available, but when they are not the compilation
still succeeds. Only you get a VerifyError when you run the thing.
What worked for me was to copy all the additional .swc files
found in my Flex Builder SDK's frameworks/libs directory to the
same directory on my build machine. Also you will need to copy the
additional files under frameworks/locale/en_US.
Rebuild and clear your browser's cache and it should then
work. -
I've got the WLS Ant tasks (e.g., clientgen) working when I use the
examples, but now I want to actually run the WLS Ant tasks from our real Ant
build.
What do I have to do to do this?
I tried sticking webservices.jar and even webservicesclient.jar in our Ant
install lib directory, but is didn't pick it up.
I took a gander at the:
C:\bea\weblogic700\samples\server\config\examples\setExamplesEnv.cmd and see
that this points me to:
C:\bea\weblogic700\server\bin\ant
I suppose that I could just call them directly (set on cp and call specific
class), but I'd prefer not to.
I figure someone else has run into this? I have a feeling this is a lame
question, but I couldn't find anything specific in the help and I'm by no
means a fancy-pants at Ant.
Thanks!
MikeI've got the WLS Ant tasks (e.g., clientgen) working when I use the
examples, but now I want to actually run the WLS Ant tasks from our real Ant
build.
What do I have to do to do this?
I tried sticking webservices.jar and even webservicesclient.jar in our Ant
install lib directory, but is didn't pick it up.
I took a gander at the:
C:\bea\weblogic700\samples\server\config\examples\setExamplesEnv.cmd and see
that this points me to:
C:\bea\weblogic700\server\bin\ant
I suppose that I could just call them directly (set on cp and call specific
class), but I'd prefer not to.
I figure someone else has run into this? I have a feeling this is a lame
question, but I couldn't find anything specific in the help and I'm by no
means a fancy-pants at Ant.
Thanks!
Mike -
How to build ear files for ADF application using Ant task
How to build ear files for ADF applications using Ant. The ojdeploy ant task can not find application-level deployment profiles. I am trying to automated build and release for ADF application.
Any help is highly appreciated.
Thanks
ShivaHi Timo
Thanks for your reply.
I have successfully created ear file using ojdeploy on jenkins. however when am trying to auto deploy using WLDeploy ant task am getting the following
error :
weblogic.application.ModuleException: :oracle.mds.config.MDSConfigurationException:MDS-01335: namespace "/oracle/webcenter/quicklinks/scopedMD" mapped to metadata-store-usage "WebCenterFileMetadataStore" but its definition was not found in MDS configuration
Please advise how to handle this.
As am a newbie to ADF, could you please advise if it is possible for the ADF application deployments can be automated for different environments using jenkins due to this MDS dependencies.
Appreciate your help.
Thanks
Shiva -
Using variables in WLST Script ant task
I have multiple scipts that are run using ant tasks, however, I do not want to have to enter the password every time one of these scripts is executed. Instead I would like to use the following ant task to store the password in a variable/property:
<target name="getPassword" >
<echo message="Domain: ${domain}" />
<echo message="Username: system" />
<input message="Please enter password:" addproperty="password" />
</target>
I would then like to use that variable/property everytime a script is executed like this:
<target name="deploy4x">
<echo message="***** Copying 4X.ear *****" />
<copy file="${build.path}\jar\4X.ear" todir="${apps.dir}" preservelastmodified="true"/>
<echo message="***** Updating 4X.ear on ${domain} *****"/>
<wlst debug="true" fileName="Deploy4X.py" executeScriptBeforeFile="true" failonerror="true" >
<script>
connect('system','%s' % ${password},'%s' % $url)
</script>
</wlst>
</target>
However, the script blows up every time I try to run it b/c of the connect() line. I have also tried connect('system','%s' % password, '%s' % url).
Has anyone else successfully used variables in an Ant WLST Script task?
Thanks.Hi,
when I use *XDIM_MEMBERSET ACCOUNT AS %TEST% = BAS(REVENUE) - it work fine.
BUT ! after my first commit, it seems like the variable value is lost. And the *Xdim_memberset takes all.....
Fortunately enough, *select still contains the variable value after *commit.
Thanks,
Joergen
*Correction !
It actually works, it still contains the variable value after commit !!
Edited by: Jørgen Dalby Andersen on Dec 30, 2011 1:33 PM -
Deploying bpm 11g project sar file using ant task
I am trying to deploy the bpm project using ant task file. The status I get is [deployComposite] ---->Deploying composite success. However when I check the deployments, they are not there. If I try to deploy this using Jdeveloper it works correctly. I need to get this to work for production deployments. Any suggestions?
C:\Oracle\Middleware\Oracle_SOA1\bin>ant -f ant-sca-deploy.xml -DserverURL=http:
//10.140.183.71:7001 -DsarLocation=N:\RuleBasedProjectInitiate\deploy\RequestPro
ject.ear -Doverwrite=true -Duser=weblogic
Buildfile: C:\Oracle\Middleware\Oracle_SOA1\bin\ant-sca-deploy.xml
[echo] oracle.home = C:\Oracle\Middleware\Oracle_SOA1\bin/..
deploy:
[input] skipping input as property serverURL has already been set.
[input] skipping input as property sarLocation has already been set.
[deployComposite] created temp dir =C:\DOCUME~1\azeltov\LOCALS~1\Temp\deploy_cli
ent_1279894885343
[deployComposite] Creating HTTP connection to host:10.140.183.71, port:7001
[deployComposite] Enter username and password for realm 'default' on host 10.140
.183.71:7001
[deployComposite] Authentication Scheme: Basic
[deployComposite] Username:
weblogic
[deployComposite] Password:
[deployComposite] Received HTTP response from the server, response code=200
[deployComposite] clean up temp dir: C:\DOCUME~1\azeltov\LOCALS~1\Temp\deploy_cl
ient_1279894885343
[deployComposite] ---->Deploying composite success.
BUILD SUCCESSFUL
Total time: 4 seconds
C:\Oracle\Middleware\Oracle_SOA1\bin>You can always deploy the ADF web apps from the Application (top menu) deploy option. Just make sure you're deploying the EAR profile for the project. Deploying the web projects from the composite deployment wizard can be convenient. But I think it's often the case that you deploy them (the composite and forms) separately (e.g. you make a series of changes to the composite without needed to redeploy the UI projects).
Bottom line is you don't have to delete the projects to be able to modify/deploy them. -
Hi,
I am trying to build my Flex app which uses the Advanced Data Grid in a couple of locations. Originally, when I built the app using the flex ant tasks, I noticed the Visualization Trial watermark show up on the screen. I then added the license tag with the serial number to my flex-config.xml and re-ran my ant build. The watermark goes away, but then when I look at the advanced datagrid, the datagrid shows up with the hierarchy, but the data does not display in the grid (only the group by nodes are visible, not the data for the leaf elements). This works fine when I build the app using my Flex Builder. Is there something I am missing or need to add to my flex ant task to make this work?
Any help or guidance is much appreciated.
The following is the ant task to build the module that uses the ADG:
<target name="compile-modules" depends="compile-shared">
<!-- Module 1 -->
<echo>Compiling module 1...</echo>
<mxmlc file="${modulesrc.dir}\ui\modules\mod1\Module1.mxml"
output="${dist.dir}\modules\mod1\Module1.swf"
actionscript-file-encoding="UTF-8"
incremental="true"
default-background-color="0xFFFFFF"
use-network="false"
load-externs="${extern-report-xml}">
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
<source-path path-element="${FLEX_HOME}/frameworks"/>
<!-- source paths -->
<compiler.source-path path-element="${modulesrc.dir}"/>
<!-- add external libraries -->
<compiler.library-path dir="${main.dir}" append="true">
<include name="${lib.dir}"/>
</compiler.library-path>
<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
<include name="libs" />
<include name="locale/{locale}" />
</compiler.library-path>
<compiler.debug>true</compiler.debug>
</mxmlc>
</target>
And here is the ant task for the main application:
<target name="compile-ui" depends="compile-modules">
<mxmlc file="${src.dir}/MainApp.mxml" output="${dist.dir}/MainApp.swf"
actionscript-file-encoding="UTF-8" keep-generated-actionscript="false"
fork="true" maxmemory="1024m">
<jvmarg value="-XX:MaxPermSize=256m"/>
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
<source-path path-element="${FLEX_HOME}/frameworks"/>
<source-path path-element="${src.dir}"/>
<source-path path-element="${main.dir}/locale/{locale}"/>
<!-- List of SWC files or directories that contain SWC files. -->
<!--<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
<include name="libs" />
<include name="locale/{locale}" />
</compiler.library-path>-->
<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
<include name="libs/datavisualization.swc" />
<include name="libs/flex.swc" />
<include name="libs/framework.swc" />
<include name="libs/rpc.swc" />
<include name="libs/utilities.swc" />
<include name="locale/{locale}" />
</compiler.library-path>
<compiler.library-path dir="${main.dir}" append="true">
<include name="${lib.dir}"/>
</compiler.library-path>
<runtime-shared-library-path path-element="${FLEX_FRAMEWORK}/framework.swc">
<url rsl-url="framework_3.2.0.3958.swf"/>
<url rsl-url="framework_3.2.0.3958.swz"/>
</runtime-shared-library-path>
<compiler.debug>true</compiler.debug>
</mxmlc>
</target>
Regards,
Purushto remove watermark i have added license key in WEB-INF\flex\license.properties file as key = value
Maybe you are looking for
-
Hi Is it possible to print before release of po? Vijay
-
hey, i'm using cs3 and i have a few simple paths (curves) and i'd like to know the length of these curves but i can't seem to find an option, or whatever, for that. thanks
-
Can file out put display array of messaged
Hi Folks , I am displaying the msg of RFC on a file . So far so good it is getting displayed propely like ID Msg 1 Faliure . i am able to capture this msg and show in a file but in some cases the RFC returns more than one row like ID Msg 1 Created
-
I downloaded 4.o8beta, won't work. Please help. Thanks, Don.
Dear Sirs, I like 4.0 very much. Downloaded 4.08beta, doesn't seem to be working. Thanks, Don.
-
InDesign CS3-doesn't collect the document!
This has happened to me three times this week. I "Package" the file, compress it, and forward it to a service bureau. They e-mail back that they didn't receive the *document,* although they have all the links and fonts!! I have been carefully Packagi