ECLIPSE BUILD WITH ANT CFURLGetFSRef failed

Hi,
someone know why when a build the same code I create with the DollyXs and use in my Xcode in Eclipse appear this message error?
[echo] Now compiling FR file /Users/rbueno/Development/Indesign Plugin Editor/sdk/source/sdksamples/myplugin/MyPlug.fr for mac
[exec] Beginning ODFRC
[exec] CFURLGetFSRef failed - maybe the output directory doesn't exist (ODFRC.res)
[echo] FR Compilation Complete: Attempting to build C++ files...
[exec] xcodebuild: Warning: configuration release is not in the project. Building default configuration.
I see in archived post some guy have the some problem and fix that when he changed the location form release build. I try to do the some, but i don't have success.
Thanks a Lot!

The full build message.
Buildfile: /Users/rbueno/Development/Indesign Plugin Editor/projects/MyPlugin/build.xml
mac:
[echo] Now compiling FR file /Users/rbueno/Development/Indesign Plugin Editor/sdk/source/sdksamples/myplugin/MyPlug.fr for mac
[exec] Beginning ODFRC
[exec] CFURLGetFSRef failed - maybe the output directory doesn't exist? (ODFRC.res)
[echo] FR Compilation Complete: Attempting to build C++ files...
[exec] xcodebuild: Warning: configuration release is not in the project. Building default configuration.
[exec] === BUILDING NATIVE TARGET Debug WITH THE DEFAULT CONFIGURATION (Default) ===
[exec] Checking Dependencies...
[exec] PhaseScriptExecution "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj/../../../source/sdksamples/myplugin/MyPlug.fr"
[exec] cd "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj"
[exec] /bin/sh -c "\"../../../devtools/bin/odfrc-cmd\" -d DEBUG -d MACINTOSH -d __GNUC__ -o \"$REZ_COLLECTOR_DIR/$INPUT_FILE_NAME.rsrc\" \"$INPUT_FILE_PATH\""
[exec] Beginning ODFRC
[exec] ResMergerCollector "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj/build/MyPlugin.build/Default/Debug.build/ResourceManagerResource s/MyPlugin.rsrc"
[exec] cd "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj"
[exec] /Developer/Tools/ResMerger -dstIs DF "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj/build/MyPlugin.build/Default/Debug.build/ResourceManagerResource s/MyPlug.fr.rsrc" -o "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj/build/MyPlugin.build/Default/Debug.build/ResourceManagerResource s/MyPlugin.rsrc"
[exec] ResMergerProduct "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj/../debug/sdk/MyPlugin.InDesignPlugin/Versions/A/Resources/MyPlug in.rsrc"
[exec] cd "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj"
[exec] /Developer/Tools/ResMerger "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj/build/MyPlugin.build/Default/Debug.build/ResourceManagerResource s/MyPlugin.rsrc" -dstIs DF -o "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj/../debug/sdk/MyPlugin.InDesignPlugin/Versions/A/Resources/MyPlug in.rsrc"
[exec] Touch "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj/../debug/sdk/MyPlugin.InDesignPlugin"
[exec] cd "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj"
[exec] /usr/bin/touch -c "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj/../debug/sdk/MyPlugin.InDesignPlugin"
[exec] ** BUILD SUCCEEDED **
[echo] C++ Build Complete
BUILD SUCCESSFUL
Total time: 6 seconds

