Recreational Ant puzzle

I was trying to compile services with ant provided with WLS 6.1 on Win2000
machine. Following the examples, I fixed and executed setEnv before
compiling.
The compilation gave me first a warning about "modern" compiler not
available and using "classic". Then it failed at later point because
"classic" compiler could not be used for something. After awhile
investigating this problem I found that a copy of weblogic.jar was in
/bea/jdk131/jre/lib/ext. I removed it. And the service compiled and worked
perfectly. I put it back from $WL_HOME/lib. All the problems came back. Same
weblogic.jar is on %CLASSPATH% after setEnv is run.
Btw, neither I could compile the client when weblogic.jar is in
/bea/jdk131/jre/lib/ext. It worked fine, however, when I removed
weblogic.jar from ext directory.
Why could it be?
Thanx,
Ed Gokhman

alright, that works, as in, it tries to inject.
But now my problem remains: what should the ant-code be for using my TCS generated injector/extractor (i got a FeatureATL-parser.jar which is generated, is this sufficient?)
Is this still possible? Do you know if the generated parser uses the ATL plugin? Or is it a stand-alone, self-contained package?
I would like that something like this would work:
<!-- Loading FeatureATL model -->
<atl.loadModel modelHandler="EMF" name="fatlModel-loaded" metamodel="fatl" path="${fatlModel}">
<injector name="ATL">
<param name="name" value="FeatureATL"/>
<!--<param name="parserGenerator" value="antlr3"/>-->
<classpath>
<pathelement location="featureATL-parser.jar"/>
</classpath>
</injector>
</atl.loadModel>
ps; fatl metamodel is an extension of the normal ATL metamodel, and with TCS I developed an extended concrete syntax..

