Creating build.xml

Hai,
I am using IntelliJ IDEA 4.5 for my project. How can I create the build.xml file using Ant? Do I need to write the coding or the build.xml will be automatically created by IntelliJ (like web.xml is created in Weblogic8.0)?
Thanx,
S.Yogesh.

Hi
Please check the IntelliJ IDEA documentation on building with Ant @http://www.jetbrains.com/idea/docs/AntIdea.pdf
Thanks
Srinivas

Similar Messages

  • Unable to create build.xml file

    I wrote build.xml file to create build using ANT in eclipse but it failed. The reason is value for "location" attribute (see below) is wrong and I don't know how to fix it. My eclipse workspace is in D:/eclipse/workspace...............but the eclipse software is in C:/eclipse....by inspection I can see that in the plugins directory in c:/eclipse there is paskage/folder named org.eclipse.jdt.core_3.0.0 which has a jar file named JDTCompilerAdapter.jar. Does the "location" attribute need to refer to this location ? If yes then how should I specify the path as I think hardcoding isn't a solution. I mean I obviously can't say
    location="C:\eclipse\plugins\org.eclipse.jdt.core_3.0.0\org.eclipse.jdt.core_3.0.0.JDTCompilerAdapter"/>
    Please advise !!
    <?xml ...>
    <project name="game" default="Main Build" basedir=".">
         <property name="bin" location="bin"/>
         <property name="src" location="src"/>
         <property name="jardir" location="${bin}/lib"/>
         <property name="jarfile" location="${jardir}/game.jar"/>
         <property name="build.compiler"
              location="org.eclipse.jdt.core_3.0.0.JDTCompilerAdapter"/>

    I'm not exactly sure what you're doing here, but I don't think any of that stuff belongs in the Ant build.xml. That should be generic, something you can run either inside or outside Eclipse.
    The compiler that's used can be specified in Eclipse when you set up paths for Ant. That doesn't belong inside the build.xml itself.

  • Netbeans build.xml file: is it created automatically or do we create?

    Hi all,
    I am using Net beans IDE 6.0. For projects (with existing code, new application project, etc). Should we create build.xml file or will it be created automatically. Many things like rmi compilation, running different run-time configurations, etc depends on that file. Please do help.
    (a build.xml file is created in project folder.)
    Thanx

    don't cross post:
    http://forum.java.sun.com/thread.jspa?messageID=10107245
    it's rude.
    you create it.
    %

  • Netbeans build.xml file is automatically created or should we create?

    Hi all,
    I am using Net beans IDE 6.0. For projects (with existing code, new application project, etc). Should we create build.xml file or will it be created automatically. Many things like rmi compilation, running different run-time configurations, etc depends on that file. Please do help.
    (a build.xml file is created in project folder.)
    Thanx

    don't cross post:
    http://forum.java.sun.com/thread.jspa?threadID=5265563&messageID=10107226#10107226
    it's rude.
    %

  • Query : JDev + build.xml

    hi all
    I have created one BPEL project in Jdev with that JDev also
    creates build.xml file for compilation & deployment.
    Now If I deploy my BPEL process using JDev Deployer window (Right click on BPEL Project -> Deploy -> BPEL Process Deployer )
    than It compiles BPEL project first then It runs Ant file - build.xml.Now here the my observation is while running build.xml file It will not run compile task - bpelc command . Yes BPEL project is already
    compiled but how JDev will come to know that it should not compile
    BPEL project again. ???
    And another doubt is which JAR file is used to executed "bpelc" command. And we can compile BPEL project from JDev as well as Developer prompt of SOA server so in both cases where this JAR file will be.???
    /M Patel

    I have actually disabled the security for that service. I am thinking the problem is that the LDAP server has some sort of block on web service calls. Could that be the issue? All of my other web services (configured the same exact way) function just fine, and running the query in LiveCycle Workbench works fine. That leads me to believe that something is stopping the WSDL connection.

  • Problem in creating a build.xml for weblogic portal application

    Team ,
    I am facing problem in creating the build.xml using weblogic.BuildXMLGEN tool .
    a) Below is the structure of my portal application
    SrcCode
    --- .metadata (eclipse plugins folder)
    --- B2BApp ( Ear Content)
    --- b2bPortal ( portal related file(controllers,jsp)
    --- b2bsrc     (java src)
    b) Now I executed below utility to generate the build.xml "
    java weblogic.BuildXMLGen -projectName B2BApp -username weblogic -file build.xml -password welcome1 F:\srcCode"
    c) Based on the above step , build.xml got generated .
    d) when I execute "ant compile" target from the command prompt , I see the below exception
    ant compile
    Buildfile: build.xml
    compile:
    +[wlcompile] [JAM] Warning: failed to resolve class AbstractJspBacking+
    +[wlcompile] [JAM] Error: unexpected exception thrown:+
    +[wlcompile] com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\b2b\dmr\Picker\PickerController.java at line 58.+
    e) I suspect , the problem is bcoz of classpath issues , as I generated build.xml donot have the references to dependent lib's.As build.xml looks like below :
    +<target name="compile" description="Only compiles B2BApp application, no appc">+
    +<wlcompile srcdir="${src.dir}" destdir="${dest.dir}">+
    +<!-- These referenced libraries were not found -->+
    +<!-- <library file="p13n-core-web-lib" /> -->+
    +<!-- <library file="jersey-web-lib" /> -->+
    +.....+
    +....+
    Please help me to reslove these issues .
    PS: I able to deploy the application using 10.3.2 weblogic workshop ( i.e inbuilt eclipse )

    i JaySen ,
    thanks for your response. As mentioned we added all the necessary library within the -librarydir but still we see the same error :
    +[JAM] Error: unexpected exception thrown:+
    com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\typeAhead\TypeAheadController.java at line 70.  Most likely, an annotation is declared whose type has not been imported.
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.getAnnotationTypeFor(JavadocTigerDelegateImpl_150.java:410)
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:176)
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:152)
    at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.addAnnotations(JavadocClassBuilder.java:404)
    at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.populate(JavadocClassBuilder.java:359)
    ===================
    a) this is a upgrade project [ upgrading from wlp 8.1.4 to 10.3.2 ]
    i.e we are using weblogic portal 10.3.2 version.
    b) Searched some sites/forums regarding the above error, and it says something related to "jwsc" ant task [ i.e while compiling a webservice(JWS) ], but we see this error while compiling a normal controller(jpf) class :(
    c) we are using "ant compile" target which internally calls wlcompile task , while executing wlcompile this error is thrown .
    Help Appreciated
    Thx,
    Sarat

  • How to create a build.xml file ??

    Hi there,
    I am learning j2ee at the moment. I have been throught the tutorial and got everything working (finally). however, now that I have started writing my own code, I am stuck with writing the build.xml file (as this is not covered in the tutorial, it is just provided). Does anyone know a good link that will give me step by step instructions on how to create my own build.xml file for my application.
    thanks

    You need to learn ant. Go here:
    http://jakarta.apache.org/ant/
    I also recommend "Java Development with Ant" by Hatcher and Loughran, just published.

  • Need build.xml to create Ear file using Ant in jdeveloper 11g??

    Hi all,
    I think Jdeveloper use ANT to create Ear file and how to get build.xml from Jdeveloper.
    1) I have created ADF Fusion web Application having separte Model and View Controller.
    2) Now when I select View Controller project and then i create New ant-> Build.xml i get the required build.xml which can be used to create war file for my View Controller project.
    3) Similarly when I select Model project and then i create New ant-> Build.xml i get the required build.xml which can be used to create Jarfile for my Model project.
    4) If I select my application and then i click deploy... I'm able to create my ear file having both war file for View Controller and Jar File for Model.
    5) But I dont know how to get built.xml file which will create ear file having both View Controller and Model in it.
    Thanks a lot....

    However note the generated Ant script includes unnecessary targets. See the following blog post: http://one-size-doesnt-fit-all.blogspot.com/2010/11/using-ojdeploy-and-ant-for-creating-adf.html
    CM.

  • [svn] 746: creating flex-sdk-description. xml is no longer a build machine only function, it will happen in the build .xml.

    Revision: 746
    Author: [email protected]
    Date: 2008-03-05 10:49:48 -0800 (Wed, 05 Mar 2008)
    Log Message:
    creating flex-sdk-description.xml is no longer a build machine only function, it will happen in the build.xml. There are 3 tokens in the flex-sdk-description.xml file in collateral/en_US/. The release and version vars are set in the build.properties file. build.number can be manually set in the properties in build.xml or can be passed in when building the SDK by using -Dbuild.number= , the default is "workspace"
    Modified Paths:
    flex/sdk/trunk/build.properties
    flex/sdk/trunk/build.xml
    Added Paths:
    flex/sdk/trunk/collateral/en_US/flex-sdk-description.xml

    I'll add that when I run devenv.exe with the flag /TFSLink, VS opens a Team Explorer window that contains the following text:
    An exception was encountered while constructing the content of this frame. This information is also logged in "C:\Users\<username>\AppData\Roaming\Microsoft\VisualStudio\11.0\ActivityLog.xml".Exception details:System.NullReferenceException: Object reference not set to an instance of an object.   at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guid& packageGuid, Int32 reason, Guid& context)   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage()   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()

  • Do we need to have build.xml for a project created in Eclipse WTP

    Hi^^,
    I had created a project in struts some time back. I remember that the classes wern't compiling until we added the build.xml to the project in the WEB-INF folder.
    Now I have cretaed a "dynamic web project" in eclipse WTP. When I right click on the project I get the option of build project. When I select the option the java classes do get compiled. My question is how does that happen without the build.xml being included in the project folder. There is a build folder but it only has the classes folder when we get the .class files after compiling.
    thanks and Regards,

    hi^^,
    I will rephrase the question. How does Eclipse build the project so that all the java files are converted to class files without using build.xml.
    ?????????

  • _pageflow and struts action xml are not creating from build.xml

    which is exported from Eclipse (Weblogic portal 10.3.2). But from Eclipse exporting EAR, which contains WAR have _pageflow directory and corresponding xml file. Here is build.xml which is exported from Eclipse.
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!-- WARNING: Eclipse auto-generated file.
    Any modifications will be overwritten.
    To include a user specific buildfile here, simply create one in the same
    directory with the processing instruction <?eclipse.ant.import?>
    as the first entry and export the buildfile again. -->
    <project basedir="." default="build" name="MyPortalWAR">
    <property environment="env"/>
    <property name="ECLIPSE_HOME" value="C:/beaportal1032/oepe_11gR1PS1/eclipse"/>
    <property name="debuglevel" value="source,lines,vars"/>
    <property name="project.dir" value="."/>
    <property name="project.name" value="MyPortalWAR"/>
    <property name="archive.name" value="${project.name}.war"/>
    <property name="target" value="1.6"/>
    <property name="source" value="1.6"/>
    <path id="WebLogic System Libraries.libraryclasspath">
    <pathelement location="../../beaportal1032/wlserver_10.3/server/lib/api.jar"/>
    <pathelement location="../../beaportal1032/modules/glassfish.jstl_1.2.0.1.jar"/>
    <pathelement location="../../beaportal1032/modules/javax.jsf_1.2.0.1.jar"/>
    <pathelement location="../../beaportal1032/modules/javax.ejb_3.0.1.jar"/>
    <pathelement location="../../beaportal1032/modules/javax.enterprise.deploy_1.2.jar"/>
    <pathelement location="../../beaportal1032/modules/javax.interceptor_1.0.jar"/>
    <pathelement location="../../beaportal1032/modules/javax.jms_1.1.1.jar"/>
    <pathelement location="../../beaportal1032/modules/javax.jsp_1.1.0.0_2-1.jar"/>
    <pathelement location="../../beaportal1032/modules/javax.jws_2.0.jar"/>
    <pathelement location="../../beaportal1032/modules/javax.activation_1.1.0.0_1-1.jar"/>
    <pathelement location="../../beaportal1032/modules/javax.mail_1.1.0.0_1-4-1.jar"/>
    <pathelement location="../../beaportal1032/modules/javax.xml.soap_1.3.1.0.jar"/>
    <pathelement location="../../beaportal1032/modules/javax.xml.rpc_1.2.1.jar"/>
    <pathelement location="../../beaportal1032/modules/javax.xml.ws_2.1.1.jar"/>
    <pathelement location="../../beaportal1032/modules/javax.management.j2ee_1.0.jar"/>
    <pathelement location="../../beaportal1032/modules/javax.resource_1.5.1.jar"/>
    <pathelement location="../../beaportal1032/modules/javax.servlet_1.0.0.0_2-5.jar"/>
    <pathelement location="../../beaportal1032/modules/javax.transaction_1.0.0.0_1-1.jar"/>
    <pathelement location="../../beaportal1032/modules/javax.xml.stream_1.1.1.0.jar"/>
    <pathelement location="../../beaportal1032/modules/javax.security.jacc_1.0.0.0_1-1.jar"/>
    <pathelement location="../../beaportal1032/modules/javax.xml.registry_1.0.0.0_1-0.jar"/>
    <pathelement location="../../beaportal1032/wlserver_10.3/server/lib/wls-api.jar"/>
    <pathelement location="../../beaportal1032/modules/com.bea.core.apache_1.2.0.0.jar"/>
    <pathelement location="../../beaportal1032/modules/com.bea.core.i18n_1.6.0.0.jar"/>
    <pathelement location="../../beaportal1032/modules/com.bea.core.logging_1.6.0.0.jar"/>
    <pathelement location="../../beaportal1032/modules/com.bea.core.utils.full_1.7.0.0.jar"/>
    <pathelement location="../../beaportal1032/modules/com.bea.core.utils.wrapper_1.4.0.0.jar"/>
    <pathelement location="../../beaportal1032/modules/com.bea.core.utils.classloaders_1.6.0.0.jar"/>
    <pathelement location="../../beaportal1032/modules/com.bea.core.common.security.providers.env_1.0.0.0_5-2-0-0.jar"/>
    <pathelement location="../../beaportal1032/modules/com.bea.core.common.security.saml2.manage_1.0.0.0_5-2-0-0.jar"/>
    <pathelement location="../../beaportal1032/modules/com.bea.core.weblogic.web.api_1.3.0.0.jar"/>
    <pathelement location="../../beaportal1032/modules/com.bea.core.weblogic.rmi.client_1.6.0.0.jar"/>
    <pathelement location="../../beaportal1032/modules/com.bea.core.transaction_2.6.0.0.jar"/>
    <pathelement location="../../beaportal1032/modules/com.bea.core.workarea_1.6.0.0.jar"/>
    <pathelement location="../../beaportal1032/modules/com.bea.core.xml.weblogic.xpath_1.3.0.0.jar"/>
    <pathelement location="../../beaportal1032/modules/com.bea.core.datasource6_1.7.0.0.jar"/>
    <pathelement location="../../beaportal1032/modules/com.bea.core.weblogic.stax_1.6.0.0.jar"/>
    <pathelement location="../../beaportal1032/modules/javax.persistence_1.0.0.0_1-0-2.jar"/>
    </path>
    <path id="EAR Libraries.libraryclasspath"/>
    <path id="Shared Library [wlp-tools-dvt-web-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-tools-dvt-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/war-classes.jar"/>
    </path>
    <path id="Shared Library [wlp-framework-full-web-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-framework-full-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/netuix_servlet-full.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-framework-full-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/wsrp-complex-producer.jar"/>
    </path>
    <path id="Shared Library [wlp-jsf-portlet-bridge-2.0-web-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-jsf-portlet-bridge-2.0-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/portlet-bridge-api-2.0.0-SNAPSHOT.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-jsf-portlet-bridge-2.0-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/portlet-bridge-impl-2.0.0-SNAPSHOT.jar"/>
    </path>
    <path id="Shared Library [wlp-clipper-web-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-clipper-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/netuix_clipper.jar"/>
    </path>
    <path id="Shared Library [wlp-lookandfeel-web-lib].libraryclasspath"/>
    <path id="Shared Library [wlp-rest-full-web-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-rest-full-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/netuix_rest-full.jar"/>
    </path>
    <path id="Shared Library [wlp-framework-rest-web-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-framework-rest-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/netuix_rest.jar"/>
    </path>
    <path id="Shared Library [content-management-faces-web-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/content-management-faces-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/content_faces.jar"/>
    </path>
    <path id="Shared Library [wlp-rest-web-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-rest-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/rest_servlet.jar"/>
    </path>
    <path id="Shared Library [wlp-light-web-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-light-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/ccpp-1_0.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-light-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/ccpp-ri-1_0.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-light-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/classes.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-light-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/client_taglib.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-light-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/jena-1.4.0.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-light-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/l10n_taglib.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-light-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/netuix_servlet.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-light-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/portlet-container.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-light-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/prefs-spi.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-light-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/prefs_taglib.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-light-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/rdffilter.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-light-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/render_taglib.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-light-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/skeleton_taglib.jar"/>
    </path>
    <path id="Shared Library [wlp-wsrp-producer-web-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-wsrp-producer-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/wsrp-producer.jar"/>
    </path>
    <path id="Shared Library [wlp-framework-common-web-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-framework-common-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/faces-adapter.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-framework-common-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/netui-adapter.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-framework-common-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/netuix_common_web.jar"/>
    </path>
    <path id="Shared Library [jstl].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/jstl_1.2_1.2.0.1/1/WEB-INF/lib/glassfish.jstl_1.2.0.1.jar"/>
    </path>
    <path id="Shared Library [wlp-framework-struts-1.2-web-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-framework-struts-1.2-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/struts-adapter.jar"/>
    </path>
    <path id="Shared Library [struts-1.2].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/struts-1.2_1.2_1.2.9/1/WEB-INF/lib/commons-beanutils.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/struts-1.2_1.2_1.2.9/1/WEB-INF/lib/commons-digester.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/struts-1.2_1.2_1.2.9/1/WEB-INF/lib/commons-fileupload-1.0.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/struts-1.2_1.2_1.2.9/1/WEB-INF/lib/commons-logging.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/struts-1.2_1.2_1.2.9/1/WEB-INF/lib/commons-validator-1.1.4.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/struts-1.2_1.2_1.2.9/1/WEB-INF/lib/jakarta-oro.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/struts-1.2_1.2_1.2.9/1/WEB-INF/lib/struts.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/struts-1.2_1.2_1.2.9/1/WEB-INF/lib/commons-beanutils.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/struts-1.2_1.2_1.2.9/1/WEB-INF/lib/commons-digester.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/struts-1.2_1.2_1.2.9/1/WEB-INF/lib/commons-logging.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/struts-1.2_1.2_1.2.9/1/WEB-INF/lib/jakarta-oro.jar"/>
    </path>
    <path id="Oracle WebLogic Portal Server.libraryclasspath">
    <pathelement location="../../beaportal1032/wlportal_10.3/p13n/lib/system/p13n_common.jar"/>
    <pathelement location="../../beaportal1032/wlportal_10.3/p13n/lib/system/p13n_system.jar"/>
    <pathelement location="../../beaportal1032/wlportal_10.3/p13n/lib/system/p13n-schemas.jar"/>
    <pathelement location="../../beaportal1032/wlportal_10.3/p13n/lib/system/wlp_services.jar"/>
    <pathelement location="../../beaportal1032/wlportal_10.3/light-portal/lib/system/wsrp-common.jar"/>
    <pathelement location="../../beaportal1032/wlportal_10.3/light-portal/lib/system/wsrp-client.jar"/>
    <pathelement location="../../beaportal1032/wlportal_10.3/light-portal/lib/system/netuix_common.jar"/>
    <pathelement location="../../beaportal1032/wlportal_10.3/light-portal/lib/system/netuix_schemas.jar"/>
    <pathelement location="../../beaportal1032/wlportal_10.3/light-portal/lib/system/netuix_system.jar"/>
    <pathelement location="../../beaportal1032/wlportal_10.3/portal/lib/system/netuix_system-full.jar"/>
    <pathelement location="../../beaportal1032/wlportal_10.3/content-mgmt/lib/system/content_system.jar"/>
    <pathelement location="../../beaportal1032/wlportal_10.3/info-mgmt/lib/system/wps_system.jar"/>
    <pathelement location="../../beaportal1032/wlportal_10.3/info-mgmt/lib/system/wlp_content_system.jar"/>
    <pathelement location="../../beaportal1032/wlportal_10.3/info-mgmt/lib/system/wlp-schemas.jar"/>
    <pathelement location="../../beaportal1032/wlportal_10.3/apps/lib/system/groupspace_system.jar"/>
    <pathelement location="../../beaportal1032/wlportal_10.3/analytics/lib/system/analytics_sys.jar"/>
    </path>
    <path id="Shared Library [beehive-controls-1.0.1-10.0-war].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/beehive-controls-1.0.1-10.0-war_1.0_1.0.2.2/1/WEB-INF/lib/beehive-controls.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/beehive-controls-1.0.1-10.0-war_1.0_1.0.2.2/1/WEB-INF/lib/beehive-ejb-control.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/beehive-controls-1.0.1-10.0-war_1.0_1.0.2.2/1/WEB-INF/lib/beehive-jdbc-control.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/beehive-controls-1.0.1-10.0-war_1.0_1.0.2.2/1/WEB-INF/lib/beehive-jms-control.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/beehive-controls-1.0.1-10.0-war_1.0_1.0.2.2/1/WEB-INF/lib/commons-codec-1.3.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/beehive-controls-1.0.1-10.0-war_1.0_1.0.2.2/1/WEB-INF/lib/commons-discovery.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/beehive-controls-1.0.1-10.0-war_1.0_1.0.2.2/1/WEB-INF/lib/commons-logging.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/beehive-controls-1.0.1-10.0-war_1.0_1.0.2.2/1/WEB-INF/lib/log4j-1.2.8.jar"/>
    </path>
    <path id="Apache XMLBeans v2.3.libraryclasspath">
    <pathelement location="${ECLIPSE_HOME}/dropins/oepe/eclipse/plugins/oracle.eclipse.tools.xmlbeans.library.v23_2.2.1.201001302105.jar"/>
    </path>
    <path id="Shared Library [jsf].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/jsf_1.2_1.2.9.0/1/WEB-INF/lib/glassfish.jsf_1.2.9.0.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/jsf_1.2_1.2.9.0/1/WEB-INF/lib/glassfish.jstl_1.2.0.1.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/jsf_1.2_1.2.9.0/1/WEB-INF/lib/javax.jsf_1.2.0.1.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/jsf_1.2_1.2.9.0/1/WEB-INF/lib/wls.jsf.di.jar"/>
    </path>
    <path id="Shared Library [jaxrs-framework-web-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/jaxrs-framework-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/jackson-core-asl-1.1.0.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/jaxrs-framework-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/jackson-jaxrs-1.1.0.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/jaxrs-framework-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/jackson-mapper-asl-1.1.0.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/jaxrs-framework-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/rest-framework.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/jaxrs-framework-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/token-manager.jar"/>
    </path>
    <path id="Shared Library [jersey-web-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/jersey-web-lib_1.0_1.0.2/1/WEB-INF/lib/asm-3.1.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/jersey-web-lib_1.0_1.0.2/1/WEB-INF/lib/jersey-core-1.0.2.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/jersey-web-lib_1.0_1.0.2/1/WEB-INF/lib/jersey-server-1.0.2.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/jersey-web-lib_1.0_1.0.2/1/WEB-INF/lib/jsr311-api-1.0.jar"/>
    </path>
    <path id="Shared Library [content-management-app-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/content-management-app-lib_10.3.2_10.3.2/1/APP-INF/lib/content_wlp.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/content-management-app-lib_10.3.2_10.3.2/1/APP-INF/lib/jcrspi-1.0.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/content-management-app-lib_10.3.2_10.3.2/1/content_repo.jar"/>
    </path>
    <path id="Shared Library [wlp-services-web-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-services-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/ad_taglib.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-services-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/content_servlet.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-services-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/dt_taglib.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-services-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/ph_taglib.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-services-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/pz_taglib.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-services-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/um_taglib.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-services-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/wlp_content.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-services-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/wps_servlet.jar"/>
    </path>
    <path id="Shared Library [content-management-web-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/content-management-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/cmwsrp_taglib.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/content-management-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/content_functions.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/content-management-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/content_servlet.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/content-management-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/content_web_common.jar"/>
    </path>
    <path id="Shared Library [wlp-services-app-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-services-app-lib_10.3.2_10.3.2/1/APP-INF/lib/classes.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-services-app-lib_10.3.2_10.3.2/1/wps.jar"/>
    </path>
    <path id="Shared Library [vcr-app-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/vcr-app-lib_10.3.2_10.3.2/1/APP-INF/lib/content_system.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/vcr-app-lib_10.3.2_10.3.2/1/content.jar"/>
    </path>
    <path id="Shared Library [wls-commonslogging-bridge-war].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wls-commonslogging-bridge-war_1.0_1.1/1/WEB-INF/lib/commons-logging.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wls-commonslogging-bridge-war_1.0_1.1/1/WEB-INF/lib/wlcommons-logging.jar"/>
    </path>
    <path id="Shared Library [wlp-beehive-web-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-beehive-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/wlp-beehive-classes.jar"/>
    </path>
    <path id="Shared Library [beehive-netui-1.0.1-10.0].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/beehive-netui-1.0.1-10.0_1.0_1.0.2.2/1/WEB-INF/lib/beehive-netui-core.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/beehive-netui-1.0.1-10.0_1.0_1.0.2.2/1/WEB-INF/lib/beehive-netui-tags.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/beehive-netui-1.0.1-10.0_1.0_1.0.2.2/1/WEB-INF/lib/commons-codec-1.3.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/beehive-netui-1.0.1-10.0_1.0_1.0.2.2/1/WEB-INF/lib/commons-el.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/beehive-netui-1.0.1-10.0_1.0_1.0.2.2/1/WEB-INF/lib/weblogic-netui.jar"/>
    </path>
    <path id="Shared Library [beehive-netui-resources-1.0.1-10.0].libraryclasspath"/>
    <path id="Shared Library [p13n-rest-web-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/p13n-rest-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/p13n_rest.jar"/>
    </path>
    <path id="Shared Library [p13n-web-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/p13n-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/auth_taglib.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/p13n-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/es_taglib.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/p13n-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/i18n_taglib.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/p13n-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/profile_taglib.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/p13n-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/ps_taglib.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/p13n-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/tracking_taglib.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/p13n-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/ugm_taglib.jar"/>
    </path>
    <path id="Shared Library [p13n-core-web-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/p13n-core-web-lib_10.3.2_10.3.2/1/WEB-INF/lib/p13n_web_app.jar"/>
    </path>
    <path id="Shared Library [wlp-framework-full-app-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-framework-full-app-lib_10.3.2_10.3.2/1/APP-INF/lib/classes.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-framework-full-app-lib_10.3.2_10.3.2/1/netuix.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/wlp-framework-full-app-lib_10.3.2_10.3.2/1/prefs.jar"/>
    </path>
    <path id="Shared Library [p13n-app-lib].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/p13n-app-lib_10.3.2_10.3.2/1/APP-INF/lib/credentialvault_service.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/p13n-app-lib_10.3.2_10.3.2/1/p13n_ejb.jar"/>
    </path>
    <path id="Shared Library [p13n-app-lib-base].libraryclasspath">
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/p13n-app-lib-base_10.3.2_10.3.2/1/APP-INF/lib/p13n-schemas.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/p13n-app-lib-base_10.3.2_10.3.2/1/APP-INF/lib/p13n_app.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/p13n-app-lib-base_10.3.2_10.3.2/1/APP-INF/lib/p13n_common.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/p13n-app-lib-base_10.3.2_10.3.2/1/APP-INF/lib/p13n_system.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/p13n-app-lib-base_10.3.2_10.3.2/1/APP-INF/lib/p13n_common.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/p13n-app-lib-base_10.3.2_10.3.2/1/APP-INF/lib/p13n-schemas.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/p13n-app-lib-base_10.3.2_10.3.2/1/APP-INF/lib/wlp_services.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/p13n-app-lib-base_10.3.2_10.3.2/1/APP-INF/lib/wlp_services.jar"/>
    <pathelement location="../.metadata/.plugins/oracle.eclipse.tools.weblogic/libraries/p13n-app-lib-base_10.3.2_10.3.2/1/p13n_ejb_base.jar"/>
    Any ideas ..?
    - Ravi

    your problem here seems to be in your jsp, you have not given your jsp code here but its form tag should be like ,
    <html:form action="/searchCollegeResult.do">
    //your code
    </html:form>check this if it is same pls put your jsp code here then I can check.

  • Build.xml classpath ref to be used in another build XML file

    Hi,
    I have ant build.xml with a target as
    <target name="build_project">
              <ant antfile="C:/projects/antbuild/build.xml" inheritAll="true">
                   <target name="clean" />
              </ant>
         </target>
         in report1.xml.
         This build.xml inturn have the classpath defined in it with the JARS added to the classpath.
         In the report2.xml,
         Can I use the classpathref in build.xml which is defined in report2.xml? Where report2.xml is imported in report1.xml as
         <import file="report2.xml" />
         If I can do so I don't have to create duplicate class path ref again adding all the JARS in report2.xml?
         Please clarify.
    Thanks.

    I've used quite a bit of ANT in the past, but I don't really know what to answer to your question that is in any way helpful to you. I remember that ANT has some form of build file inheritance built in, I've played around with it in years ago to try and crank out somewhat standardized build files with reusable elements. What I can recall is that I had to read a book on advanced ANT usage to be able to work it out, the online manual wasn't nearly enough.

  • 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.

  • Errror while Running the ant file(build.xml) when applying B2B-BPEL patch

    Hello all,
    I am trying to apply the B2B WSIL Browser patch and while running the ant file i got the following warning while backing out d3l.jar file
    echo Backing out dl3l.jar to avoid conflicts with B2B...
    move *Warning: Could not find file C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\xqs\lib\d3l.jar to copy.*
    and the following error when it was not able to find admin_client.jar file
    *java Unable to access jarfile C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\j2ee\home\admin_client.jar*
    java Java Result: 1
    echo Binding B2B WSIL Browser...
    *java Unable to access jarfile C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\j2ee\home\admin_client.jar*
    and the BUILD FAILED
    *so i created the necessary folders in the newly generated folder manually in ${env.ORACLE_HOME} i.e xqs\lib & j2ee\home and pasted the d3l.jar and admin_client.jar in these folders respectively,and again ran the ant file,this time the error is first problem is cleared i.e it is not showing the warning that it could not find* d3l.jar_+ file and it is also converting this file as d3l.jar.hide_+ *, but this time in the place of second error a new error is generated i.e* +
    Problem_
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL&gt;ant
    Buildfile: build.xml
    apply-b2b-bpel-10.1.3:
    echo Prompting for B2B repository connection parameters...
    input Please enter B2B repository hostname [http://127.0.0.1:] [http://127.0.0.1]
    172.17.4.14
    input Please enter B2B repository port 1521: 1521
    1521
    input Please enter B2B repository sid ORCL: ORCL
    orcl
    input Please enter B2B password b2b: b2b
    b2b
    input Please enter oc4j instance name home: home
    home
    input Please enter oc4j admin password welcome1: welcome1
    welcome1
    input Please enter opmn request port 6003: 6003
    6003
    echo Copying b2b.jar and tip.properties to appropriate locations...
    copy Copying 1 file to C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\lib
    copy Copying 1 file to C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.OB_HOME}\system\classes
    echo Backing out dl3l.jar to avoid conflicts with B2B...
    move Moving 1 file to C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\xqs\lib
    echo Deploying B2B WSIL Browser ...
    echo OPMN Port is : 6003
    echo Container is : home
    echo Host is : ${env.HOSTNAME}
    echo iasadminpassword is : welcome1
    java java.lang.NoClassDefFoundError: oracle/oc4j/admin/deploy/cmdline/Oc4jAdminCmdline
    java Exception in thread "main"
    java Java Result: 1
    echo Binding B2B WSIL Browser...
    java java.lang.NoClassDefFoundError: oracle/oc4j/admin/deploy/cmdline/Oc4jAdminCmdline
    java Exception in thread "main"
    BUILD FAILED
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\build.xml:88: The following error occurred while executing this line:
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\build.xml:49: Java returned: 1
    Total time: 31 seconds
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL&gt;
    i have set the classpath for the jdk and jre files correctly and also checked it with a sample program and the file is compiling and running with correct output.then why is it showing up java.lang.NoClassDefFoundError exception.Did anyone face the same problem or have a solution for this problem if they have then plzzz help me
    thnx
    Sunny
    Edited by: sunny kay on Jan 27, 2009 4:14 AM

    Hello sri,
    Thanks for your response as you have told i have set the ORACLE_HOME = C:\product\10.1.3.1\OracleAS_1
    and added C:\product\10.1.3.1\OracleAS_1\bin to my sys path
    and i have also set the JAVA_HOME=C:\product\10.1.3.1\OracleAS_1\jdk
    and added C:\product\10.1.3.1\OracleAS_1\jdk\bin to my sys path
    and ran the patch,now its coming up with a different problem after entering the B2B repository connection parameters...
    and it is
    Problem_
    echo Deploying B2B WSIL Browser ...
    echo OPMN Port is : 6003
    echo Container is : home
    echo Host is : ${env.HOSTNAME}
    echo iasadminpassword is : welcome1
    java
    java
    java Failed at "Could not get DeploymentManager".
    java
    java This is typically the result of an invalid deployer URI format being
    supplied, the target server not being in a started state or incorrect authentic
    ation details being supplied.
    java
    java More information is available by enabling logging -- please see the
    Oracle Containers for J2EE Configuration and Administration Guide for details.
    java
    java
    java Java Result: 1
    echo Binding B2B WSIL Browser...
    java
    java
    java Failed at "Could not get DeploymentManager".
    java
    java This is typically the result of an invalid deployer URI format being
    supplied, the target server not being in a started state or incorrect authentic
    ation details being supplied.
    java
    java More information is available by enabling logging -- please see the
    Oracle Containers for J2EE Configuration and Administration Guide for details.
    java
    java
    BUILD FAILED
    The Application Server is in the started state and these are the details that i have entered when B2B Repository Connection Parameters is prompeted
    echo Prompting for B2B repository connection parameters...
    input Please enter B2B repository hostname [http://127.0.0.1]: [http://127.0.0.1]
    172.17.4.14
    input Please enter B2B repository port [1521|http://forums.oracle.com/forums/]: [1521|http://forums.oracle.com/forums/]
    1521
    input Please enter B2B repository sid ORCL: ORCL
    orcl
    input Please enter B2B password [b2b|http://forums.oracle.com/forums/]: [b2b|http://forums.oracle.com/forums/]
    b2b
    input Please enter oc4j instance name home: home
    home
    input Please enter oc4j admin password [welcome1|http://forums.oracle.com/forums/]: [welcome1|http://forums.oracle.com/forums/]
    welcome1
    input Please enter opmn request port [6003|http://forums.oracle.com/forums/]: [6003|http://forums.oracle.com/forums/]
    6003
    is anything wrong in this i have tried by giving the default host name instead of mine but result is still the same.what is the problem can you figure it out and provide me a solution.
    thnx
    Sunny

  • Creating an xml file from recordset

    Hi...
    XML newbie here - so.
    Is it possible to create and xml file from a recordset?
    I need to create a datafeed of our e-commerce products.
    Also, some of the db data contains HTML Code (product
    description field),
    how will this effect the xml file?
    Another problem is that my xml file needs to contain url's
    for the products
    and product images. My ASP pages contain these URL in hard
    code and then
    pull the actual file names from the db
    Hope that makes some sense
    Thanks for any help
    Andy

    Hi David
    Thanks for your help.
    I think it will have to be option 1 as i am using Access DB.
    I don't know how to go about it but will serach good old
    Google.
    Here is my recordset below, that pulls the required data from
    Access.
    The product and product image URL's need to be in the xml
    file but only the
    product image name and product id are in the database, e.g
    image name
    (imagename.jpg) productid (21)
    The actual URL's are hardcoded in my ASP pages, e.g <img
    src="products/medium/<%=(RSDetails.Fields.Item("Image").Value)%>"
    Not sure if this makes things any clearer :-|
    Thanks Again
    Andy
    <%
    Dim RSdatafeed
    Dim RSdatafeed_numRows
    Set RSdatafeed = Server.CreateObject("ADODB.Recordset")
    RSdatafeed.ActiveConnection = MM_shoppingcart_STRING
    RSdatafeed.Source = "SELECT Products.Product,
    Products.Description,
    Products.Image, Products.image2, Products.ListPrice,
    Products.Price,
    Products.xml_feed, Manufacturers.Manufacturer,
    Shipping.ShippingCost FROM
    Shipping, Products INNER JOIN Manufacturers ON
    Products.ManufacturerID =
    Manufacturers.ManufacturerID WHERE
    (((Products.xml_feed)=No));"
    RSdatafeed.CursorType = 0
    RSdatafeed.CursorLocation = 2
    RSdatafeed.LockType = 1
    RSdatafeed.Open()
    RSdatafeed_numRows = 0
    %>
    "DEPearson" <[email protected]> wrote in
    message
    news:[email protected]...
    > Andy,
    >
    > There are two ways you can create a xml file from a
    recordset
    >
    > 1. Is to code it using Server.CreateObject(XMLDOM)
    > 2. If you are using SQL server 2005, just request the RS
    returns as XML
    > data. using FOR XML AUTO after the where cause ( the
    best way with 2005
    > and
    > higher sql server)
    >
    > The db data containing HTML code should not effect your
    xml file, unless
    > it
    > is bad markup. You could wrap the data with
    <![CDATA[the data or html
    > markup, or javascript]]>
    >
    > If the url is a recordset field, then it will return
    with the xml data.
    > If
    > not you can create a storage procedure that will build
    your URL from the
    > data
    > in the database.
    >
    > It is best to use storage procedure (SP )for security
    reason when pulling
    > data
    > from a MS Sql server, make all calls to the database in
    a SP. Also be sure
    > to
    > validate the values in the querystrings before accepting
    them, check for
    > hack
    > code.
    >
    > David
    >

Maybe you are looking for

  • Unable to capture return values in web services api

    At the time of login to web services if my server is down , it returns following error : java.lang.StringIndexOutOfBoundsException: String index out of range: -1         at java.lang.String.substring(String.java:1438)         at java.lang.String.subs

  • Calendar Prompt in OLAP Universe does on resolved.

    Hi, I am using BO XI 3.1 with latest fix pack. I have created a OLAP universe based on SSAS 2005 Multicube  for reporting using WebI. I have a date field in my database but when i but when i created a Universe based on that cube the date field became

  • Explain Plan understand technique & Query optimizing check list

    Hello gurus, Can some body help me with doc available or your experience to tell on how to understand Explain Plan & Query optimizing check list. Thanks..

  • JTable Column Header Problem, Please help me

    What Listener I have to used to get the column index when user change the width of column header using mouse.

  • BACKUP CONTROL FILE

    Hi all, 11.2.0.1 Aix 6.1 I want to backup my control file to text as in SQL> alter system backup controlfile to '/u01/a.txt'; But  the output is not readable Why is that if the command is SQL> alter system backup controlfile to trace; The output is r