Similar Messages

  • Problem building with ant

    Hi all,
    For some reason i get the following error message when trying to build any of the code in the j2ee tutorial.
    C:\WINDOWS\system32\ntvdm.exe
    Error while setting up environment for the application. Choose 'close' to terminate the application
    If anyone has any ideas as to why this happens, any help would be much appreciated.
    thanks

    i'm using windows xp pro. i have actually sorted that problem out by replacing ant 1.3 with ant 1.5
    I now have another error message. When i try to run the application client with the foolowing command:
    C:\forte4j\j2sdkee1.3\bin>runclient client \examples\ears\SavingsAccountApp.ear -name SavingsAccountClient -textauth
    I get the following
    Initiating login ...
    Username = null
    Enter Username:guest
    Enter Password:guest123
    Binding name:`java:comp/env/ejb/SimpleSavingsAccount`
    Application threw an exception:java.lang.NoClassDefFoundError: SavingsAccountHome
    Unbinding name:`java:comp/env/ejb/SimpleSavingsAccount`
    Not sure why i am getting the exception.

  • J2EE Tutorial: Exception when building with ant

    I am trying to build the converter example on page 48 of the J2EE tutorial using ant. Ant seems to choke on the following line from the build.xml:
    <property environment="myenv" />
    The output of the "ant converter" command is:
    Buildfile: build.xml
    init:
    BUILD FAILED
    /usr/j2sdkee1.3/j2eetutorial/examples/src/build.xml:18: /usr/j2sdkee1.3/j2eetutorial/examples/src/build.xml:18: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    --- Nested Exception ---
    /usr/j2sdkee1.3/j2eetutorial/examples/src/build.xml:18: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    --- Nested Exception ---
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1525)
    at org.apache.tools.ant.taskdefs.Property.loadEnvironment(Property.java:248)
    at org.apache.tools.ant.taskdefs.Property.execute(Property.java:172)
    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)
    Total time: 1 second
    My best guess is that the "myenv" line in the build.xml requires some additional attribute. I'm using ant version 1.3. My OS is Solaris (noted for possible environment-related issues).
    Thanks in advance!
    Eric Smith

    On Windows XP Pro, the line
    <property environment="myenv" />
    in the init target of build.xml for the j2ee tutorial examples triggers a windows error message:
    16 bit MS-DOS Subsystem
    =======================
    C:\WINDOWS\system32\ntvdm.exe
    Error while setting up environment for the application. Choose 'Close' to terminate the application.
    <<Close>> <<Ignore>>
    So it looks as if ant is trying and failing to access the winnt system environment here.
    According to Ant Developers Handbook (Sams, October 2002, chapter 4, p. 151), the ant environment property "specifies a prefix, giving access to OS-specific environment variables. This is not supported on all platforms." Until this problem is fixed, it appears that on XP systems anyway, any ant settings in build.xml files that rely on direct access to the system environment will fail. Here is some debug output from the j2ee tutorial examples init target which demonstrates this:
    C:\apps\j2sdkee1.3.1\j2eetutorial\examples>ant init
    Buildfile: build.xml
    init:
    [echo] starting init target
    [echo] reached marker 1
    [echo] reached marker 2
    [echo] value of J2EE_HOME is ${myenv.J2EE_HOME}
    [echo] finished init target
    BUILD SUCCESSFUL
    where the task:
    <property environment="myenv" />
    (which generates the OS error popup noted above) occurs between marker 1 and marker 2. Clearly the value of J2EE_HOME is NOT being successfully read from the system environment here.

  • Build with ant in a new way

    Hello everyone,
    I'm not sure if the title is proper, but I have a project to upgrade to weblogic 10, along with the upgrade I'm going to enhance the build files. Currently we have 450 ant file. There are many dependencies and all build files have hardcoded paths such "c:\sourcecode ...". Our application is about 6000000 lOC. Anyway, my job is to replace these paths with properties and change some old ant tasks.
    You now imagine what I'm going to go through. Obviously, I need to edit 450 (can build tool for that) and do check in and out. Then test to make sure I didn't missed up with the dependency.
    I'm no expert in ANT but we did some evaluation to ANT, Maven, Jam and we found ANT is the best fit for our environment because we have some structuring issues.
    While working I have got this idea, however I'm not sure if it's the best, so I hope you can help here and give me your advice.
    I will create a utilityBuild.xml. This ant file will contain the entire tasks we perform in all the 450. Rest of 450 ant will perform call to this utilityBuild.xml whenever it needs to do something e.g .
    {color:#008000}<!-- Create Jar file of the classes in the ${tempdir} and then apply appc compilation on them-->{color}
    <ant inheritAll="true" dir="${ROOT}" antfile="${UTILITYBUILD}" target="appc"/>
    Note: UTILITYBUILD = utilityBuild.xml
    UtilityBuild.xml has this task as
    {color:#008000}<!-- Perform weblogic.appc on the given Jar file to generate the Skeleton files -->{color}
    <target name="appc" depends="jar.ejb" >
    <java classname="weblogic.appc" fork="yes">
    <sysproperty key="weblogic.home" value="${WL_HOME}"/>
    <arg line="-compiler javac ${appdir}/${jarfile}"/>
    <classpath>
    <pathelement path="$classpath"/>
    </classpath>
    </java>
    </target>
    The {color:#ff0000}*benefit*{color} of doing this is {color:#ff0000}*if we decide to use wlcompile and wlappc instead of the above we only need to change one place utilityBuild.xml*{color} . I understand that I can make a custom ant task instead of relying on the properties that's passed when calling the child ant task.
    {color:#0000ff}*For complete Source file* {color}
    UtilityBuild.xml
    <project name="SIMIS" basedir=".">
    <!-- set global properties for this build -->
    <property environment="env"/>
    <property file="gosi.properties"/>
    <target name="maketempdir" description="Create ${tempdir} directory">
    <echo message="#### S T A R T B U I L D I N G ####"/>
    <echo message="Started on ${TODAY} at ${TSTAMP}"/>
    <mkdir dir="${tempdir}"/>
    <mkdir dir="${tempdir}/META-INF"/>
    <copy todir="${tempdir}/META-INF">
    <fileset dir="${xmldir}">
    <include name="*.xml"/>
    </fileset>
    </copy>
    </target>
    <!-- Clean all build related dirs, jars and xmls -->
    <target name="cleantemp" description="Deletes ${build.dir}/** and ${dist.dir}/**." >
    <delete includeEmptyDirs="true" failonerror="false">
    <fileset dir="${clientclasses}" includes="**/*EJB.class"/>
    <fileset dir="${tempdir}" includes="**/*"/>
    </delete>
    <delete dir="${tempdir}"/>
    <echo message="#### E N D B U I L D I N G ####"/>
    </target>
    <!-- Perform weblogic.appc on the given Jar file to generate the Skeleton files -->
    <target name="appc" depends="jar.ejb" >
    <java classname="weblogic.appc" fork="yes">
    <sysproperty key="weblogic.home" value="${WL_HOME}"/>
    <arg line="-compiler javac ${appdir}/${jarfile}"/>
    <classpath>
    <pathelement path="$classpath"/>
    </classpath>
    </java>
    </target>
    <target name="jar.ejb" >
    <jar jarfile="${appdir}/${jarfile}"
    basedir="${tempdir}" update="yes">
    </jar>
    </target>
    <target name="javac">
    <javac srcdir="${sourcedir}" destdir="${destinationdir}" includes="${include}" excludes="${exclude}" classpath="${classpath}" />
    </target>
    <target name="copy" description="copy contents to directory">
    <copy todir="${todir}">
    <fileset dir="${fromdir}">
    <include name="${include}"/>
    <exnclude name="${exclude}"/>
    </fileset>
    </copy>
    </target>
    <target name="clean" description="clean contents of directory">
    <delete includeEmptyDirs="true" failonerror="false">
    <fileset dir="${cleandir}" includes="${include}" excludes="${exclude}"/>
    </delete>
    </target>
    <target name="delete" description="delete entire directory">
    <delete dir="${deletedir}"/>
    </target>
    <!-- deploy split directory application -->
    <target name="deploy"
    description="Deploy ear to WebLogic on ${wls.hostname}:${wls.port}.">
    <wldeploy
    user="${wls.username}"
    password="${wls.password}"
    adminurl="t3://${wls.hostname}:${wls.port}"
    debug="true"
    action="deploy"
    source="${appdir}/${jarfile}"
    failonerror="${failondeploy}"/>
    </target>
    </project>
    CMN_Core_Session.xml (one of the 450 files)
    <project name="default" default="build">
    <!-- Specific Properties to this file. Please don't change these names, because it has been used by the ${UTILITYBUILD} -->
    <property file="../gosi.properties"/>
    <property name="srcdir" value="${SOURCE_CODE}/gosi/core"/>
    <property name="xmldir" value="${SOURCE_CODE}/gosi/core/projects/session"/>
    <property name="jarfile" value="CMN_Session.jar"/>
    <!-- Main build task for this ant file -->
    <target name="build" description="Builds components.">
    <!-- Create Temp folders and copy the deployment descriptor their -->
    <ant inheritAll="true" dir="${ROOT}" antfile="${UTILITYBUILD}" target="maketempdir"/>
    <!-- Compile the java classes in to ${clientclasses} -->
    <ant inheritAll="true" dir="${ROOT}" antfile="${UTILITYBUILD}" target="javac">
    <property name="sourcedir" value="${srcdir}"/>
    <property name="destinationdir" value="${clientclasses}"/>
    <property name="include" value="**/*Session.java,**/*SessionHome.java"/>
    <property name="exclude" value="**/*MaintainDateChangeSession.java,**/*MaintainDateChangeSessionEJB.java,**/*MaintainDateChangeSessionHome.java,**/*MaintainHolidaysSession.java,**/*MaintainHolidaysSessionEJB.java,**/*MaintainHolidaysSessionHome.java,**/*StartupUtilitySession.java,**/*StartupUtilitySessionEJB.java,**/*StartupUtilitySessionHome.java,**/UserSession.java"/>
    </ant>
    <!-- Compile the java classes again in to ${tempdir} this folder will be used to create the Jar file -->
    <ant inheritAll="true" dir="${ROOT}" antfile="${UTILITYBUILD}" target="javac">
    <property name="sourcedir" value="${srcdir}"/>
    <property name="destinationdir" value="${tempdir}"/>
    <property name="include" value="**/*Session.java,**/*SessionHome.java,**/*SessionEJB.java"/>
    <property name="exclude" value="**/*MaintainDateChangeSession.java,**/*MaintainDateChangeSessionEJB.java,**/*MaintainDateChangeSessionHome.java,**/*MaintainHolidaysSession.java,**/*MaintainHolidaysSessionEJB.java,**/*MaintainHolidaysSessionHome.java,**/*StartupUtilitySession.java,**/*StartupUtilitySessionEJB.java,**/*StartupUtilitySessionHome.java,**/UserSession.java"/>
    </ant>
    <!-- Create Jar file of the classes in the ${tempdir} and then apply appc compilation on them-->
    <ant inheritAll="true" dir="${ROOT}" antfile="${UTILITYBUILD}" target="appc"/>
    <!-- Remove all file in ${tempdir} -->
    <ant inheritAll="true" dir="${ROOT}" antfile="${UTILITYBUILD}" target="cleantemp"/>
    </ant>
    </target>
    <!-- Main deploy task for this ant file -->
    <target name="deploy" description="Deploy the components">
    <ant inheritAll="true" dir="${ROOT}" antfile="${UTILITYBUILD}" target="deploy"/>
    </ant>
    </target>
    </project>
    gosiProperties file
    ### Build Files Properties File ###
    -- Configure the global properties for the ant build files
    -- You may need to change this section to match your machine
    BEA_HOME=C:/bea
    SIMIS_DOMAIN=${BEA_HOME}/gosiprojects/server/simis
    WL_HOME=${BEA_HOME}/wlserver_10.0/server
    JAVA_HOME=${BEA_HOME}/jdk150_06
    SOURCE_CODE=C:/sourcecode
    ROOT=${SOURCE_CODE}/build_files
    UTILITYBUILD=UtilityBuild.xml
    -- Here we set the JARs directory and server and client classes
    appdir=${SIMIS_DOMAIN}/applications
    tempdir=${SIMIS_DOMAIN}/classes
    clientclasses=${SIMIS_DOMAIN}/clientclasses
    serverclasses=${SIMIS_DOMAIN}/serverclasses
    web-inf=${appdir}/GOSI/WEB-INF/classes
    startup=${appdir}/StartUp/WEB-INF/classes
    -- Set the ClassPath for the ant tool
    classpath=${JAVA_HOME}/lib/tools.jar;${WL_HOME}/lib/weblogic.jar;${WL_HOME};${SIMIS_DOMAIN}/APP-INF/lib/CMN_DMS_WS_RequestClient.jar;
    Thanks and regards
    Edited by: Nawaf on Mar 9, 2008 8:18 AM

    Any idea, I'm looking for your opinion, what do you think of the above

  • Building with Ant

    Hi,
    I try to build my application using Ant. Here is the fragment
    from build.xml:
    <java jar="${flex.mxmlc.jar}" fork="true">
    <arg line="-file-specs ${src.dir}/${app.name}.mxml"/>
    <arg line="-load-config ${flex.dist.config}"/>
    </java>
    When I run this, I get this error:
    [java] command line: Error: default arguments may not be
    interspersed with other options
    [java] Use 'mxmlc -help' for information about using the
    command line.
    When I do not use "-load-config" option, I get following:
    [java] defaults: Error: unable to open './flex-config.xml'
    What is wrong?
    Thanks.
    .Vlad.

    I wasn't able to reproduce the first error you got. But the
    second error happens for me.
    Somehow, invoking mxmlc.jar from a directory other than the
    flex frameworks directory leads to an error where it's looking for
    files relative to flex frameworks.
    I got around this by specifying a dir to invoke the VM in.
    i.e
    <property name="flex.dir" value="c:\flex\sdk" />
    <property name="flex.mxmlc.jar"
    value="${flex.dir}/lib\mxmlc.jar" />
    <java jar="${flex.mxmlc.jar}" dir="${flex.dir}/frameworks"
    fork="true">
    <arg line="-file-specs ${src.dir}/${app.name}.mxml"/>
    </java>

  • Compiling Flash Builder Projects with ant - error

    I'm fairly new to FlashBuilder as well as using ant to build projects.
    I'm working on a project in FlashBuilder 4.5. I'm using a 3rd party SWC that contains an alchemy-compiled C application in the SWC. Building my entire project within FlashBuilder is working fine. However, due to other parts of the project (not imported into FlashBuilder) I need to build with ant on occasion.
    The Class specific to the C app within the SWC is throwing errors when building with ant - it says it can not find the source. I had one recommendation to look into adding/editing something within the build.xml file, but I don't know what that addition/edit would be.
    Any help appreciated.

    Apparently related to switching workspaces... the error log identifies a path to an old workspace I changed out of weeks ago. I created a new workspace and moved the project (just the source, etc, not the settings) into it. been running fine for a while now... though funny how this problem didn't show up until yesterday.

  • Build error 'CFURLGetFSRef failed - maybe the output directory doesn't exist?' Eclipse

    I downloaded and installed the Adobe InDesign Plug-in Editor as an Eclipse distribution, the InDesign SDK and XCode on my iBook G4 with Mac OS X 10.4.10. Creating an InDesign project works fine. I only have to drag-and-drop elements on a form and add some actions.
    Unfortunately, I can't get the Ant Build working. I followed the video-tutorials on the Adobe labs site, but I'm still getting this error:
    CFURLGetFSRef failed - maybe the output directory doesn't exist?
    The error seems to be in the "/Adobe InDesign CS3 Products SDK/devtools/bin/odfrc-cmd" file. I guess it's a SDK problem.
    Does anyone know what the reason is for this error? And maybe how I can fix it?

    This is the full output.
    "Ld "/id5sdk/build/mac/prj/build/InDesign en InCopy plug-in.build/Default/Debug.build/Objects-normal/ppc/InDesign and InCopy plug-in" normal ppc
    cd /id5sdk/build/mac/prj
    /usr/bin/g++-4.0 -o /id5sdk/build/mac/prj/build/InDesign\ and\ InCopy\ plug-in.build/Default/Debug.build/Objects-normal/ppc/InDesign\ and\ InCopy\ plug-in -L/id5sdk/build/mac/prj/../debug/sdk -L../../../build/mac/debug/packagefolder/contents/macos/libs -F/id5sdk/build/mac/prj/../debug/sdk -F../../../build/mac/debug/packagefolder/contents/macos -F../../../build/mac/debug/packagefolder/contents/Frameworks -filelist /id5sdk/build/mac/prj/build/InDesign\ and\ InCopy\ plug-in.build/Default/Debug.build/Objects-normal/ppc/InDesign\ and\ InCopy\ plug-in.LinkFileList -lPublicPlugIn -framework InDesignModelAndUI -framework Carbon -framework InDesign\ and\ InCopy\ plug-in -arch ppc -Wl,-single_module -install_name InDesign\ and\ InCopy\ plug-in.InDesignPlugin/Versions/A/InDesign\ and\ InCopy\ plug-in -Wl,-Y,1455 -dynamiclib -mmacosx-version-min=10.4 -Wl,-Sp -Wl,-executable_path -Wl,../../../build/mac/Debug/packagefolder/contents/macos -isysroot /Developer/SDKs/MacOSX10.4u.sdk
    ld: can't locate framework for: -framework InDesign en InCopy plug-in
    /usr/bin/libtool: internal link edit command failed"
    Anyone who can help me?

  • Ant in Eclipse Builds a Corrupt JAR

    When I build a JAR file in Eclipse using an Ant build file, the resulting JAR is corrupt. It cannot find the main class. Repairing the JAR using WinRAR fixes this issue. WinRAR reports repairing corrupt header information. This issue does not occur when manually exporting a JAR from Eclipse. In all cases, we are using the same manifest file. The Ant compile does not show any warnings or errors. The exact runtime error when executing the corrupt JAR is: "Could not find the main class. Program will exit."
    I am relatively new to Ant. I have searched the forums and google, but I have been unable to find anyone describing similar issues. I have spent three weeks trying to make this code work. None of the tutorials or FAQs I have found mention this issue, and none of the techniques they describe resolve it. Do you have any idea what might be causing this issue, or how to resolve it? The main reason I want to use Ant is to automate our build process. We can't do that if we have to manually repair the resulting JAR file after each build. I'm probably missing something obvious, but I don't have the Ant experience to know what that is. Any help would be greatly appreciated.
    Ant Version: 1.7
    Eclipse Version: 3.3.1.1
    Java Version: 1.6.0.3
    Platform: Windows XP (SP2)
    My build file (replacing my login with 'username' for privacy purposes):
    <?xml version="1.0" encoding="utf8"?>
    <project name="ecsMerlinJarBuild" default="MakeMerlinJar" basedir=".">
    <target name="Initialize" description="delete old .class files">
    <delete dir="JavaSource\com\ebsco\component" includes="*.class" />
    <delete dir="JavaSource\com\ebsco\core" includes="*.class" />
    <delete dir="JavaSource\com\ebsco\dao" includes="*.class" />
    <delete dir="JavaSource\com\ebsco\datatype" includes="*.class" />
    <delete dir="JavaSource\com\ebsco\dto" includes="*.class" />
    <delete dir="JavaSource\com\ebsco\interfaces" includes="*.class" />
    <delete dir="JavaSource\com\ebsco\module" includes="*.class" />
    <delete dir="JavaSource\com\ebsco\parents" includes="*.class" />
    <delete dir="JavaSource\com\ebsco\process" includes="*.class" />
    <delete dir="JavaSource\com\ebsco\screen" includes="*.class" />
    <delete dir="JavaSource\com\ebsco\util" includes="*.class" />
    <delete dir="JavaSource\com\ebsco\window" includes="*.class" />
    <delete dir="JavaSource\com\ebsco\windowwrapper" includes="*.class" />
    </target>
    <target name="Compile" description="Compile .java files">
    <javac srcdir="JavaSource\com" includes="ebsco\**\*.java" bootclasspath="C:\\Program Files\\Java\\jre1.6.0_03\\lib\\rt.jar" classpath="C:\\Documents and Settings\\username\\workspace\\merlin\\IBMLibraries.jar" />
    </target>
    <target name ="MakeMerlinJar" description="Create a jar for the Merlin project">
    <jar jarfile="Merlin.jar" excludes="*.jar, *.zip" manifest="MANIFEST.txt" update="true" duplicate="fail" >
    <zipfileset dir="JavaSource\com\ebsco\component" includes="*.class" prefix="com\ebsco\component" />
    <zipfileset dir="JavaSource\com\ebsco\core" includes="*.class" prefix="com\ebsco\core" />
    <zipfileset dir="JavaSource\com\ebsco\dao" includes="*.class" prefix="com\ebsco\dao" />
    <zipfileset dir="JavaSource\com\ebsco\datatype" includes="*.class" prefix="com\ebsco\datatype" />
    <zipfileset dir="JavaSource\com\ebsco\dto" includes="*.class" prefix="com\ebsco\dto" />
    <zipfileset dir="JavaSource\com\ebsco\interfaces" includes="*.class" prefix="com\ebsco\interfaces" />
    <zipfileset dir="JavaSource\com\ebsco\module" includes="*.class" prefix="com\ebsco\module" />
    <zipfileset dir="JavaSource\com\ebsco\parents" includes="*.class" prefix="com\ebsco\parents" />
    <zipfileset dir="JavaSource\com\ebsco\process" includes="*.class" prefix="com\ebsco\process" />
    <zipfileset dir="JavaSource\com\ebsco\screen" includes="*.class" prefix="com\ebsco\screen" />
    <zipfileset dir="JavaSource\com\ebsco\util" includes="*.class" prefix="com\ebsco\util" />
    <zipfileset dir="JavaSource\com\ebsco\window" includes="*.class" prefix="com\ebsco\window" />
    <zipfileset dir="JavaSource\com\ebsco\windowwrapper" includes="*.class" prefix="com\ebsco\windowwrapper" />
    <zipfileset dir="." includes=".classpath, .project, *.txt, *.xml" />
    </jar>
    </target>
    <target name="CopyJarFile" description="Copy the Merlin jar file to the set destination">
    <copy file="Merlin.jar" todir="C:\\Documents and Settings\\username\\Desktop\\JARs"/>
    </target>
    </project>

    And presumably that class actually exists? I can't see any reason why this build file wouldn't work, although I don't know why you're using zipfilesets. Maybe that's the problem. Another option is to export the jar from Eclipse, and ask it to generate an Ant script at the same time.
    But really, you ought to have a look at some [Ant tutorials|http://ant.apache.org/manual/index.html] , or better yet, get your company to buy a copy of [this book|http://www.amazon.co.uk/Java-Development-Ant-Erik-Hatcher/dp/1930110588/ref=sr_1_3?ie=UTF8&s=books&qid=1210364234&sr=8-3] because you're making more work for yourself than you need to here. For instance, you can use "**/*" to recursively include entire directory trees, rather than explicitly include each one

  • Error while building Web Services for Invoking PL/SQL with ANT

    Hello,
    i tried to build the demo- webservice for plsql- stored procedure, but while i want to run the demo with ant i get the following error:
    The same Error occures while Run the Demo with seperate commands: Step 5a(1) Assembly:
    env-check:
    init:
    [mkdir] Created dir: D:\ORAWebServices\webservices_demos\webservices_demos\db\plsql\build\classes\service
    wsa:
    [java] Fehler: oracle.j2ee.ws.tools.wsa.cli.CommandLineMessageBundle_de
    BUILD FAILED
    D:\ORAWebServices\webservices_demos\webservices_demos\db\plsql\build.xml:45: The following error occurred while executing this line:
    D:\ORAWebServices\webservices_demos\webservices_demos\common.xml:74: Java returned: 1
    Total time: 3 seconds
    The Database runs on a remote system and the service-connfig.xml is updated.
    Thanks for Help.

    I assume you have OC4J 10.1.3 webservices installed. Then you should not be using service-config.xml. Check out the 10.1.3 documentation about WebServiceAssembler. I am afraid, you are using 10.1.2 style service-config.xml along with 10.1.3 style WebServiceAssembler.

  • SGD Portlet - Failed to build using Ant - UnsupportedClassVersionError

    Hi,
    I've downloaded the Sun Secure Global Desktop portlet source code from here: https://portlet-repository.dev.java.net/public/Download.html and I'm trying to compile it using Ant.
    I have Ant 1.7.0 and I'm using JRE 1.4.2_15. For some reason, the Ant task fails. Using the -debug and -logfile options, it points to a VersionTask class error:
    Adding reference: ant.PropertyHelper
    Detected Java version: 1.4 in: C:\Program Files\Java\j2sdk1.4.2_15\jre
    Detected OS: Windows XP
    Adding reference: ant.ComponentHelper
    Setting ro project property: ant.file -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\build.xml
    Adding reference: ant.projectHelper
    Adding reference: ant.parsing.context
    Adding reference: ant.targets
    parsing buildfile C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\build.xml with URI = file:/C:/Documents%20and%20Settings/Administrator/My%20Documents/Projects/2007/Bell/Sun%20SGD/sgdportlet/build.xml
    Setting ro project property: ant.project.name -> SGD Portlet
    Adding reference: SGD Portlet
    Setting ro project property: ant.file.SGD Portlet -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\build.xml
    Project base dir set to: C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet
    +Target:
    +Target: all
    +Target: init
    +Target: version
    +Target: compile
    +Target: dist
    +Target: clean
    [antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found.
    Setting project property: src -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\src
    Setting project property: build.top -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\build
    Setting project property: build.webinf -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\build\WEB-INF
    Setting project property: build.classes -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\build\WEB-INF\classes
    Setting project property: dist -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\dist
    Setting project property: lib -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\lib
    Setting project property: web -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\web
    Setting project property: tools -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\tools
    Setting project property: webinf -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\web\WEB-INF
    Finding class com.tarantella.tools.ant.tasks.VersionTask
    Loaded from C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\lib\tarantella-tasks.jar com/tarantella/tools/ant/tasks/VersionTask.class
    BUILD FAILED
    C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\build.xml:14: java.lang.UnsupportedClassVersionError: com/tarantella/tools/ant/tasks/VersionTask (Unsupported major.minor version 50.0)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:115)
    I know this portlet code was just released this week, but has anybody had any success building the portlet into a .WAR file?
    Thanks in advance!
    Rob.

    I figured it out... the tarantella-tasks.jar file had class files in it that were compiled using jdk 6, and the rest of the project was compiled using jdk 1.4.2. Luckily, the source code was there so that I could recompile the classes back to 1.4.2 and it now works.

  • Building J2EE examples with Ant 1.3 on WinXP

    I just installed J2EE 1.3.1 and set all environment variables according to J2EE/Ant documentation. I am trying to build the examples with Ant 1.3 and just before it tries to compile the first example, I get a "NTVDM.EXE Error while setting up environment" error window. This occurs every time I try this examples build. After I close this error window, the compiles fail mostly because the javax.ejb package classes cannot be found.
    Have I overlooked something here? Can anyone shed some insight on this problem?
    -Ryan

    Didn't think I'd be replying to so many of my own messages :-) ..., but anyway the problem with the NTVDM.EXE error message does not go away. I found that it's happens when Ant reads the system environment in the "property" task in build.xml under examples directory:
    <property environment="myenv" />
    <!--
    references to ${myenv.J2EE_HOME} and so on
    -->
    So I replaced occurences of ${myenv.<J2EE_HOME>} with the literal value, in my case, "C:\j2sdkee1.3.1" and now it works. Hope this helps.
    Cheers,
    Lakshmi.

  • Problem in building an Eclipse installation with oomph

    Hallo,
    I am setting up an Eclipse distribution with several plugins needed to have a proper IDE for an Eclipse Project (GEF).
    When adding the plugins to Eclipse everything is Ok, until I install the Oomph Version Management Tool plugin.
    After installing the Oomph VMT Plugin, from the next startup I see the below error:
    Plugins contained in the Eclipse distribution.
    As specified in the GEF contributor guide, the GEF-IDE consists of
    Eclipse IDE for committers Mars R as base eclipse ( in my case is win32)
    API Tools Execution Environment Description v 1.0.1 from http://download.eclipse.org/releases/mars update site
    e(fx)clipse IDE - PDE version .2.0.0, from http://download.eclipse.org/efxclipse/updates-released/2.0.0/site/ update site
    m2e - Maven Integration for Eclipse - version 1.6.0, from http://download.eclipse.org/releases/mars update site
    Xtext Complete SDK - version 2.8.3, from http://download.eclipse.org/releases/mars update site
    Oomph Version Management Tool, from Oomph update site
    After installing the Oomph Version Management Tool plug-in, at the next Eclipse Startup I see the following error:
    An internal error occurred during: "Setup check".
    USER_HOME
    I was actually thinking my install was ok, but in bugzilla, I got that I did an "inconsistent installation" - see bug 473599.
    Indeed, I checked in the About eclipse features for the Oomph, and I saw the Version Management Tool version is not matching with Oomph Setup Core , but only for a small "delta"
    I tried to do an Update of the IDE using the Help > Check for updates, but I realized it is not a Complete IDE update , as suggested in the bug 473599.
    So, I have two questions:
    how to perform a Complete IDE Update ?
    how can I make a consistent installation, by assembling the five plugins above, including the Oomph version management ?
    Thank you very much for the time you're spending on my question.
    I hope my question does not seem impolite or excessively complex.
    Regards.

    Hi Patrik,
    The p2f file that you mentioned in https://bugs.eclipse.org/bugs/show_bug.cgi?id=473599 seems totally useless to me. It
    locks in specific versions of the listed IUs, no matter whether the identified repositories will provide those versions
    in the future or not. For example:
    <iu id='org.eclipse.oomph.setup.feature.group' name='Oomph Setup' version='1.2.0.v20150720-0925'>
    <repositories size='2'>
    <repository location='http://download.eclipse.org/oomph/updates'/>
    <repository location='http://download.eclipse.org/oomph/updates/latest'/>
    </repositories>
    </iu>
    A P2Director task in an Oomph setup model for GEF seems like a better alternative.
    More comments below...
    Cheers
    /Eike
    http://www.esc-net.de
    http://thegordian.blogspot.com
    http://twitter.com/eikestepper
    Am 27.07.2015 um 22:44 schrieb Patrik Suzzi:
    > Hallo,
    >
    > I am trying to build a complex eclipse installation needed for development of the Eclipse GEF project.
    >
    >
    >
    > As specified in the GEF contributor guide, the GEF-IDE consists of
    >
    > Eclipse IDE for committers Mars R as base eclipse ( in my case is win32)
    > API Tools Execution Environment Description v 1.0.1 from http://download.eclipse.org/releases/mars update site
    > e(fx)clipse IDE - PDE version .2.0.0, from http://download.eclipse.org/efxclipse/updates-released/2.0.0/site/ update site
    > m2e - Maven Integration for Eclipse - version 1.6.0, from http://download.eclipse.org/releases/mars update site
    > Xtext Complete SDK - version 2.8.3, from http://download.eclipse.org/releases/mars update site
    > Oomph Version Management Tool, from http://download.eclipse.org/oomph/updates
    >
    >
    > During the installation everything is Ok, until I install the last plugin: the Oomph Version Management Tool.
    >
    > After installing the Oomph Version Management Tool plug-in, at the next Eclipse Startup I see the following error:
    >
    > An internal error occurred during: "Setup check".
    > USER_HOME
    >
    >
    >
    > I was actually thinking my install was ok, but in bugzilla, I got that I did an "inconsistent installation" - see https://bugs.eclipse.org/bugs/show_bug.cgi?id=473599.
    >
    > Indeed, I checked in the About eclipse features for the Oomph, and I saw the Version Management Tool version is not matching with Oomph Setup Core .
    >
    >
    >
    > I tried to do an Update of the IDE using the Help > Check for updates, but I realized it is not a Complete IDE update , as suggested in the https://bugs.eclipse.org/bugs/show_bug.cgi?id=473599.
    >
    > So, I have two questions:
    >
    >
    > how to perform a Complete IDE Update ?
    I'm not 100% sure but I think you can't easily get out of this inconsistent state because the plugins that would do that
    for you are also impacted. I would recommend that you create a new installation with Oomph's Eclipse Installer.
    > how can I make a consistent installation, by assembling the five plugins above, including the Oomph version management ?
    I would suggest that you put pressure on the GEF people to provide a GEF project setup model, so that you can just add
    it to your install.

  • Building the ADF 11g project with ANT or MAVEN

    I want to automate the build process of my project using ant or maven. Is there already some build scripts for ant / maven. which can compile and package it using the structure which JDeveloper follows?

    Anthony,
    You probably can. However, since I wrote the original article, I have changed my way of thinking on this; at the time I wrote the article, ojdeploy was not working - now it is. Installing JDev on a build machine takes a bit of space, but it's not a big deal; it doesn't require a license or anything. If I were doing this today, there is no way I would consider anything but ojdeploy for doing the build - it guarantees that what I set up in JDev is what gets built. The one thing that could make me change my mind is if and when JDeveloper gets fully-baked Maven support, including keeping a POM in synch with any libraries added to a project, but that's neither here today nor a certainty, since Oracle hasn't made any specific announcements that I am aware of about the direction of Maven support in JDev.
    We did have a discussion about this on the [url http://groups.google.com/group/adf-methodology/browse_thread/thread/52f7aab00d201b4c/bec6e076a7c82520?lnk=gst&q=ojdeploy#bec6e076a7c82520]ADF Enterprise Methodology Group a while back, and I recall quite a discussion in the forums as well about ojdeploy vs ANT/Maven. I used to be more of a "purist" mindset (i.e. don't make me install an IDE on the build server), but if you like, don't think of it as an IDE in this function - it doesn't require a user to operate it, it's just another build tool that you'd install on the server. That build tool can be integrated with ANT using the ojdeploy tasks.
    John

  • Xjc fails with ant-1.6.1beta

    I am using ant-1.6.1beta and it fails on xjc giving me the following error :
    "unable to parse the schema. Error messages should have been provided"
    This works perfectly fine with ant-1.5. Any help is highly appreciated.
    Thanks,
    -Ashish

    Ashish,
    What are the xjc Errors denoted by [xjc][ERROR]?
    thanks,
    Deepak

  • Working with ANT /CVS/JDeveloper doing integrated build

    Is there a documentation out there which gives details structurally on doing builds using ANT and CVS under JDeveloper?

    Check the JDeveloper online help and search for CVS
    "Using Concurrent Versions System (CVS) With JDeveloper"
    and also for ANT
    "About Ant Integration in JDeveloper"
    You can access the online help online on OTN at:
    http://otn.oracle.com/jdeveloper/903/help/

Maybe you are looking for

  • 875P Neo-FISR vs. 865PE Neo2-V

    Hi, I appreciate any help with this question. I own 2 different MIS motherboards currently and would like to know which would be the better one to use for my system build. 875P Neo-FISR or 865PE Neo2-V Specs: Pentium4 3.2ghz socket 478 2 sticks of PC

  • Problem trying to wrap a Microsoft Word paragraph in XML tags?!? :/

    Hello everyone. I really hope this is not a big problem and that some of your could help. I wrote a Macro in VBA like a year ago that was intented to put a tag before every single paragraph in a document. The logic validates that the paragraph have n

  • Application Error when Installing Oracle 10.2.0.1.0

    I hope I am in the correct area. Please forgive me if I have wandered into the wrong space, but has anyone seen this particular issue and what did you do to get around it? v/r George javaw.exe - Application Error The exception unknown software except

  • Word Processing App

    I recently bought an iPad, and I need to get an app for word processing.  My MacBook has Microsoft office and my concern is that if I buy Pages for the iPad I will have compatability issues.  The same can be said with PowerPoint and Keynotes too.  Is

  • Why can't I get you tube videos to play on my iPad?

    Why can't I get YouTube videos to play on my iPad?