Exported build xml error

I have a WLI application (8.1.3) that builds fine in workshop. I exported the build file and updated the paths to point to the correct location, but when I build, I get the following error:
system/msg-header-2.0.xsd:15: error: Could not load resource "http://www.w3.org/2001/03/xml.xsd" (network download disabled)
system/msg-header-2.0.xsd:260: error: Attribute lang@http://www.w3.org/XML/1998/namespace not found
I'm trying to do this on a closed network. The fact that workshop can do it means that it should work. Any thoughts on what I need to add to the build?

<p>Hello</p>
<p>Try adding download="true" to your xmlbean element of your build.xml file as described <a href="http://forums.bea.com/bea/thread.jspa?threadID=600004943&messageID=600008241">here</a></p>
<p>If that doesn't work then my only other guess is to find the jar file that contains xml.xsd and make sure it's on your classpath.</p>
<p>Hussein Badakhchani
</p>

Similar Messages

  • Exported build.xml doesn't build Service Control correctly

    We created a few components that build properly in Workshop...but not in the build.xml that Workshop generates. We are using Workshop 9.2.
    Here is what we did...
    1) Coded a Web Service that uses the ALDSP 3.0 dynamic mediator API (to access a data service)
    2) Generated a WSDL from that service
    3) Created a Service Control (that uses the WSDL from #2)
    When we do a build via Project -> Clean (with Build Automatically enabled), this gets built just fine.
    When we run the Ant task with the targets "clean, build", it fails when it tries to compile the SEI file (the file that gets generated for #3 above).
    During the build process (from the Workshop-exported build.xml file), the com.bea.control.servicecontrol.impl.ServiceControlAssembler appears to generate the MyServiceControlSEI.java file that does not compile.
    Although the compile error probably has to do with the naming conventions in our XML schema, we at least want to get the build.xml build process to act the same way as the regular Project -> Clean process (in which case our project builds just fine...even with our XML schema issues).
    My question is...does the Project -> Clean process use a different set of APTs or tasks to generate the SEI file than the build.xml process? If so, how can we configure the exported build.xml file to use the same tasks/tools as the Project -> Clean process?
    Thank you,
    Michael

    Hi Michael,
    Can you confirm if you are running the ant script from the command line and have run the setenv.cmd/sh script prior to running the ant tasks
    more info on executing ant script from the command line is available at
    [url http://e-docs.bea.com/wlw/docs102/guide/ideuserguide/build/conUseCustomAntBuild.html]http://e-docs.bea.com/wlw/docs102/guide/ideuserguide/build/conUseCustomAntBuild.html
    cheers
    Raj

  • Help with Flex Ant build.xml error

    So I've started on a new project and I'm new to Flex. A lot of learning curve here. Anyway, I'm trying to deploy a project that uses flex and is built with Ant. We've moving up from a version of Flex 2 to Flex 3. The build file works fine in the Flex 2 app but for some reason does not seem to be working with Flex 3. I'm hoping someone can give me some insight on what might be wrong or where to start.
    The error is Command not found: compc
    The part of the build file it has a problem with is:
    <compc include-classes="${classes}"
         ouput="${flex.dist.dir}/${flex.app.name}.swc"
         keep-generated-actionscript="false"
         headless-server="${headless.server}"
         incremental="true">
    <load_config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
    <source-path path-element="${FLEX_HOME}/frameworks" />
    <source-path path-element="${flex.app.root}" />
    <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
         <include name="libs" />
         <include name="../bundles/{local}" />
    </compiler.library-path>
    <compiler.library-path dir="${flex.app.root}" appent="true">
         <include name="libs" />
    </compiler.library-path>
    </compc>
    Any help at all would be greatly appreciated, thank you.

    Sorry, I meant to address that. Yes, since we've moved up to the Flex 3 sdk, we are pointing at a new directory. The old directory was flex_sdk and the new directory is flex_sdk_340.
    FLEX_HOME is being set in the build.properties file for local building and then overidden in the build.xml file with this code:
    <target name="build">
         <available property="FLEX_HOME" value="/apps/flex_sdk_340" file="/apps/flex_sdk_340" />
         <echo>FLEX_HOME = ${FLEX_HOME}</echo>
         <antcall target="compile" />
    </target>
    I did notice a warning about not using the available property, so I removed it and just changed what FLEX_HOME was set to in the build.properties file to the server directory. Would mess up local building but regardless it didn't matter because it had no effect on the error being generated. I alos looked a little into the file property of the available tag trying to figure out if that was somehow an issue but I wasn't able to come to any conclusion.
    Before the program errors out, it does displayt he echo statement and the value of FLEX_HOME appears to be correct in that it does show /apps/flex_sdk_340.
    Thank you so much for your continued help. This is truly frustrating because nothing but a directory name has really changed and yet it stopped working. I can't find any information anywhere on what could be wrong and this is really my last resort.

  • Export to xml error

    hi,
    I am getting the following error while exporting to xml
    please can neone help
    thanks in advance     
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error

    There is an error because a character is trying to be converted to a number?
    Check your inserts and data types are correct.

  • Export Build Release - error 303 message - driving me insane

    Hi.
    I have built an application in Flex Builder. Just spent the
    entire morning/afternoon trying to figure out why the icons in the
    Application Descriptor file aren't being recognised and are giving
    an error 303 message.
    I have tried every possible path to the icons. my flex
    project is called "player" and i have put the png files in the src
    folder and still no success.
    i've read all the posts about checking the :"copy
    non-embedded files to output folder" but no success.
    the Air app runs fine if i disable the icons in the XML file.
    Help please!

    For anyone else with a similar problem couldn't get it
    working so created a new flex project and copied all the code
    across...but used the new app-xml file and it worked.

  • Error while building xml document

    Hi Everyone,
    I have a problem while building xml document.
    I have developed my java files using IBM Eclipse 3.0 and i had no problem while executing the files.
    But while i am trying to execute the same code in jdk/bin, xml document is not working..
    No error encountered while compiling but while executing when i try to print the xml string it just gives the root element name like [root : null]
    Can anyone suggest some solution?

    To the values element add xmlns:xsi and xsi:noNamespaceSchemaLocation.
    <values xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:noNamespaceSchemaLocation="file:///c:/schema.xsd">schema.xsd is schema file.

  • Error in my build.xml file (help with spotting syntax error requested)

    Hi
    I have written an XML file called build.xml for one of my applications. My XML editor complains that there is an error at the last line of the XML file, but I simply find it unable to correct the errror.
    It says:
    Fatal error:Build.xml[76:3-9]: End-Tag without start-tag
    The XML file itself:
    <project basedir="." default="deploy" name="concepts">
    <property name="src.dir" value="src"></property>
    <property name="build.dir" value="${basedir}/build"></property>
    <property name="build.lib" value="${build.dir}/lib"></property>
    <property name="dist.dir" value="dist"></property>
    <property name="classes.dir" value="${build.dir}/classes"></property>
    <property name="build.etc" value="${src.dir}/etc"></property>
    <property name="build.resources" value="${src.dir}/resources"></property>
    <property name="lib.dir" value="lib"></property>
    <property name="web-inf.dir" value="WEB-INF"></property>
    <property name="war.name" value="concepts"></property>
    <property file="../common.properties"></property>
    <target name="init">
    <mkdir dir="${build.dir}"></mkdir>
    <mkdir dir="${classes.dir}"></mkdir>
    <mkdir dir="${dist.dir}"></mkdir>
    </target>
    <target name="deploy" depends="clover-yes, clover-no">
    <javac srcdir="${src.dir}" destdir="${classes.dir}" classpath="${libs}" debug="off" optimize="on" deprecation="on" compiler="${compiler}">
    <include name="org/apache/commons/fileupload/**/*.java" />
    <include name="com/portalbook/portlets/**/*.java" />
    <include name="com/portalbook/portlets/content/**/*.java" />
    </javac>
    <target depends="init" name="compile">
    <javac debug="true" deprecation="true" destdir="${classes.dir}" optimize="false">
    <src>
    <pathelement location="${src.dir}"></pathelement>
    </src>
    <classpath>
    <fileset dir="${lib.dir}">
    <include name="*.jar">
    </include>
    </fileset>
    </classpath>
    </javac>
    </target>
    <target depends="compile" name="war">
    <war destfile="${dist.dir}/${war.name}.war" webxml="WEB-INF/web.xml">
    <classes dir="${classes.dir}"></classes>
    <lib dir="${lib.dir}"></lib>
    <webinf dir="${web-inf.dir}"></webinf>
    </war>
    </target>
    <!-- create the portal-concepts-lib.jar -->
    <jar jarfile="${build.lib}/concepts-lib.jar">
    <fileset dir="${classes.dir}"></fileset>
    </jar>
    <jar jarfile="${build.lib}/concepts.war" manifest="${build.etc}/concepts-war.mf">
    <fileset dir="${build.resources}/concepts-war"></fileset>
    </jar>
    <!-- concepts.ear -->
    <copy todir="${build.resources}/concepts-ear">
    <fileset dir="${build.lib}" includes="concepts.war,concepts-lib.jar"></fileset>
    </copy>
    <jar jarfile="${build.lib}/concepts.ear">
    <fileset dir="${build.resources}/concepts-ear" includes="concepts.war,concepts-lib.jar">
    </fileset>
    </jar>
    <target depends="deploy" name="explode">
    <taskdef classname="org.jboss.nukes.common.ant.Explode" classpath="${libs}" name="explode"></taskdef>
    <explode file="${build.lib}/concepts.ear" name="concepts.ear" todir="${build.lib}/exploded"></explode>
    </target>
    <target depends="war" name="all"></target>
    <target name="clean">
    <delete dir="${build.dir}">
    </delete>
    <delete dir="${dist.dir}">
    </delete>
    </target>
    </project>
    I am a little inexperienced in XML files. So I am unable to spot the error.
    I would greatly appreciate it, if some kind soul were to help me out.
    thanks a lot

    The tag
    <target name="deploy" depends="clover-yes, clover-no">...is never closed.
    close that tag:
    <target name="deploy" depends="clover-yes, clover-no">
         <javac srcdir="${src.dir}" destdir="${classes.dir}" classpath="${libs}" debug="off" optimize="on" deprecation="on" compiler="${compiler}">
              <include name="org/apache/commons/fileupload/**/*.java" />
              <include name="com/portalbook/portlets/**/*.java" />
              <include name="com/portalbook/portlets/content/**/*.java" />
         </javac>
    </target>Second error is that the depends in there (clover-yes, clover-no) are not existing as targets in your xml.

  • Issue exporting ms access 2003 to xml - error 35021

    I downloaded the latest version of migration workbench.
    I have access 2003 mdb. when I run the omwb2003.mde against it to export to xml, i get the following error
    Error #35021 - - Can't find project or library, c:\temp\plc.mdb Database Schema Export did not complete successfully.
    The access database is a design master (not a replica) and no security enabled.
    Access ODBC driver is 4.00.6019
    I downloaded and installed MDAC .
    Where do i go next - I wasn't able to find anything on error 35021.
    Thanks in advance for any and all help
    Peter

    I was having this 35021 problem but finally got it to work. I was running on win 2000, with Access 2002 installed. I tried it on another computer on the network, running win xp pro and the same version of Access 2002. I didn't get this problem, but after several minutes, the Access running the database to be exported would crash. The omwb2002 reported the schema written, but there was no output file.
    I had the omwb2002.mde on the file server, and the database being converted on the win2k machine. I moved both the omwb and the database to a local drive on the win xp machine, set the output directory to be on the local drive, and it worked.
    I did some further expirementing, and it seems to work fine as long as the omwb2002.mde is on a local drive of the machine it's going to be run on.
    The fact that it works on one machine but not another indicates that this problem isn't specific to the database being converted, but has something to do with the platform the conversion is being run on.
    I realize this isn't a fix, but a workaround. If you can't wait for tech support to fix this problem, my advice is keep trying on different machines until you get it to work. Make sure that the .mde is on a local drive.
    I hope this helps

  • SSRS XML Errors when exporting to .xlsx from Dynamics NAV Database

    We use Dynamics NAV for our ERP and have many SSRS reports.  We get xml Errors when exporting to Excel .xlsx.  I've seen this happen since SQL 2008 R2 and have posted in many places trying to find an answer, but was hoping MS would solve the
    issue.  The numeric data types in the Dynamics NAV database are all decimal(38,20) and when the value is zero the Excel renderer throws the errors. 
    We now have over 400 reports and we export them to Excel 2003 format. I'm starting to feel like this is my new Y2K issue when Excel 2003 is set to sunset.  I'm fearing that I'll have to do conversions on all numeric data types for all reports. 
    Both of these are Microsoft products so I'm wondering is this even on their radar.
    We're running SQL Server 2012 SP2, and just rolled out CRM 2015 on SQL Server 2014.  I get the errors in SSRS 2008R2, 2012, and 2014.  Has anyone seen this before?   
    Timothy Kruse

    Hi Skywalker73,
    According to your description, when you export the report to Excel, the error “Excel was able to open the file by repairing or removing the unreadable content.” throws out when opening the Excel file.
    Based on my research, it has reported the same issue when exporting to Excel. The issue could cause by numeric columns has  a precision of 16 or higher. To fix the issue, we could change data type in the table to a support lower precision, or convert
    the numbers in the stored procedure that populates the report. For more information, please refer to this article:
    SSRS 2012 Bug – “Excel found unreadable content”. Besides, please refer to this
    article to check if non-printing characters exist in the report.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Error in build.xml!!!

    hi all,
    i'm working with netbeans 6 rc.
    i'm trying to build my first mobile application.
    i want to create an animation picture.
    when i tried to run it i get an error in build.xml file!!!
    the only thing i want is to suggest me a book in pdf format
    to create 2d games.
    the basics things with same code examples.

    I have some issues when building JME application in 6.0 too, try to use the latest version instead of RC and rebuild your applicaiton, if you still have the problem go back to version 5.5 or 5.5.1.
    For gaming read on the net about Game API, download few examples, understand them and you are ready to go. Do not use Netbeans 6.0 for building the games if you don't understand fully what are you doing.
    Thanks
    Kris

  • Sample-simple.2.2.1 error in build.xml

    Hi all,
    First, I ask for excuses for my english, is that I am Spanish
    I have a error in build.xml when I try to ejecute "gen-all". The error is in "gen-component", "gen-beaninfo" and "gen-taglib". The exit prints:
    Command Line Options:
    -c {classname} CategoryDescriptors constants class
    -C {packagename} Package containing ConstantMethodBinding
    -d {directory} Destination directory for generators
    -e {classname} Add FQCN of class to exclude for generation
    -f {config URL} Parse configuration URL (repeatable)
    -h Display help information
    -i {classname} Add FQCN of class to include for generation
    -L {classname} Add FQCN to list of servlet listeners
    -m {markup} Default markup section [FORM]
    -nobundles Encode description and display strings into gen code, not in resource bundles
    -o {jarURL} Omit generation for classes in (design time) JAR
    -O Override component and property descriptions from renderer and attributes
    -p {prefix} Default taglib prefix
    -r {id} Default render kit identifier
    -t {filename} Filename to contain TLD
    -T {packagename} Package for generated tag classes
    -u {uri} Default taglib URI
    -v Generated output should be verbose
    -V {classname} Add FQCN to list of JSP validators
    -x Exclude all classes parsed so far
    -w Warn on missing config URLs, instead of error
    --baseBI {class} Base class for java.beans.BeanInfo classes
    --implBD {class} Implementation class for BeanDescriptors
    --implPD {class} Implementation class for PropertyDescriptors
    --cpBeanInfo     Generate component BeanInfo classes
    --cpBeanInfoBase Generate component BeanInfoBase classes
    --cpClass        Generate component classes
    --cpClassBase    Generate component base classes
    --tlClass         Generate tag library classes
    --tlClassBase     Generate tag library base classes
    --tlDescriptor    Generate tag library descriptor
    --dump           Dump contents of root configuration bean
    --help           Display help information
    Exception in thread "main" java.lang.IllegalArgumentException: and
    at com.sun.rave.jsfmeta.generators.Main.run(Main.java:521)
    at com.sun.rave.jsfmeta.generators.Main.main(Main.java:279)
    Java Result: 1
    What am I doing bad? Please help me!
    Thanks

    Hi ,
    I have an error like this below:
    [java] Exception in thread "main" java.lang.IllegalArgumentException: and
    [java] at com.sun.rave.jsfmeta.generators.Main.run(Main.java:521)
    [java] at com.sun.rave.jsfmeta.generators.Main.main(Main.java:279)
    BUILD FAILED
    if someone know solution plz post it here
    Thanks

  • Build error for weblogic 10.3 exported build scripts

    Hi,
    Im getting the following build error on my production server:
    [mdimport] Can't find a beehive home, disabling APT for project:
    BUILD FAILED
    /apps/opt/ccm/build_mgr/VSRMSCB,int/VSRMSCB/src/BanStatusWorkspace/BanStatusEAR/build.xml:101: The following error occurred while executing this line:
    jar:file:/apps/opt/ccm/build_mgr/VSRMSCB,int/VSRMSCB/build/bin/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:115: The following error occurred while executing this line:
    /apps/opt/ccm/build_mgr/VSRMSCB,int/VSRMSCB/src/BanStatusWorkspace/BanStatusEAR/build.xml:111: The following error occurred while executing this line:
    /apps/opt/ccm/build_mgr/VSRMSCB,int/VSRMSCB/src/BanStatusWorkspace/BanStatusControls/build.xml:90: java.lang.NullPointerException
    I tried to debug the build.xml. The following tag is throeing errror
    <mdimport workspace="${workspace}" pjdir="${project.dir}" echo="${echo.metadata}">
    <!-- The WebLogic Portal home directory for the project.
    Set wlp.home when executing the build to override this value.
    -->
    <option name="wlp.home" value="/apps/opt/weblogic/weblogic103/portal"/>
    </mdimport>
    Tried to set wlp.home through env properties.. didnt work
    it works fine locally..
    Any help much appreciated
    Edited by: user11169010 on Jan 20, 2010 10:18 AM

    chk this
    Re: build errors using Ant
    1. If you are working from the user_projects directory, add the following to the properties section of the build xml "<property name="weblogic.jar.classpath" value="../../../../wlserver_10.3/server/lib"/>". Other wise set the value parameter to the full directory path of the wlserver_10.3 server lib directory.
    2. Within each taskdef element, add the following child element
    <classpath>
    <path id="weblogic.classpath" >
    <pathelement path="WEBLOGIC_HOME"/>
    <fileset dir="${weblogic.jar.classpath}">
    <include name="weblogic.jar"/>
    </fileset>
    </path>
    </classpath>
    3. Save and run ant task from your project directory.

  • Problems with BPEL Designer ERROR build.xml:28: ORABPEL-00000

    following problem could someone help me, please
    I'm using Oracle BPEL Designer Plugin bpelz_0.9.10_win32.exe installed manually on Eclipse 3.2 SDK???
    Buildfile: C:\Programme\eclipse\workspace\SyncHelloWorld\build.xml
    main:
    [bpelc] bpelc> validating "C:\Programme\eclipse\workspace\SyncHelloWorld\SyncHelloWorld.bpel" ...
    BUILD FAILED
    C:\Programme\eclipse\workspace\SyncHelloWorld\build.xml:28: ORABPEL-00000
    Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "java.lang.NoClassDefFoundError: sun/tools/javac/Main
         at com.collaxa.cube.util.JavaHelper.javac(JavaHelper.java:234)
         at com.collaxa.cube.util.JavaHelper.javac(JavaHelper.java:204)
         at com.collaxa.cube.lang.compiler.CubeProcessor.compileGeneratedClasses(CubeProcessor.java:1023)
         at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:579)
         at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:467)
         at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:68)
         at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:543)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:706)
         at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:457)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.eclipse.ant.core.AntRunner.run(AntRunner.java:356)
         at org.eclipse.ant.internal.ui.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:230)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.NoClassDefFoundError: sun/tools/javac/Main
    Handled As: com.collaxa.cube.lang.compiler.CubeCException

    Hi
    Where does your JAVA_HOME variable point to? To JRE or JDK? This looks like Eclipse can't find javac in your path.
    ^_^

  • Help requested in spotting error in build.xml

    Hi
    I am unable to get my ant build.xml to run.
    the build.xml file is as follows:
    <property name="war.name" value="concepts"></property>
      <property file="../common.properties"></property> 
    <!-- Main Target -->
    <target name="init">
       <mkdir dir="${build.dir}"></mkdir>
        <mkdir dir="${classes.dir}"></mkdir>
        <mkdir dir="${dist.dir}"></mkdir>
      </target>
      <target name="compile" depends="clover-yes,clover-no"/>
         <javac classpath="${libs}" compiler="${compiler}" debug="on" deprecation="on" destdir="${classes.dir}" optimize="on" srcdir="${src.dir}">
         <src>
            <pathelement location="${src.dir}"></pathelement>
          </src>
          <classpath>
            <fileset dir="${lib.dir}">
              <include name="**/*.jar">
              </include>
            </fileset>
            </classpath>
      <include name="${src.dir}/org/apache/commons/fileupload/**/*.java"></include>
      <include name="${src.dir}/com/portalbook/portlets/**/*.java"></include>
      <include name="${src.dir}/com/portalbook/portlets/content/**/*.java"></include>
      </javac>
      </target>
    <!--
      <target depends="init" name="compile">
        <javac debug="true" deprecation="true" destdir="${classes.dir}" optimize="false">
          <src>
            <pathelement location="${src.dir}"></pathelement>
          </src>
          <classpath>
            <fileset dir="${lib.dir}">
              <include name="*.jar">
              </include>
            </fileset>
            </classpath>
        </javac>
      </target>
        -->
      <target depends="compile" name="buildwar">
        <war destfile="${dist.dir}/${war.name}.war" webxml="WEB-INF/web.xml">
             <classes dir="${classes.dir}"></classes>
             <lib dir="${lib.dir}"></lib>
             <webinf dir="${web-inf.dir}"></webinf>
        </war>
      </target>
      <!-- create concepts-lib.jar  -->
      <jar jarfile="${build.lib}/concepts-lib.jar">
        <fileset dir="${classes.dir}"></fileset>
       </jar>
       <!-- create concepts.war -->
       <jar jarfile="${build.lib}/concepts.war" manifest="${build.etc}/concepts-war.mf">
       <fileset dir="${build.resources}/concepts-war"></fileset>
       </jar>
       <!-- concepts.ear -->
       <copy todir="${build.resources}/concepts-ear">
       <fileset dir="${build.lib}" includes="concepts.war,concepts-lib.jar">
       </fileset>
       </copy>
       <copy todir="${build.resources}/concepts-ear/META-INF">
       <fileset dir="${build.resources}/etc" includes="application.xml">
       </fileset>
       </copy>
       <jar jarfile="${build.lib}/concepts.ear">
       <fileset dir="${build.resources}/concepts-ear" includes="concepts.war,concepts-lib.jar">
       </fileset>
       </jar>
        <target depends="buildwar" name="explode">
      <taskdef classname="org.jboss.nukes.common.ant.Explode" classpath="${libs}" name="explode"></taskdef>
      <explode file="${build.lib}/concepts.ear" name="concepts.ear" todir="${build.lib}/exploded"></explode>
      </target>
      <target name="clean">
        <delete dir="${build.dir}">
        </delete>
        <delete dir="${dist.dir}">
        </delete>
      </target>
    </project>----------
    On this xml file the editor says" end tag without start-tage"..
    I am trying all the suggestions which the kind folks here have given me before. But I am still stuck.
    TIA

    Hi Dr.Clap
    I tried incorporating your suggestions. I am learning.
    I tried to make the script more readable. I tried putting in /> instead of "fileset/>
    But it did not work. The editor complains.
    I have the reworked XML file with me. Now the editor does not complain at all, but I can't get my classes to compile at all.
    <project basedir="." default="deploy" name="PortalMar28">
      <property name="src.dir" value="src"></property>
        <property name="build.dir" value="${basedir}/build"></property>
      <property name="build.lib" value="${build.dir}/lib"></property>
       <property name="dist.dir" value="dist"></property>
      <property name="classes.dir" value="${build.dir}/classes"></property>
      <property name="build.etc" value="${src.dir}/etc"></property>
      <property name="build.resources" value="${src.dir}/resources"></property>
      <property name="lib.dir" value="lib"></property>
      <property name="web-inf.dir" value="WEB-INF"></property>
      <property name="war.name" value="concepts"></property>
      <property file="../common.properties"></property> 
      <property name="libs.ant" value="${lib.dir}/explode.jar;${lib.dir}/portal-common-lib.jar;${lib.dir}/portal-core-lib.jar"></property>
       <property name="libs" value="${libs.api};${libs.ant}"></property>
    <available classname="org.apache.tools.ant.taskdefs.CloverCompilerAdapter" property="clover.available"></available>
    <!-- Main Target -->
      <target depends="prepare" if="clover.available" name="clover-yes">
          <property name="compiler" value="org.apache.tools.ant.taskdefs.CloverCompilerAdapter"></property>
       </target>
       <target depends="prepare" name="clover-no" unless="clover.available">
          <property name="compiler" value="modern"></property>
       </target>
         <target name="prepare">
          <mkdir dir="${build.dir}"></mkdir>
        <mkdir dir="${classes.dir}"></mkdir>
        <mkdir dir="${dist.dir}"></mkdir>
      </target>
         <target depends="clover-yes, clover-no" name="deploy">
         <javac classpath="${libs}" compiler="${compiler}" debug="on" deprecation="on" destdir="${classes.dir}" optimize="on" srcdir="${src.dir}">
         <src>
            <pathelement location="${src.dir}"></pathelement>
          </src>
          <classpath>
            <fileset dir="${lib.dir}">
              <include name="**/*.jar">
              </include>
            </fileset>
            </classpath>
      <include name="${src.dir}/org/apache/commons/fileupload/**/*.java"></include>
      <include name="${src.dir}/com/portalbook/portlets/**/*.java"></include>
      <include name="${src.dir}/com/portalbook/portlets/content/**/*.java"></include>
      </javac>
        <war destfile="${dist.dir}/${war.name}.war" webxml="WEB-INF/web.xml">
             <classes dir="${classes.dir}"></classes>
             <lib dir="${lib.dir}"></lib>
             <webinf dir="${web-inf.dir}"></webinf>
        </war>
      <!-- create concepts-lib.jar  -->
      <jar jarfile="${build.lib}/concepts-lib.jar">
        <fileset dir="${classes.dir}"></fileset>
       </jar>
       <!-- create concepts.war -->
       <jar jarfile="${build.lib}/concepts.war" manifest="${build.etc}/concepts-war.mf">
       <fileset dir="${build.resources}/concepts-war"></fileset>
       </jar>
       <!-- concepts.ear -->
       <copy todir="${build.resources}/concepts-ear">
       <fileset dir="${build.lib}" includes="concepts.war,concepts-lib.jar">
       </fileset>
       </copy>
       <copy todir="${build.resources}/concepts-ear/META-INF">
       <fileset dir="${build.resources}/etc" includes="application.xml">
       </fileset>
       </copy>
       <jar jarfile="${build.lib}/concepts.ear">
       <fileset dir="${build.resources}/concepts-ear" includes="concepts.war,concepts-lib.jar">
       </fileset>
       </jar>
    </target>
        <target depends="deploy" name="explode">
      <taskdef classname="org.jboss.nukes.common.ant.Explode" classpath="${libs}" name="explode"></taskdef>
      <explode file="${build.lib}/concepts.ear" name="concepts.ear" todir="${build.lib}/exploded"></explode>
      </target>
      <target name="clean">
        <delete dir="${build.dir}">
        </delete>
        <delete dir="${dist.dir}">
        </delete>
      </target>
    </project>-------------------------------------
    thanks a lot. It is greatly appreciated.

  • Native Process works OK in FlashBuilder 4.6 'run' but won't export build

    Hi,
    I have a small application that uses the 'native process' feature to invoke Image Magick to process an image file. My environment is Widows 7/64 bit.
    The application runs perfectly within FlashBuilder 4.6 using the 'run' facility and with 'supported profiles' set to 'extendedDesktop' in the -app.xml file.
    But when I try to export-build it, I get an error message (306) listing the supported profiles but extendedDesktop is not one of them.
    I have also tried to package this using the native Flex 4.6 SDK but the same error occurs.
    If I add 'desktop' to the supported profiles, the application will export build, and then allows the creation of the exe from the air file.
    But the exe will not run and just 'hangs' once you get to the point where the native proessing is invoked.
    The native process documentation says that extendedDesktop is required so the application using 'desktop' perhaps understandably 'hangs'.
    Any assistance with this will be most appreciated.

    OK, found the problem - I need to export-build the app as 'signed native installer' not 'signed AIR package'.
    Thanks to the answer to a similar problem in this forum from 2010.