Similar Messages

  • Hundreds of clients still use CS2, but we want to upgrade--what to do?

    I know InDesign backwards compatibility and version conversion (or lack thereof) can be a contentious subject, and I know it's been discussed here at great length (http://forums.adobe.com/thread/641138?start=0&tstart=0), but I thought it might be worth a try to present my production department's dilemma. What to do when InDesign CS2 is getting more and more buggy on our Macs, but moving to CS5 would make our files unusable for most of our clients?
    We've been putting off dealing with this issue as long as we could, but it's becoming more and more urgent as Adobe releases new CS versions.
    The details:
    I'm the production manager/art director for a small inhouse art department. We have 5 art department Macs and 7 editorial department Macs running CS2 (InDesign, Illustrator and PhotoShop) in 10.5 or 10.4, depending on the Mac.
    Our company sell and distribute editable InDesign CS2  files (puzzles, graphics and so forth) to hundreds of clients around the world, most of whom are newspapers.
    It'd be really nice if they'd upgrade, but newspapers are cutting their budgets and laying off staff left and right, and they're certainly not about to upgrade if they can avoid it. Seriously: a large percentage of them are still using Quark 4 in Mac Classic, which we can't support, so they have to recreate the puzzles from scratch using text and eps files. (The puzzles we still distribute as Quark files we have to create in 6.5 and backsave to 5, though I realize there is software out there from Marksware that could solve this problem.)
    I'd love to just give them PDFs... But these files need to be editable so that the newspapers can change them to match their own fonts and styles, or edit them to fit, or translate them into other languages. (We create them with generic fonts such as Helvetica and Times that all newspapers are bound to already own, since we can't distribute fonts along with the files).
    Meanwhile, as our own computers get upgraded or replaced, InDesign CS2 is causing more and more issues--it crashes all the time, doesn't work right in Snow Leopard (we had to downgrade back to regular Leopard), and of course won't open files created in later versions, since someone with CS5 or CS4 can't backsave to CS2.
    So what are the possible solutions? Has anyone else dealt with this? What have you done? Some things I've considered:
    Trying to create editable PDFs... but many of the clients we have are not particularly tech-savvy, and I have to admit I'm not sure how to do this in an efficient and user-friendly way.
    Buying CS5 for just department, and digging through eBay and other channels to buy just enough copies of CS3 and CS4 to use as a bridge back to CS2. But this just seems like such a clunky and inefficient solution that would significantly slow down all those nice production workflows I spent so much time streamlining.
    Letting clients know that the oldest version we could support is CS3. But that still leaves the problem that we'd have to get a bunch of copies of CS4, which is no longer the latest!
    Sigh... this is driving me nuts! Any suggestions are appreciated!

    Thank you all for your responses! Peter, you're correct that I did already pretty much know the answer, but I was hoping there was just some trick or solution out there that we hadn't thought of that other InDesign users had come across.
    We are indeed trying to hold on to and maintain some older Macs for using CS2, and even have a Mac still running Classic for Quark 4 (oh, and Pagemaker--my goodness, I forgot about all our Pagemaker documents!). And I'll talk to the  folks here about setting up a more robust long-term technology plan.
    Bob, you are also correct that in hindsight my company probably should have bought each version as it came out, and maybe we will do that going forward.
    But I have to say I'm still frustrated that no third-party conversion app exists, especially since the files we create for distribution are quite simple -- they don't use any of the advanced features of the software at all. Oh well!

  • Jar not running is sarge and apache-ant  shows error of package not found

    Hello,
    First of all I am not a java programmer. I work in C/C++/C#.
    Currently I am dealing a game written in java (1.5) using netbeans 5.5.0 under windows xp. My target is to compile in my development machine and run in the clients machine. everything works fine in windows xp. I open the netbeans ide, load the necessary class libraries, build the project and run it. it runs without any problem.
    The problem begins when I run the same project from linux (fedora). it doest not run. It shows some error.
    <error platform="fedora 7">
    Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException:
    No X11 DISPLAY variable was set, but this program performed an operation which requires it.
    at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
    at java.awt.Window.<init>(Window.java:406)
    at java.awt.Frame.<init>(Frame.java:402)
    at java.awt.Frame.<init>(Frame.java:367)
    at javax.swing.JFrame.<init>(JFrame.java:163)
    at netbeansapplication.nbApplication.<init>(nbApplication.java:52)
    at netbeansapplication.nbApplication$14.run(nbApplication.java:453)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    </error>
    Some of these error were resolved when I set the DISPLAY variable (export DISPLAY="127.0.0.1:0") but the other errors were still there.
    But when I open this same project in netbeans and resolve the dependencies with class libraries it works ok after compiling.
    I can run it from console (java -jar ...)
    And again the same source tree shows the following error when I am in windows !!! (by java -jar ... command)
    <error platform="WinXPSP2">
    Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:468)
    at java.lang.Integer.parseInt(Integer.java:497)
    at cherrygame.global.readConfigForStickProtection(global.java:2060)
    at cherrygame.nbCherryGame.<init>(nbCherryGame.java:243)
    at netbeansapplication.nbApplication.<init>(nbApplication.java:46)
    at netbeansapplication.nbApplication$14.run(nbApplication.java:453)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    </error>
    I see that netbeans uses ant to compile project in the background.
    then I tried using ant to compile.
    doing only `#ant compile` where build.xml resides does the compilation.
    after that I try to run it (by java -jar ...). again the above error shows up.
    What would I do?
    If I compile it with netbeans in machine A then it runs well in A but not in machine B.
    If I compile it with ANT in machine A then it doesn't run in A, no chance for machine B.
    the contents of my build xml is here
    <code file="build.xml">
    <![CDATA[
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- You may freely edit this file. See commented blocks below for -->
    <!-- some examples of how to customize the build. -->
    <!-- (If you delete it and reopen the project it will be recreated.) -->
    <project name="NetBeansApplication" default="default" basedir=".">
    <description>Builds, tests, and runs the project NetBeansApplication.</description>
    <import file="nbproject/build-impl.xml"/>
    <!--
    There exist several targets which are by default empty and which can be
    used for execution of your tasks. These targets are usually executed
    before and after some main targets. They are:
    -pre-init: called before initialization of project properties
    -post-init: called after initialization of project properties
    -pre-compile: called before javac compilation
    -post-compile: called after javac compilation
    -pre-compile-single: called before javac compilation of single file
    -post-compile-single: called after javac compilation of single file
    -pre-compile-test: called before javac compilation of JUnit tests
    -post-compile-test: called after javac compilation of JUnit tests
    -pre-compile-test-single: called before javac compilation of single JUnit test
    -post-compile-test-single: called after javac compilation of single JUunit test
    -pre-jar: called before JAR building
    -post-jar: called after JAR building
    -post-clean: called after cleaning build products
    (Targets beginning with '-' are not intended to be called on their own.)
    Example of inserting an obfuscator after compilation could look like this:
    <target name="-post-compile">
    <obfuscate>
    <fileset dir="${build.classes.dir}"/>
    </obfuscate>
    </target>
    For list of available properties check the imported
    nbproject/build-impl.xml file.
    Another way to customize the build is by overriding existing main targets.
    The targets of interest are:
    -init-macrodef-javac: defines macro for javac compilation
    -init-macrodef-junit: defines macro for junit execution
    -init-macrodef-debug: defines macro for class debugging
    -init-macrodef-java: defines macro for class execution
    -do-jar-with-manifest: JAR building (if you are using a manifest)
    -do-jar-without-manifest: JAR building (if you are not using a manifest)
    run: execution of project
    -javadoc-build: Javadoc generation
    test-report: JUnit report generation
    An example of overriding the target for project execution could look like this:
    <target name="run" depends="NetBeansApplication-impl.jar">
    <exec dir="bin" executable="launcher.exe">
    <arg file="${dist.jar}"/>
    </exec>
    </target>
    Notice that the overridden target depends on the jar target and not only on
    the compile target as the regular run target does. Again, for a list of available
    properties which you can use, check the target you are overriding in the
    nbproject/build-impl.xml file.
    -->
    <target name="-post-jar">
    <jar update="true" destfile="${dist.jar}">
    <zipfileset src="${libs.swing-layout.classpath}"/>
    <zipfileset src="${libs.addMoney.classpath}"/>
    <zipfileset src="${libs.NormalWindow.classpath}"/>
    </jar>
    </target>
    </project>
    ]]>
    </code>
    my directory contents is here. note. I have 2 packages "cgwindow2" and "NormalWindow" for class libraries and my main application is "CherryGame". The game is "game.jar" in the CherryGame folder.
    <listing foldername="CherryGame">
    D:\src\java\CherryGame\build.xml
    D:\src\java\CherryGame\BW.txt
    D:\src\java\CherryGame\config.txt
    D:\src\java\CherryGame\config.txt.lin
    D:\src\java\CherryGame\flopsfile.txt
    D:\src\java\CherryGame\game.jar
    D:\src\java\CherryGame\LWMoneyfile.txt
    D:\src\java\CherryGame\mfile.txt
    D:\src\java\CherryGame\mfile2.txt
    D:\src\java\CherryGame\mfile3.txt
    D:\src\java\CherryGame\TotalRollsTillBigWin.txt
    D:\src\java\CherryGame\UserFile.txt
    D:\src\java\CherryGame\build\classes\cherrygame\addMoneyFrame.class
    D:\src\java\CherryGame\build\classes\cherrygame\addMoneyPanel.class
    D:\src\java\CherryGame\build\classes\cherrygame\cardsPanel.class
    D:\src\java\CherryGame\build\classes\cherrygame\cardsWindow$1.class
    D:\src\java\CherryGame\build\classes\cherrygame\cardsWindow.class
    D:\src\java\CherryGame\build\classes\cherrygame\cherryGameBackPanel.class
    D:\src\java\CherryGame\build\classes\cherrygame\cherryWindow.class
    D:\src\java\CherryGame\build\classes\cherrygame\customBorderCherryGame.class
    D:\src\java\CherryGame\build\classes\cherrygame\FixedGlassPane.class
    D:\src\java\CherryGame\build\classes\cherrygame\global.class
    D:\src\java\CherryGame\build\classes\cherrygame\helpPanelOne.class
    D:\src\java\CherryGame\build\classes\cherrygame\imagesPanel.class
    D:\src\java\CherryGame\build\classes\cherrygame\messageWindow.class
    D:\src\java\CherryGame\build\classes\cherrygame\messageWindow2.class
    D:\src\java\CherryGame\build\classes\cherrygame\messageWindow3.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$1.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$10.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$11.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$12.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$13.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$14.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$15.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$16.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$17.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$18.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$19.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$2.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$20.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$21.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$22.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$23.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$24.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$25.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$26.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$27.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$28$1.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$28$2.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$28.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$29.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$3.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$30.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$31.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$32.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$33.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$34.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$35.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$36.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$37.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$38.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$39.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$4.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$40.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$41.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$42.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$43.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$44.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$45.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$46.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$5.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$6.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$7.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$8.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$9.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$MyTask.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame.class
    D:\src\java\CherryGame\build\classes\cherrygame\panelMessage.class
    D:\src\java\CherryGame\build\classes\cherrygame\panelMessage2.class
    D:\src\java\CherryGame\build\classes\cherrygame\panelMessage3.class
    D:\src\java\CherryGame\build\classes\lpt\LPT.class
    D:\src\java\CherryGame\build\classes\lpt\events\Events.class
    D:\src\java\CherryGame\build\classes\lpt\events\LPTEvent.class
    D:\src\java\CherryGame\build\classes\lpt\events\LPTEventListener.class
    D:\src\java\CherryGame\build\classes\lpt\ieee1284\PPParallelPort.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\customBorder.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$1.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$10.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$11.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$12.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$13.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$14.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$2.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$3.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$4.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$5.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$6.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$7.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$8.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$9.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication.class
    D:\src\java\CherryGame\dist\NetBeansApplication.jar
    D:\src\java\CherryGame\dist\javadoc\package-list
    D:\src\java\CherryGame\dist\javadoc\stylesheet.css
    D:\src\java\CherryGame\dist\javadoc\resources\inherit.gif
    D:\src\java\CherryGame\nbproject\build-impl.xml
    D:\src\java\CherryGame\nbproject\genfiles.properties
    D:\src\java\CherryGame\nbproject\project.properties
    D:\src\java\CherryGame\nbproject\project.xml
    D:\src\java\CherryGame\nbproject\private\private.properties
    D:\src\java\CherryGame\nbproject\private\private.xml
    D:\src\java\CherryGame\src\customBorder.java
    D:\src\java\CherryGame\src\nbApplication.form
    D:\src\java\CherryGame\src\nbApplication.java
    D:\src\java\CherryGame\src\cherrygame\addMoneyFrame.form
    D:\src\java\CherryGame\src\cherrygame\addMoneyFrame.java
    D:\src\java\CherryGame\src\cherrygame\addMoneyPanel.form
    D:\src\java\CherryGame\src\cherrygame\addMoneyPanel.java
    D:\src\java\CherryGame\src\cherrygame\cardsPanel.java
    D:\src\java\CherryGame\src\cherrygame\cardsWindow.form
    D:\src\java\CherryGame\src\cherrygame\cardsWindow.java
    D:\src\java\CherryGame\src\cherrygame\cherryGameBackPanel.form
    D:\src\java\CherryGame\src\cherrygame\cherryGameBackPanel.java
    D:\src\java\CherryGame\src\cherrygame\cherryWindow.java
    D:\src\java\CherryGame\src\cherrygame\customBorderCherryGame.java
    D:\src\java\CherryGame\src\cherrygame\global.java
    D:\src\java\CherryGame\src\cherrygame\helpPanelOne.form
    D:\src\java\CherryGame\src\cherrygame\helpPanelOne.java
    D:\src\java\CherryGame\src\cherrygame\imagesPanel.java
    D:\src\java\CherryGame\src\cherrygame\messageWindow.form
    D:\src\java\CherryGame\src\cherrygame\messageWindow.java
    D:\src\java\CherryGame\src\cherrygame\messageWindow2.form
    D:\src\java\CherryGame\src\cherrygame\messageWindow2.java
    D:\src\java\CherryGame\src\cherrygame\messageWindow3.form
    D:\src\java\CherryGame\src\cherrygame\messageWindow3.java
    D:\src\java\CherryGame\src\cherrygame\nbCherryGame.form
    D:\src\java\CherryGame\src\cherrygame\nbCherryGame.java
    D:\src\java\CherryGame\src\cherrygame\panelMessage.form
    D:\src\java\CherryGame\src\cherrygame\panelMessage.java
    D:\src\java\CherryGame\src\cherrygame\panelMessage2.form
    D:\src\java\CherryGame\src\cherrygame\panelMessage2.java
    D:\src\java\CherryGame\src\cherrygame\panelMessage3.form
    D:\src\java\CherryGame\src\cherrygame\panelMessage3.java
    D:\src\java\CherryGame\src\lpt\LPT.java
    D:\src\java\CherryGame\src\lpt\events\Events.java
    D:\src\java\CherryGame\src\lpt\events\LPTEvent.java
    D:\src\java\CherryGame\src\lpt\events\LPTEventListener.java
    D:\src\java\CherryGame\src\lpt\ieee1284\PPParallelPort.java
    </listing>
    <listing foldername="NormalWindow">
    D:\src\java\NormalWindow\build.xml
    D:\src\java\NormalWindow\manifest.mf
    D:\src\java\NormalWindow\build\classes\normalwindow\global.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$1.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$10.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$11.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$12.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$13.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$14.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$15.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$16.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$17.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$2.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$3.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$4.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$5.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$6.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$7.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$8.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$9.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow.class
    D:\src\java\NormalWindow\build\classes\normalwindow\PasswordDialog$1.class
    D:\src\java\NormalWindow\build\classes\normalwindow\PasswordDialog$2.class
    D:\src\java\NormalWindow\build\classes\normalwindow\PasswordDialog$3.class
    D:\src\java\NormalWindow\build\classes\normalwindow\PasswordDialog$4.class
    D:\src\java\NormalWindow\build\classes\normalwindow\PasswordDialog$5.class
    D:\src\java\NormalWindow\build\classes\normalwindow\PasswordDialog.class
    D:\src\java\NormalWindow\dist\NormalWindow.jar
    D:\src\java\NormalWindow\dist\README.TXT
    D:\src\java\NormalWindow\dist\_normalwindow.jar
    D:\src\java\NormalWindow\dist\lib\swing-layout-1.0.jar
    D:\src\java\NormalWindow\nbproject\build-impl.xml
    D:\src\java\NormalWindow\nbproject\genfiles.properties
    D:\src\java\NormalWindow\nbproject\project.properties
    D:\src\java\NormalWindow\nbproject\project.xml
    D:\src\java\NormalWindow\nbproject\private\private.properties
    D:\src\java\NormalWindow\nbproject\private\private.xml
    D:\src\java\NormalWindow\src\normalwindow\global.java
    D:\src\java\NormalWindow\src\normalwindow\NormalWindow.form
    D:\src\java\NormalWindow\src\normalwindow\NormalWindow.java
    D:\src\java\NormalWindow\src\normalwindow\PasswordDialog.form
    D:\src\java\NormalWindow\src\normalwindow\PasswordDialog.java
    </listing>
    <listing foldername="cgwindow2">
    D:\src\java\cgwindow2\build.xml
    D:\src\java\cgwindow2\manifest.mf
    D:\src\java\cgwindow2\mfile.txt
    D:\src\java\cgwindow2\UserFile.txt
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyPanel.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$1.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$10.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$11.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$12.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$13.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$14.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$2.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$3.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$4.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$5.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$6.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$7.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$8.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$9.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow.class
    D:\src\java\cgwindow2\build\classes\addmoney\customBorderForAddMoneyWindow.class
    D:\src\java\cgwindow2\build\classes\addmoney\global.class
    D:\src\java\cgwindow2\dist\cgwindow2.jar
    D:\src\java\cgwindow2\dist\README.TXT
    D:\src\java\cgwindow2\dist\lib\swing-layout-1.0.jar
    D:\src\java\cgwindow2\nbproject\build-impl.xml
    D:\src\java\cgwindow2\nbproject\genfiles.properties
    D:\src\java\cgwindow2\nbproject\jax-ws.xml
    D:\src\java\cgwindow2\nbproject\project.properties
    D:\src\java\cgwindow2\nbproject\project.xml
    D:\src\java\cgwindow2\nbproject\private\private.properties
    D:\src\java\cgwindow2\nbproject\private\private.xml
    D:\src\java\cgwindow2\src\addmoney\addMoneyPanel.form
    D:\src\java\cgwindow2\src\addmoney\addMoneyPanel.java
    D:\src\java\cgwindow2\src\addmoney\addMoneyWindow.form
    D:\src\java\cgwindow2\src\addmoney\addMoneyWindow.java
    D:\src\java\cgwindow2\src\addmoney\customBorderForAddMoneyWindow.java
    D:\src\java\cgwindow2\src\addmoney\global.java
    </listing>
    About my thread subject, my clients machine is a debian sarge 3.0 and when I compiled it there with ANT It says, "normalwindow" package not found. other 2 errors were due to "normalwindow".
    Edited by: mokaddim on Sep 12, 2007 2:08 PM

    Julio.Faerman wrote:
    Hello,
    I am trying to run my annotation processor using ant.
    I already built the processor, the javax.annotation.processor.Processor file is in the correct place with the correct content.
    The jar with the processor is in the classpath (i can see it in ant -v), but it does not process my classes. in fact, i get the warning:
    warning: Annotation processing without compilation requested but no processors were found.Do i have to specify -processor or -processorpath or can i just leave it to the default classpath scanning?When -processor is not given, a service loader is used to find the annotation processors (if any). In addition to the class files of the process, to allow your processor to be found as a service, make sure you've also provided the needed META-INF data in the jar file. The general service file format is described in
    http://java.sun.com/javase/6/docs/api/java/util/ServiceLoader.html
    That said, I'd recommend setting an explicit processor path separate from your general classpath.

  • Java EE tutorial, problem with ANT populating database

    Hi!
    I have followed the instructions in the Java EE tutorial to set up the enviroment but when I execute the command "ant create tables" I get this output:
    C:\javaeetutorial5\examples\web\bookstore1>ant create-tables
    Buildfile: build.xml
    -pre-init:
    init:
    check:
    tools:
    start-db:
    BUILD FAILED
    C:\javaeetutorial5\examples\bp-project\app-server-ant.xml:140: The directory you specified does not existI have changed in the build.properties file to this:
    # The SDK's default installation on Windows is c:/Sun/SDK
    # The Application Server's default installation on Windows is
    # c:/Sun/AppServer
    javaee.home=C:\Sun\SDK
    javaee.tutorial.home=C:\javaeetutorial5
    # machine name (or the IP address) where the applications will be deployed.
    javaee.server.name=localhost
    # port number where the app-server is accessed by the users
    javaee.server.port=8080
    # port number where the admin server of the app-server is available
    javaee.adminserver.port=4848
    # Uncomment the property j2ee.server.username,
    # and replace the administrator username of the app-server
    javaee.server.username=admin
    # Uncomment the property j2ee.server.passwordfile,
    # and replace the following line to point to a file that
    # contains the admin password for your app-server.
    # The file should contain the password in the following line:
    # AS_ADMIN_PASSWORD=adminadmin
    # Notice that the password is adminadmin since this is
    # the default password used by the glassfish app-server installation.
    javaee.server.passwordfile=${javaee.tutorial.home}\examples\common\admin-passwo rd.txt
    appserver.instance=server
    # Uncomment and set this property to the location of the browser you
    # choose to launch when an application is deployed.
    # On Windows and Mac OS X the default browser is used.
    #default.browser=\Applications\Firefox.app\Contents\MacOS\firefox-bin
    # Database vendor property for db tasks
    db.vendor=javadb
    # Digital certificate properties for mutual authentication
    keystore=${javaee.tutorial.home}\examples\jaxws\simpleclient-cert\support\clien t_keystore.jks
    truststore=${javaee.home}\domains\domain1\config\cacerts.jks
    keystore.password=changeit
    truststore.password=changeitAny idea which directory the error refers to?
    I�m using Netbeans 5.5 and have a connection to my local mysql database.

    Ok, this is the build.xml from bookstore1:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- You may freely edit this file. See commented blocks below for -->
    <!-- some examples of how to customize the build. -->
    <!-- (If you delete it and reopen the project it will be recreated.) -->
    <project name="bookstore1" default="default" basedir=".">
        <description>Builds, tests, and runs the project bookstore1.</description>
        <property name="is.war.module" value="true" />
        <property name="uses.db.sql.file" value="true"/>
        <path id="common.jars">
            <filelist dir="../bookstore" files="build.xml"/>
        </path>
        <macrodef name="iterate">
            <attribute name="target"/>
            <sequential>
                <subant target="@{target}" failonerror="false">
                    <buildpath refid="common.jars"/>
                </subant>
            </sequential>
        </macrodef>
        <import file="../../bp-project/main.xml" />
        <target name="-pre-deploy" unless="netbeans.home">
            <antcall target="create-tables"/>
        </target>
        <target name="-pre-compile" unless="netbeans.home" depends="init,build-common,copy-common-jars"/>
        <target name="build-common" unless="netbeans.home" depends="init">
            <iterate target="default"/>
        </target>
        <target name="copy-common-jars" unless="netbeans.home" depends="init">
            <mkdir dir="${build.web.dir}/WEB-INF/lib"/>
            <copy file="${reference.bookstore.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
        </target>
    </project>And the build.xml in bookstore looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- You may freely edit this file. See commented blocks below for -->
    <!-- some examples of how to customize the build. -->
    <!-- (If you delete it and reopen the project it will be recreated.) -->
    <project name="bookstore1" default="default" basedir=".">
        <description>Builds, tests, and runs the project bookstore1.</description>
        <property name="is.war.module" value="true" />
        <property name="uses.db.sql.file" value="true"/>
        <path id="common.jars">
            <filelist dir="../bookstore" files="build.xml"/>
        </path>
        <macrodef name="iterate">
            <attribute name="target"/>
            <sequential>
                <subant target="@{target}" failonerror="false">
                    <buildpath refid="common.jars"/>
                </subant>
            </sequential>
        </macrodef>
        <import file="../../bp-project/main.xml" />
        <target name="-pre-deploy" unless="netbeans.home">
            <antcall target="create-tables"/>
        </target>
        <target name="-pre-compile" unless="netbeans.home" depends="init,build-common,copy-common-jars"/>
        <target name="build-common" unless="netbeans.home" depends="init">
            <iterate target="default"/>
        </target>
        <target name="copy-common-jars" unless="netbeans.home" depends="init">
            <mkdir dir="${build.web.dir}/WEB-INF/lib"/>
            <copy file="${reference.bookstore.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
        </target>
    </project>And the main.xml in \bp-projects looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Copyright 2005-2006 Sun Microsystems, Inc.  All rights reserved.  You may not modify, use, reproduce, or distribute this software except in compliance with the terms of the License at:
    http://developer.sun.com/berkeley_license.html
    $Id: main.xml,v 1.2 2006/04/12 17:20:13 ie139813 Exp $ -->
    <!-- main.xml: this is the file that should be included by the project
         build files. It will figure out whether it is running from inside Netbeans
         or command line and include appropriate tasks.
         @Author: Inderjeet Singh -->
    <project name="main" default="dummy-default">
      <property file="build.properties"/>
      <property value="1.5" name="default.javac.source"/>
      <property value="1.5" name="default.javac.target"/>
      <condition property="common-ant-tasks-file"
              value="${ant.file}/../nbproject/build-impl.xml"
              else="${ant.file.main}/../command-line-ant-tasks.xml">
        <and>
        <isset property="netbeans.home"/>
        <available file="${ant.file}/../nbproject/build-impl.xml"/>
        </and>
      </condition>
      <import file="${common-ant-tasks-file}"/>
      <target name="dummy-default"/>
    </project>

  • Ant to delete JMS Server

              I am trying to use an Ant script to configure a new domain for weblogic server
              8.1
              Ideally I want to run the script and have it configure all resources I will need
              (jdbc, jms, etc.). Currently I am having issues with the configuring of the JMS
              Server. I am using the following line of code to delete the JMS Server instance
              if it currently exist.
              <delete mbean="${domain.name}:Name=cgJMSServer,Type=JMSServer"/>
              This seems to be ignored by Ant because when I call the create task I get an InstanceAlreadyExist
              error. I assume my delete task is failing but giving no error. I'd like to be
              able to delete the current JMS server if one exist and then recreate it. I was
              wondering what the correct task or syntax would be for deleting the JMS server
              through Ant.
              Additionally, I'd like to use wlserver to create a new Integration Domain. I havent
              seen any documentation on how to specify a template to use when using the wlserver
              task, so I am not sure if this is possible or not.
              

    Hi Allen,
              I think you may need to set the target of the JMS server
              to null first.
              I think the "JMSML" utility on dev2dev does this sort of
              task. You might want to take a look at its source to
              divine what steps it goes through.
              Tom
              Allan wrote:
              > I am trying to use an Ant script to configure a new domain for weblogic server
              > 8.1
              >
              > Ideally I want to run the script and have it configure all resources I will need
              > (jdbc, jms, etc.). Currently I am having issues with the configuring of the JMS
              > Server. I am using the following line of code to delete the JMS Server instance
              > if it currently exist.
              >
              > <delete mbean="${domain.name}:Name=cgJMSServer,Type=JMSServer"/>
              >
              > This seems to be ignored by Ant because when I call the create task I get an InstanceAlreadyExist
              > error. I assume my delete task is failing but giving no error. I'd like to be
              > able to delete the current JMS server if one exist and then recreate it. I was
              > wondering what the correct task or syntax would be for deleting the JMS server
              > through Ant.
              >
              > Additionally, I'd like to use wlserver to create a new Integration Domain. I havent
              > seen any documentation on how to specify a template to use when using the wlserver
              > task, so I am not sure if this is possible or not.
              

  • Creating an O/R layer with TopLink from Ant or a script

    We're currently using JDeveloper and BC4J to generate an O/R layer that simply creates a BC4J entity for each table in our schema with the appropriate associations between tables. The problem with this approach is that it is very brittle. Any change in the database breaks the BC4J layer and we have to recreate the entire thing. Using the JDeveloper wizzard is labor intensive and we want to automate the task of creating a new O/R layer with a script or Ant task, but unfortunately there is no way to do this with JDeveloper.
    Can we use TopLink to generate an O/R layer using a script or Ant task instead of the workbench? It would be a great time saver for us if we could point TopLink to our schema and have it generate an entity per table with the correct associations without having to use the workbench.
    Thanks.

    I have seen some customers do this, although not necessarily with ANT (it was a while ago). We do ship the Deployment Descriptor DTD (search your TopLink install for *.dtd). That should help you generate the mappings. You're on your own with the code, none of the code gen API's are available on the command line outside the MW.

  • Change manifest file in existing EAR file with ANT task

    Hi,
    I use ant task (ojdeploy) to create EAR files from ADF application.
    Now I want to add the application version number to MANIFEST.MF.
    Is it possible to do the manifest file modification IN THE EXISTING EAR FILE (or while creating the EAR file with ojdeploy) with ant task or do I have to do the modification in the source MANIFEST.MF and after this create EAR file with ojdeploy?
    BTW: I tried the <ear> task to create the EAR file instead of using ojdeploy but I was not able to find the needed deployment descriptor (appxml="application.xml") in my ADF appication.
    regards
    Peter

    Hi Peter,
    I don't know of a way to do it directly in ANT/ojdeploy. However, you could try exploding the EAR, updating the manifest, and recreating the EAR - cumbersome and slow, but it should work.
    John

  • ActionScript/Flex to ANT

    I am trying to port a mid size project from Flash Builder (ActionScript/Flex) to ANT so we can use our automated system. I am getting the following error: Could not resolve <s:View> to a component implementation.

    Flex is only one piece of the puzzle in this case.  You're going to need a mechanism on the server-side to mitigate communication between Flex and SQL, like Java, PHP, .NET, etc.  Now you can modify one of the examples you've seen to do an INSERT or UPDATE SQL statement instead of SELECT and accomplish the goal that way.  Look at some of the documentation regarding "Data Services" in Flex.  Bottom line, you're going to need more than just a Flex swf to send and retrieve data from your server.

  • Error while using ant of webcenter spaces.

    Hi All.
    I am using jdev 11.1.1.5 . we using webcenter spaces application.While doing clean stage of ant option , i got this error.
    BUILD FAILED
    C:\siemens_repositories\workspace_siemens_occ\dev\OCCDesignWebCenterSpaces\WebCenterSpacesExtensionLibrary\internal-targets.xml:54: Problem: failed to create task or type if
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.
    Total time: 0 seconds
    build.xml is as below
    <?xml version="1.0" encoding="US-ASCII" ?>
    <project name="Portal" default="all" basedir=".">
    <!-- initialize properties for use by the build -->
    <property environment="env"/>
    <property file="build.properties"/>
    <tstamp/>
    <!-- define the ojdeploy ant task -->
    <taskdef name="ojdeploy"
    classname="oracle.jdeveloper.deploy.ant.OJDeployAntTask"
    uri="oraclelib:OJDeployAntTask"
    classpath="${oracle.jdeveloper.ant.library}"/>
    <target name="all" depends="deploy"/>
    <target name="clean">
    <delete includeemptydirs="true">
    <fileset dir="${oracle.jdeveloper.workspace.dir}" includes="**/deploy/**/*"/>
    <fileset dir="${oracle.jdeveloper.workspace.dir}" includes="**/classes/**/*"/>
    </delete>
    </target>
    <target name="deploy">
    <ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
    executable="${oracle.jdeveloper.ojdeploy.path}"
    ora:buildscript="${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml"
    ora:statuslog="${oracle.jdeveloper.deploy.dir}/ojdeploy-statuslog.xml">
    <ora:deploy>
    <ora:parameter name="workspace"
    value="${oracle.jdeveloper.workspace.path}"/>
    <ora:parameter name="profile"
    value="${oracle.jdeveloper.deploy.profile.name}"/>
    </ora:deploy>
    </ora:ojdeploy>
    </target>
    </project>

    i got the solution.the jdev version mismatch.and i used forward slash
    this is my config.properties
    #My properties
    #CUSTOMER - all properties need to be provided proper values
    #Fri Jul 30 00:00:00 PDT 2010
    ############ User Inputs Required ###################
    ## Enter the base directory where JDeveloper is installed.
    ## For example:
    ## On Windows, if JDeveloper is installed in the directory
    ## C:\MYJDEV, enter the path as: C:\\MYJDEV
    ## On Linux, if JDeveloper is installed in the directory /scratch/MYJDEV,
    ## enter the path as: /scratch/mywork/MYJDEV
    ## Note that the JDeveloper directory contains other folders such as jdeveloper,
    ## wlserver_10.3, modules, and so on.
    ####jdeveloper.install.home.directory=C:/Oracle/Middleware
    jdeveloper.install.home.directory=C:/Oracle/Middleware
    ## Enter the wlst executable
    ## For example:
    ## On Windows, wlst.cmd
    ## On Linux, wlst.sh
    #wlst.executable=wlst.cmd
    wlst.executable=wlst.cmd
    ## Enter the absolute path of the DesignWebCenterSpaces project.
    ## For example:
    ## On Windows, enter the path as:
    ## extending.spaces.home.dir=C:\\JDeveloper\\mywork\\DesignWebCenterSpaces
    ## On Linux, enter the path as:
    ## extending.spaces.home.dir=/scratch/mywork/DesignWebCenterSpaces
    ####extending.spaces.home.dir=C:/siemens/Tag_2.0.0.19/OCCDesignWebCenterSpaces
    extending.spaces.home.dir=C:/siemens_repositories/workspace_siemens_occ/dev/OCCDesignWebCenterSpaces
    ## Enter the path for ojdeploy executable
    ## For example:
    ## On Windows, enter the path as:
    ## oracle.jdeveloper.ojdeploy.path=${jdeveloper.install.home.directory}\\jdeveloper\\jdev\\bin\\ojdeploy.exe
    ## On Linux, enter the path as:
    ## oracle.jdeveloper.ojdeploy.path=${jdeveloper.install.home.directory}/jdeveloper/jdev/bin/ojdeploy
    #oracle.jdeveloper.ojdeploy.path=${jdeveloper.install.home.directory}\\jdeveloper\\jdev\\bin\\ojdeploy.exe
    oracle.jdeveloper.ojdeploy.path=${jdeveloper.install.home.directory}/jdeveloper/jdev/bin/ojdeploy.exe
    ## Enter the port number on which the WLS Administration Console is running.
    ## The URL of the Administration Console contains the port number.
    ## For example: http://myhost.com:7001/console
    ####wls.port=7001
    wls.port=7001
    ## Enter the host machine on which the Spaces application is running and where
    ## the custom shared library is to be deployed.
    ####wls.host=delvmpllsocc06.sapient.com
    #wls.host=yorke.med.siemens.de
    wls.host=192.168.0.93
    ## Enter the host and port number on which the Spaces application is running
    ## For example, if the Spaces application is running at: http://myhost.com:8888/webcenter
    ## wc.host=myhost.com, wc.port=8888, and wc.protocol=http
    ####wc.port=8888
    ####wc.host=delvmpllsocc06.sapient.com
    #wc.port=8887
    #wc.host=yorke.med.siemens.de
    ## Specify whether the Spaces URL protocol is http or https.
    wc.protocol=http
    ## For security purposes, administrator user name and password details
    ## are stored in secure files.
    ## Obtain the location of these secure files from your systems administrator
    ## or run WLST commands to generate these files as follows:
    ## 1. Navigate to: WC_ORACLE_HOME/common/bin
    ## 2. Enter the command: wlst.sh
    ## 3. At the WLST command prompt, connect to the Administration Server
    ## for Oracle WebCenter:
    ## connect('<admin_user>','<admin_pwd>', '<host>:<port>')
    ## Where admin_user is the user name of the administrator, admin_pwd is
    ## the administrator's password, host is the WebCenter instance, and port is
    ## the Administration Server port.
    ## 4. Run the following command to create a user configuration file and key file
    ## in a specified location:
    ## storeUserConfig('<userConfigFile>', <userKeyFile>')
    ## Where userConfigFile is the name and location of the file storing user details
    ## and userKeyFile is the name and location of the file storing passwords.
    ## For example:
    ## storeUserConfig('C:/myFiles/myuserconfigfile.secure', 'C:/myFiles/myuserkeyfile.secure')
    ## For example:
    ## On Windows, enter the path as:
    ## wls.userkey=C:\\JDeveloper\\mywork\\ps1userkeyfile.secure
    ## wls.userconfig=C:\\JDeveloper\\mywork\\ps1userconfigfile.secure
    ## On Linux, enter the path as:
    ## wls.userkey=/scratch/myfiles/ps1userkeyfile.secure
    ## wls.userconfig=/scratch/myfiles/ps1userconfigfile.secure
    ## Use the wls.userconfig property to set the userConfigFile path and
    ## the wls.userkey property to set the userKeyFile path.
    ####wls.userkey=C:/siemens/Tag_2.0.0.19/OCCDesignWebCenterSpaces/myuserkeyfile.secure
    ####wls.userconfig=C:/siemens/Tag_2.0.0.19/OCCDesignWebCenterSpaces/myuserconfigfile.secure
    wls.userkey=C:/siemens_repositories/workspace_siemens_occ/dev/OCCDesignWebCenterSpaces/keyfile.secure
    wls.userconfig=C:/siemens_repositories/workspace_siemens_occ/dev/OCCDesignWebCenterSpaces/config.secure
    ## Enter the targets on which the shared library is to be deployed.
    wls.target=WC_Spaces,AdminServer
    ## Enter the targets on which the webcenter.ear file is to be deployed.
    wls.webcenter.app.target=WC_Spaces
    ## Enter the name of the Spaces application (webcenter).
    ## Obtain this information from your systems administrator or from the
    ## WLS Administration Console as follows:
    ## 1. Login to WLS Administration Console.
    ## 2. Navigate to Deployments> webcenter>Overview
    ## The application's name displays here.
    webcenter.app.name=webcenter
    ## Use the restart.implementation.version.suffix property to override the next default
    ## implementation version number for your shared library.
    ## You can obtain the current implementation version from your
    ## systems administrator or from the WLS Administration Console as follows:
    ## 1. Login to WLS Administration Console.
    ## 2. Navigate to Deployments> [your-shared-library-name] >Overview
    ## The version number displays here. For example: 11.1.1.2.5
    ## The current implementation version is the last number, that is, 5 in this example.
    ## By default, the implementation version increments by 1 each time that you rebuild
    ## your shared library (using Run Ant Target>clean-stage).
    ## You can restart at a higher value if necessary. For example, if the current value is
    ## 11.1.1.2.20 and you want the next new version to be 11.1.1.2.41 rather than
    ## 11.1.1.2.21, do so by resetting the restart.implementation.version.suffix property to 40.
    ## Note:
    ## The first time you run Run Ant Target>clean-stage, the manifestImpl.properties file
    ## is created and the manifest.implementation.version property is set to
    ## 11.1.1.2.1. This initial version number is derived from the default.implementation.version
    ## set in build.properties (11.1.1.2) and appended with the restart.implementation.version.suffix property below.
    ## For example, if the restart.implementation.version.suffix is set to 1, the initial
    ## manifest.implementation.version will be 11.1.1.2.1.
    ## During subsequent builds, the restart.implementation.version.suffix and the lastNumber property
    ## in manifestImpl.properties are compared, and the higher of the two numbers is incremented by 1.
    ## If, for any reason, the manifestImpl.properties file is deleted, the file is recreated the next time
    ## that you run Run Ant Target>clean-stage, and the implementation version resets using the
    ## restart.implementation.version.suffix only (as if for the first time). For example, 11.1.1.2.1,
    ## if the restart.implementation.version.suffix=1
    ####restart.implementation.version.suffix=2
    ####restart.implementation.version.suffix.ear=2
    ###This change is probably not really necessary.
    restart.implementation.version.suffix=11.1.1.5
    restart.implementation.version.suffix.ear=11.1.1.5

  • I have trouble with Universal Crossword Puzzle not printing.

    When the U Crossword Puzzle doesn't print I try to get it to print by selecting the app on the 8500A screen.  However when I select the app on the 8500A display I get the message that the printer app is unable to connect to the server. This happens every time, although other apps can connect to the server and the printer is on-line. I need to have the U Crossword app connect with the server to tell it to print today's crossword puzzle. That's the only way for me to get it when it doesn't print. What is the problem with this app not connecting with the server???
    This question was solved.
    View Solution.

    Hi Feldo,
    I'm sorry that you are having this problem with that app.
    Here are a couple of solutions to try:
    1) This solution is guaranteed to work. Note: If you use this solution it will cancel all apps subscriptions that you have created. If you have an eprintcenter.com (or eprint.com) account, it will remove your printer and your custom email address from your account. Afterwards you can then re-add your printer (a new printer code wil print automatically) and recreate a customized email address. However, you will not be able to create the exact same email address as you had before.You can also then resubscribe to any apps that were cancelled.
    To use this solution, go to the following website: How to Manage, Pause, or Unsubscribe from Prints and Faxes and click on the link for Solution three: Disable/Enable Web Services on your printer. Follow the instructions there.
    2) Power cycle your printer in this manner: Turn off the printer, unplug the printer (at the socket or at the rear of the printer), wait 30 seconds, plug in the printer, and turn on the printer. Wait at least 5 minutes, then your problem may be solved.
    Let us know what worked for you!
    I work on behalf of HP.

  • Sun-appserv-deploy cutom Ant task

    Hi
    I wanted to use sun-appserv-deploy custom ant task in my build file to deploy an archive. But the file attribute requires EXISTING file which is constantly being deleted and recreated during development...
        <taskdef name="sun-appserv-deploy" classname="org.apache.tools.ant.taskdefs.optional.sun.appserv.DeployTask">
            <classpath refid="j2ee.classpath"/>   
        </taskdef>
        <sun-appserv-deploy
          file="webapp1.war"
          contextroot="/webapp1"
          name="webapp1WAR
          force="true"
          precompilejsp="false"
          verify="false"
          upload="true"
          user="admin"
          passwordfile="${passwordfile}"
          host="localhost"
          port="4848"
          asinstalldir="${j2ee.home}"/>
    Unless the "webapp1.war" exists the enitre build.xml file invalidates (in eclipse)
    How do I use this custom task during my development time (obviously when I run clean the WAR file is removed which invalidates my build.xml)
    Is there a workaround for this?
    Thanks
    Z...

    You have to include an additional attribute in the task:
    <sun-appserv-deploy ... generatermistubs="true" />Edited by: sjfischli on May 15, 2008 8:54 AM

  • Itunes library . xml disappears how recreate it. If possible in french

    Bonjour
    j'ai effacé par erreur iTunes Library .xml, donc plus de possibilité d'utiliser la bibliothèque Itunes dans Imovie, Garageband etc ....
    Que dois je faire ?
    Comment recréer seulement iTunes Library .xml ? Dois je supprimer et réinstaller iTunes ? si oui comment ?
    Hello
    I accidentally deleted iTunes Library. xml, so more can use the iTunes library in iMovie, Garageband etc. ....
    What should I do?
    How to recreate only iTunes Library. Xml? Should I remove and reinstall iTunes? if so how? 

    Bonjour,
    Merci pour votre réponse mais malheureusement, même en quittant iTunes et en le relançant à nouveau, Itunes ne recrée pas le fichier .xml. Par contre j'ai un fichier .itl, qui  je croyais n'était que sous windows. J'ai toujours le contenu des musiques dans le dossier iTunes Music mais pas ce fichier .xml, à chaque fois que je mets à jour iTunes.
    Hello,
    Thank you for your response but unfortunately, even leaving iTunes and rerunning again, iTunes does not recreate the file. Xml. For cons I have a. Itl, which I thought was only under Windows. I still have the content of music in the iTunes Music folder but not this. Xml file, every time I update iTunes.

  • Compiling with ant--getting 'Unknown Source' in my exceptions

    I am compiling using this ant stanza:
         <property name="src" value="src"/>
         <property name="resources" value="src/resources"/>
         <property name="target" value="target"/>
        <target name="compile">
               <javac sourcepath="" srcdir="${src}"
                      destdir="${target}"  compiler="javac1.5" debuglevel="lines,source">
                    <include name="**/*.java"/>
               </javac>   
             <copy todir="${target}/resources">
                 <fileset dir="${resources}"/>
               </copy>
        </target> Note the debuglevel="lines,source" specification. But I'm still getting 'Unknown Source' in exceptions in this code. Yes, I've done a clean compile. Yes, I checked, and it's recreating the files and the jars. I'm reasonably sure there aren't any other build.xml files I could be running.
    I don't see why this wouldn't work.

    I have the same problem. Even If I have something like this.
    <javac debug="on" debuglevel="lines,vars,source" ... />

  • How to troubleshoot trror in ant build with TFS 2012

    Hi folks,
    I originally had an ant builds working in TFS 2010 using Eclipse as a
    client. I then upgraded to TFS 2012 and am using Explorer Everywhere 2012
    in Eclipse.
    Unfortunately, when I try to recreate the build, I see the error:
             MSB4044: The "CreateWorkspaceTask" task was not given a value
             for the required parameter "BuildAgentUri".
    The full log is below. Any help or pointers on how to troubleshoot
    this issue would be greatly appreciated.
    Regards,
    Rajesh
    =================Log file==============
    Build started 9/25/2012 6:45:56 PM.
    Project "C:\Builds\2\Sudoku\Sudoku_Wendy\BuildType\TFSBuild.proj" on node 1 (EndToEndIteration target(s)).
    FixupPropertiesForShelvesetBuilds:
      GetBuildProperties TeamFoundationServerUrl="http://wendy:8080/tfs/defaultcollection" BuildUri="vstfs:///Build/Build/14"
    InitializeBuildProperties:
      GetBuildProperties TeamFoundationServerUrl="http://wendy:8080/tfs/defaultcollection" BuildUri="vstfs:///Build/Build/14"
    InitializeEndToEndIteration:
      UpdateBuildNumberDropLocation TeamFoundationServerUrl="http://wendy:8080/tfs/defaultcollection" BuildUri="vstfs:///Build/Build/14" BuildNumber="Sudoku_Wendy_20120925.2" DropLocation="\\wendy\TFS_Sudoku_Main\Sudoku_Wendy_20120925.2"
    CoreInitializeWorkspace:
      DeleteWorkspaceTask TeamFoundationServerUrl="http://wendy:8080/tfs/defaultcollection" BuildUri="vstfs:///Build/Build/14" Name="WENDY_7_2" DeleteLocalItems=True
      The workspace WENDY_7_2 does not exist.
    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets(801,5): error MSB4044: The "CreateWorkspaceTask" task was not given a value for the required parameter "BuildAgentUri". [C:\Builds\2\Sudoku\Sudoku_Wendy\BuildType\TFSBuild.proj]
    Done Building Project "C:\Builds\2\Sudoku\Sudoku_Wendy\BuildType\TFSBuild.proj" (EndToEndIteration target(s)) -- FAILED.
    Build FAILED.
    "C:\Builds\2\Sudoku\Sudoku_Wendy\BuildType\TFSBuild.proj" (EndToEndIteration target) (1) ->
    (CoreInitializeWorkspace target) ->
      C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets(801,5): error MSB4044: The "CreateWorkspaceTask" task was not given a value for the required parameter "BuildAgentUri". [C:\Builds\2\Sudoku\Sudoku_Wendy\BuildType\TFSBuild.proj]
        0 Warning(s)
        1 Error(s)
    Time Elapsed 00:00:00.93
    Regards,

    Hi Rajesh,
    Sorry it took too long to reply back, so I have been investigating that issue and it turned out that the BuildAgentUri property that it is complaining about is now required while it was not in TFS 2010. so this suggests that your build targets file might
    be still 2010. To confirm this, please go to:
    this file C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets
    you should fine two definitions for the CreateWorkspaceTask:
     <CreateWorkspaceTask
              TeamFoundationServerUrl="$(TeamFoundationServerUrl)"
              BuildUri="$(BuildUri)"
              BuildDirectory="$(BuildDirectory)"
              SourcesDirectory="$(SolutionRoot)"
              Name="$(WorkspaceName)"
              Comment="$(CreateWorkspaceTaskComment)"
              Condition=" '$(ProjectFileVersion)' != '4'">
          <Output TaskParameter="Name" PropertyName="WorkspaceName" />
          <Output TaskParameter="Owner" PropertyName="WorkspaceOwner" />
        </CreateWorkspaceTask>
        <CreateWorkspaceTask
              TeamFoundationServerUrl="$(TeamFoundationServerUrl)"
              BuildUri="$(BuildUri)"
              BuildDirectory="$(BuildDirectory)"
              BuildAgentUri="$(BuildAgentUri)"
              SourcesDirectory="$(SolutionRoot)"
              Name="$(WorkspaceName)"
              Comment="$(CreateWorkspaceTaskComment)"
              Condition=" '$(ProjectFileVersion)' == '4'">
          <Output TaskParameter="Name" PropertyName="WorkspaceName" />
          <Output TaskParameter="Owner" PropertyName="WorkspaceOwner" />
        </CreateWorkspaceTask>
    if you find only the first definition then this is the problem.
    Please let me know what did you find out.
    Thanks for your patience
    Thanks
    Mireille

  • I have found something which has me totally puzzled.

       I normally copy my mail folder to an external drive before reinstalling the OS.  I also copy the com.apple.mail,plist file from ~/Library/Preferences.
    After the reinstall is done, I copy all back to their original location after deleting what the install has put there.  This has been a pretty bulletproof method of restoring my mail.
       Now to the puzzle.  My com.apple.mail.plist has recently gone missing.  On all three Macs I own.  Everything works normally so far.
    So where did the file disappear to and why?  Any ideas from the Apple Techs?  Did they eliminate them in the 10.8.4 Update?

    It is in the sandbox container.
    Users/UserName/Library/Containers/com.apple.mail
    Inside that folder, the "Library" is recreated with links, except folders that are specific to Mail (or the sandboxed program). So, it will now be in the app container, Data/Library/Preferences.

Maybe you are looking for

  • Why doesn't the " keep " option show up in my photo shop touch

    How do I activate the "keep" option in photo shop touch

  • Why can't I access my apn settings after factory unlock

    I got my iPhone 3GS from a friend and got a factory unlock. I still can't access my apn settings. The carrier on the phone was AT&T . I flipped it to straighttalk my sim is fine it works in my wife's phone it came up as home. Now my settings general

  • Can i have on my imac two version? Mavericks and OS X Tiger?

    Hi, i need help because i know i can have an version mac and windows but i want two versions of os x. Right now i've the mavericks but i want too os x tiger can i install this two versions? If someone can answer me fast i thanked. Sorry my english bu

  • Mountain Lion Graphics Apps Crashing

    I have a new MacBook Pro that came loaded, unfortunately, with Mountain Lion. After dealing with everything from no connectivity, to a second monitor that no longer could be hooked up, things were working relatively well. Suddenly, now, however, when

  • When a Time Capsule is full, what do you do?

    Curious... What is Apple's stated position on what to do once your TC fills up? With upwards of 500GB internal drives these days, it isn't hard to imagine a 1T TC and three Macs. Would you leave the TC backups alone an hook up a wireless drive?