Maybe you are looking for

  • IPod does not turn back on when headphones are plugged in.

    Hi all, In my previous iPod, it would automatically pause a song when the headphones are removed and if the iPod is off, it would automatically turn the iPod on once I inserted the headphone jack. My 4G iPod for some reason does not turn the iPod on

  • Adding one additional row to table control of VA01

    HI all, I am working on free goods N:N senario which is not supported by sap standard. so we have decided to club all the material on the basis of material group and PSTYV = 'tann' in the table control of va01 and at the end of tann we have to displa

  • Bridge CS5 not previewing all PDF pages

    Hi there After installing CS5 bridge only shows the first 2 pages of PDFs in the preview pane. Older PDFs seem to be ok, just not newly created ones. What am I doing wrong? I note that there's a preference for this in InDesign for INDD/IDML previews

  • SXCI2000 with Labview 8.0

    Dear Sirs.       I'd like to know if is possible to comunicate SXCI2000 with Labview 8.0 or newer version.       I know that SXCI2000 is compatible with Labview 6.0 Thanks in advance, With my best regards, Alexandre Gomes

  • MSN email graphic not displaying

    The graphics are not displaying in my MSN email (not html). I do have it setup as Exchange . I have a Palm phone and they do display correctly there. Corporate Exchange works fine too. suggestions? Post relates to: HP TouchPad (WiFi)