Wsgen as ant task doesn't recognize

Hi
I'm trying to build my webservice using ant in eclipse but ant doesn't regonize this kind of task
my java files are in src catalouge and my build file looks like this
<?xml version="1.0" encoding="UTF-8"?>
<project name = "webservice">
<property name = "build.dir" location="build.classes"/>
<target name="init">
     <mkdir dir="${build.dir}"/>
</target>
<target name = "compile" description = "Kompiluje kod javy">
     <javac srcdir = "src" destdir = "build/classes"/>
</target>
<target name="generate">
<wsgen destdir = "${build.dir}" sourcedestdir="${build.dir}">
     <classpath>
          <fileset dir = "src">
               <include name="*.*"/>
          </fileset>
     </classpath>
</wsgen>
</target>
</project>and i want to ask too, if iam using wsgen do i need to compile classes before, if someone could write some example buildfile i will be thankfull, i tryied to understand build file from the examples from sun's tutorial but the are too complicated for me

Don't you need to declare the wsgen task somewhere?

Similar Messages

  • Ant Task Doesn't work : Generating autotypes using Schema

    I have XML schema which import other schemas.Now when i try to generate
    autotype for this schema, it gives error
    "Unable to resolve reference to specified path".
    Reason being the URL specified as target namespace is not valid.
    Does autotype refers to URL for import the refererence .XSD.
    I have the required XSD in my path.
    Can autotype refer to local directory path instead of url.

    Hi Bruce
    I compared your simple.zip with my scenario and it looks
    like problem is with <include> clause.
    I have modified your simple example and i was able to reproduce the error.
    Please refer to attach file.
    Also let me know if i am doing anything wrong.
    I hope this is not limitation of Welogic ant task...this is very urgent
    Thanks
    Bruce Stephens <[email protected]> wrote:
    Hi,
    I posted a very simple schema import example recently [1] you might want
    take a look.
    Could you post a reproducer of the problem you are experiencing?
    Thanks,
    Bruce
    [1]
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.webservices&item=4642
    askbea wrote:
    I have XML schema which import other schemas.Now when i try to generate
    autotype for this schema, it gives error
    "Unable to resolve reference to specified path".
    Reason being the URL specified as target namespace is not valid.
    Does autotype refers to URL for import the refererence .XSD.
    I have the required XSD in my path.
    Can autotype refer to local directory path instead of url.
    [simple.zip]

  • ANT task wsgen error while deploying RPC style web service

    Hi
    I am trying to assemble/deploy an rpc style weblogic web service using the 'wsgen'
    Ant task and the build.xml scripts provided with the samples. I get this error:
    Please help
    Thanks,
    Praveen
    C:\test>ant
    Buildfile: build.xml
    webservice:
    clean:
    [delete] Deleting directory C:\test\build
    init:
    [mkdir] Created dir: C:\test\build
    [mkdir] Created dir: C:\test\build\META-INF
    [copy] Copying 5 files to C:\test\build\META-INF
    compile_ejb:
    [javac] Compiling 5 source files to C:\test\build
    jar_ejb:
    [jar] Building jar: C:\test\a_statelessSession.jar
    ejbc:
    all:
    wsgen:
    Error at line:8 col:12 ':' Already got a ':' in name
    at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseExc
    on(SAXElementFactory.java:60)
    at weblogic.xml.babel.parsers.StreamParser.<init>(StreamParser.java:
    at weblogic.xml.babel.parsers.BabelXMLEventStream.startDocument(Babe
    EventStream.java:28)
    at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:6
    at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:5
    at weblogic.soap.WebServiceProxy.getServiceFrom(WebServiceProxy.java
    at weblogic.ant.taskdefs.ejb.WSGenHelper.writeClientJar(WSGenHelper.
    :1125)
    at weblogic.ant.taskdefs.ejb.WSGenHelper.writeWSDL(WSGenHelper.java:
    at weblogic.ant.taskdefs.ejb.WSGenHelper.saveDescriptors(WSGenHelper
    a:1415)
    at weblogic.ant.taskdefs.ejb.WSGenHelper.output(WSGenHelper.java:148
    at weblogic.ant.taskdefs.ejb.WSGenHelper.doit(WSGenHelper.java:1517)
    at weblogic.ant.taskdefs.ejb.WSGen.execute(WSGen.java:93)
    at org.apache.tools.ant.Target.execute(Target.java:153)
    at org.apache.tools.ant.Project.runTarget(Project.java:898)
    at org.apache.tools.ant.Project.executeTarget(Project.java:536)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
    at org.apache.tools.ant.Target.execute(Target.java:153)
    at org.apache.tools.ant.Project.runTarget(Project.java:898)
    at org.apache.tools.ant.Project.executeTarget(Project.java:536)
    at org.apache.tools.ant.Project.executeTargets(Project.java:510)
    at org.apache.tools.ant.Main.runBuild(Main.java:421)
    at org.apache.tools.ant.Main.main(Main.java:149)
    BUILD SUCCESSFUL
    Total time: 34 seconds
    C:\test>

    WLS6.1, service pack 2? I didn't know there were any service packs for 6.1 and
    6.0 didn't support wsgen and web services??
    simon.
    manoj cheenath <[email protected]> wrote:
    >
    >
    This is a known bug which is fixed in WLS 6.1 SP2.
    The workaround is to change the complex data types
    to have more than one level package names.
    for eg: change ....
    package foo;
    class Data{}
    to :
    package foo.bar;
    class Data{}
    -manoj
    Praveen wrote:
    Hi
    I am trying to assemble/deploy an rpc style weblogic web service usingthe 'wsgen'
    Ant task and the build.xml scripts provided with the samples. I getthis error:
    Please help
    Thanks,
    Praveen
    C:\test>ant
    Buildfile: build.xml
    webservice:
    clean:
    [delete] Deleting directory C:\test\build
    init:
    [mkdir] Created dir: C:\test\build
    [mkdir] Created dir: C:\test\build\META-INF
    [copy] Copying 5 files to C:\test\build\META-INF
    compile_ejb:
    [javac] Compiling 5 source files to C:\test\build
    jar_ejb:
    [jar] Building jar: C:\test\a_statelessSession.jar
    ejbc:
    all:
    wsgen:
    Error at line:8 col:12 ':' Already got a ':' in name
    at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseExc
    on(SAXElementFactory.java:60)
    at weblogic.xml.babel.parsers.StreamParser.<init>(StreamParser.java:
    at weblogic.xml.babel.parsers.BabelXMLEventStream.startDocument(Babe
    EventStream.java:28)
    at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:6
    at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:5
    at weblogic.soap.WebServiceProxy.getServiceFrom(WebServiceProxy.java
    at weblogic.ant.taskdefs.ejb.WSGenHelper.writeClientJar(WSGenHelper.
    :1125)
    at weblogic.ant.taskdefs.ejb.WSGenHelper.writeWSDL(WSGenHelper.java:
    at weblogic.ant.taskdefs.ejb.WSGenHelper.saveDescriptors(WSGenHelper
    a:1415)
    at weblogic.ant.taskdefs.ejb.WSGenHelper.output(WSGenHelper.java:148
    at weblogic.ant.taskdefs.ejb.WSGenHelper.doit(WSGenHelper.java:1517)
    at weblogic.ant.taskdefs.ejb.WSGen.execute(WSGen.java:93)
    at org.apache.tools.ant.Target.execute(Target.java:153)
    at org.apache.tools.ant.Project.runTarget(Project.java:898)
    at org.apache.tools.ant.Project.executeTarget(Project.java:536)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
    at org.apache.tools.ant.Target.execute(Target.java:153)
    at org.apache.tools.ant.Project.runTarget(Project.java:898)
    at org.apache.tools.ant.Project.executeTarget(Project.java:536)
    at org.apache.tools.ant.Project.executeTargets(Project.java:510)
    at org.apache.tools.ant.Main.runBuild(Main.java:421)
    at org.apache.tools.ant.Main.main(Main.java:149)
    BUILD SUCCESSFUL
    Total time: 34 seconds
    C:\test>
    -----------------------------------------------------------------<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    This is a known bug which is fixed in WLS 6.1 SP2.
    <p>The workaround is to change the complex data types
    <br>to have more than one level package names.
    <p>for eg: change ....
    <p><font color="#3366FF">package foo;</font>
    <br>class Data{}
    <p>to :
    <p><font color="#3333FF">package foo.bar;</font>
    <br>class Data{}
    <p>-manoj
    <p>Praveen wrote:
    <blockquote TYPE=CITE>Hi
    <br>I am trying to assemble/deploy an rpc style weblogic web service
    using
    the 'wsgen'
    <br>Ant task and the build.xml scripts provided with the samples. I get
    this error:
    <br>Please help
    <br>Thanks,
    <br>Praveen
    <br>-----------------------------------------------------------------
    <br>C:\test>ant
    <br>Buildfile: build.xml
    <p>webservice:
    <p>clean:
    <br>   [delete] Deleting directory C:\test\build
    <p>init:
    <br>    [mkdir] Created dir: C:\test\build
    <br>    [mkdir] Created dir: C:\test\build\META-INF
    <br>     [copy] Copying 5 files to C:\test\build\META-INF
    <p>compile_ejb:
    <br>    [javac] Compiling 5 source files to C:\test\build
    <p>jar_ejb:
    <br>      [jar] Building jar: C:\test\a_statelessSession.jar
    <p>ejbc:
    <p>all:
    <p>wsgen:
    <br>Error at line:8 col:12  ':' Already got a ':' in name
    <br>        at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseExc
    <br>on(SAXElementFactory.java:60)
    <br>        at weblogic.xml.babel.parsers.StreamParser.<init>(StreamParser.java:
    <br>        at weblogic.xml.babel.parsers.BabelXMLEventStream.startDocument(Babe
    <br>EventStream.java:28)
    <br>        at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:6
    <br>        at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:5
    <br>        at weblogic.soap.WebServiceProxy.getServiceFrom(WebServiceProxy.java
    <br>)
    <br>        at weblogic.ant.taskdefs.ejb.WSGenHelper.writeClientJar(WSGenHelper.
    <br>:1125)
    <br>        at weblogic.ant.taskdefs.ejb.WSGenHelper.writeWSDL(WSGenHelper.java:
    <br>)
    <br>        at weblogic.ant.taskdefs.ejb.WSGenHelper.saveDescriptors(WSGenHelper
    <br>a:1415)
    <br>        at weblogic.ant.taskdefs.ejb.WSGenHelper.output(WSGenHelper.java:148
    <br>        at weblogic.ant.taskdefs.ejb.WSGenHelper.doit(WSGenHelper.java:1517)
    <br>        at weblogic.ant.taskdefs.ejb.WSGen.execute(WSGen.java:93)
    <br>        at org.apache.tools.ant.Target.execute(Target.java:153)
    <br>        at org.apache.tools.ant.Project.runTarget(Project.java:898)
    <br>        at org.apache.tools.ant.Project.executeTarget(Project.java:536)
    <br>        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
    <br>        at org.apache.tools.ant.Target.execute(Target.java:153)
    <br>        at org.apache.tools.ant.Project.runTarget(Project.java:898)
    <br>        at org.apache.tools.ant.Project.executeTarget(Project.java:536)
    <br>        at org.apache.tools.ant.Project.executeTargets(Project.java:510)
    <br>        at org.apache.tools.ant.Main.runBuild(Main.java:421)
    <br>        at org.apache.tools.ant.Main.main(Main.java:149)
    <p>BUILD SUCCESSFUL
    <p>Total time: 34 seconds
    <p>C:\test>
    <br>-----------------------------------------------------------------</blockquote>
    </html>

  • Wlappc ANT task "runtimeFlags" attribute doesn't take effect

    I am intermittently counter "java.lang.OutOfMemoryError" error while I am running wlappc ANT task to compile jsp pages. I have lots of jsp files (about 500). According to weblogic's document, I set runtimeFlags="-J-ms512m -J-mx1024m". So my ant task looks like this:
              <wlappc source="${websrc}" output="${output}" runtimeFlags="-J-ms1024m -J-mx1024m">
              </wlappc>
              But it doesn't work. It still complains out of memory error. I tried various approach including "-J-Xms1024m -J-Xmx1024m". But not helpful at all.
              So I gave up and ended up using weblogic.appc class to build my jsp pages. So I have fully control of jvm options. I set up -Xms1024m -Xmx1024m as JVM parameters and works well.
              It looks to me that wlappc ANT task ignore runtimeFlags at all. It doesn't take any effect.
              Is it a known bug? anyone succeeded solving OutOfMemoryError by setting runtimeFlags attribute of wlappc ANT task?

    I was having the same issue.
              Try using the maxmemory argument for the standard java ant task and calling weblogic.appc:
              <java classname="weblogic.appc" fork="yes" failonerror="true" maxmemory="256m">
              <classpath>
              <fileset dir="${weblogic.home}/server/lib" includes="weblogic.jar,webservices.jar" />
              </classpath>
              <arg value="${ear.dir}" />
              <arg value="-verbose" />
              </java>

  • Weblogic ant tasks integration in Eclipse

    Hi,
    I would like to make Weblogic ant tasks ( web services one) work in Eclipse 3.0
    . Someone on this newsgroup suggested to just add weblogic.jar and webservices.jar
    to the built-in ant classpath of Eclipse. The problem is that it doesn't work
    for me. The tasks don't run because ant doesn't recognize the tasks.
    What should I do ? If anyone has already managed to do it, please let me know.
    bengali.

    bengali.Hi,
    you also have to include a <taskdef> for the servicegen task of >weblogicThat's why I did but I still have a problem with the source2wsdd
    ant task ( the other tasks run correctly within Eclipse).
    I get a :
    [source2wsdd] source2wsdd: Cannot find doclet class weblogic.webservice.tools.ddgen.ServiceGen
    [source2wsdd] 1 error
    BUILD FAILED: build.xml:324: javadoc execution failed
    Total time: 3 seconds
    The problem is that my source2wsdd has been defined with a well suited classpath
    and is also called with the right classpath.
    The problem only happens with this task !
    Bengali

  • I went to iCloud and my mail doesn't recognize my password but even worst my iTunes does not want to open because it says my library is blocked somewhere on a hard disk where I  have no access ...

    I went to iCloud and my mail doesn't recognize my password but even worst my iTunes does not want to open because it says my library is blocked somewhere on a hard disk where I  have no access ...
    HELP HELP

    To confirm, your existing mail client isn't communicating with your existing and remote mail services at Dreamhost? Which mail client are you using (Apple mail?), and how is mail on the client set up?
    It would initially seem that your client is still referencing the server, either for its inbound or outbound mail. (And I'm not sure how unplugging the server helps here, unless there's some sort of a configuration issue, or a duplicate network address or such.) This would usually be something within the configuration of the mail client.
    The Mac OS X Server is significantly easier than the many other servers and server operating systems I've dealt with over the years, but it requires reading the manuals and/or some knowledge of networking and of server environments.
    Small shops and home folks without the time or inclination to "spin up" on these server areas can be well-served with some help initially configuring the server. Servers are different from clients. Stuff that you're implicitly used to using when you're running a client -- the DHCP server, for instance -- are what the servers provide you with.
    As for Mac OS X Server and particularly if you head outside of the default settings and sequences and off into the customizations, which is what has happened here, you might want to engage some assistance. Not just for the direct and obvious initial set-up sequence, but also for getting you set-up and started with backups and other such tasks. Before you get too deep in here and get too much underway and too much saved on your disks, do seriously consider getting somebody in to help set this box up for you.
    Mac OS X Server is not "no IT", but it is rather closer to "less IT" than most. Particularly once you get it configured and running.

  • Is there an ant task on FlexUnit to open browser with swf embedded?

    Here is the same (unanswered) question asked by someone else: http://forums.adobe.com/thread/740495?tstart=0#740495
    Basically I need to open my flex app in a browser window from ant, and the FlexUnit task apparently does not support this.
    I have downloaded a sample from FlexMonkey. When they (sample writers) execute flexunit in this sample, one of the arguments to FU is "url". However, I can find no evidence of this version of FU (that uses that "url" argument) existing anywhere. Using the swf argument doesn't work as documented in the previous question above. So I don't know if my problem is Flex version, or it's just not supported by FlexUnit.
    I'm using the Flex sdk 3.2.0 and the FU libraries below:
    flexunit-4.1.0-33-as3_3.5.0.12683.swc
    flexunit-4.1.0-33-flex_3.5.0.12683.swc
    flexunit-cilistener-4.1.0-33-3.5.0.12683.swc
    flexunit-uilistener-4.1.0-33-3.5.0.12683.swc
    flexUnitTasks-4.1.0-33.jar
    Please tell me if this issue has been solved and if so what libraries I need to implement it. If it is done for Flex 4.x, but not for Flex 3.2, perhaps you could guide me to the java source for the ant task for Flex 4.x so that I can implement this for Flex 3.2 or Flex 3.x.
    thanks,
    Phil

    @Linden - Have not heard of this side effect from anyone as of yet, but good to know.  Sounds like the file lock is coming from the Flash Player and causing the spawning process (rundll32.exe) to hang around as well.  The FlexUnit team runs on Hudson using the FlexUnit Ant task, but we don't seem to encounter the same issue.  What's the longest interval you've tried to use with the sleep task?  Does the FP ever release its handle to the test SWF on your development machines?
    Not sure this is a problem with the FlexUnit Ant task, but in 4.2 we could try to explicitly kill the rundll32 process since we'll have the PID when the task launches it.  Head on over to JIRA and file a feature request for us and I'll see what I can do in the new year.  In the short term though, maybe try upgrading your version of the stand alone debug flash player to see if that helps.  Has anyone else seen this issue?  Could you possible just move the clean target to be called before the xci-test target is run?  Just some suggestions.
    -Brian

  • Unable to run ALBPM Ant tasks on Linux

    Hi,
    I am trying to execute a simple build script that creates a session with given directory details and deploys/publishes a project on to the Enterprise Server. With usual modifications, this scripts works fine on Windows, but on Linux it keeps on giving an error that makes no sense. I am copying my build file as well as error stack trace below. Please help me on urgent basis.
    OS: Linux 64 bit
    Oracle Enterprise Server: 10.3.1.0.0
    JAVA_HOME=/usr/java/jdk1.6.0_16
    ANT_HOME=/usr/ant/apache-ant-1.8.1
    build.xml
    <!-- This script publishes and deploys a BPM Project, undeploys and unpublishes a BPM Project, Export Organisation.xml -->
    <project name="sampleproj"
         xmlns:fuego="antlib:fuego.tools.ant.enterprise"
         xmlns:fuego.j2ee="antlib:fuego.tools.ant.j2ee">
    <!-- Include properties -->
    <property file="build.properties"/>
    <echo message="Enterprise Home Directory:: ${fuego.basedir}" />
    <echo message="Ant Version:: ${ant.version}" />
    <echo message="Connecting to directory:: ${fuego.directoryid}" />
    <fuego:passport id="passport"
    directoryid="${fuego.directoryid}"
    preset="engine" />
    <target name="publish-on-linux" description="Publish and deploy processes">
    <echo message="Creating session..."/>
    <!-- Open a session to the ALBPM directory -->
    <fuego:session passportref="passport"
    verbose="true"
    haltonerror="true">
    <!-- Publish processes -->
    <fuego:publish fpr="${bpm.project.path}"
    deploy="true"
    engine="${fuego.engine}"
              haltonerror="true"
              importdata="true"
              automapconfigs="true"
              automapvars="true"
              automaproles="true"
              automapbuspars="true"
              importcustomviews="true">
    </fuego:publish>
    </fuego:session>
    </target>
    </project>
    build.properties
    # Enterprise installation directory
    fuego.basedir=/opt/OraBPMwlHome
    # Name of ALBPM Engine to deploy to
    fuego.engine=bpmengine
    # Project to deploy
    bpm.project.path=/usr/test_ant/sampleproj
    # Directory details
    fuego.directoryid=default
    Error on running the target publish-on-linux
    [echo] Enterprise Home Directory:: /opt/OraBPMwlHome
    [echo] Ant Version:: Apache Ant version 1.8.1 compiled on April 30 2010
    [echo] Connecting to directory:: default
    publish-on-linux:
    [echo] Creating session...
    [fuego:session] fuego base dir [opt/OraBPMwlHome]
    BUILD FAILED
    /usr/test_ant/build1.xml:25: java.lang.NullPointerException
    at fuego.tools.ant.BaseFuegoTask.getClassLoader(Unknown Source)
    at fuego.tools.ant.BaseFuegoTask.executeTask(Unknown Source)
    at fuego.tools.ant.enterprise.taskdefs.DirectorySessionTask.executeImpl(Unknown Source)
    at fuego.tools.ant.BaseFuegoTask.execute(Unknown Source)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:390)
    at org.apache.tools.ant.Target.performTasks(Target.java:411)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
    at org.apache.tools.ant.Main.runBuild(Main.java:801)
    at org.apache.tools.ant.Main.startAnt(Main.java:218)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
    Total time: 0 seconds

    Amit Zini wrote:
    Dear All,
    I am unable to run my oracle 10g forms application on Linux machine which is runing Fedora 16.
    i have tried to install jre 6 but mozilla firefox 10 is not loading my oracle 10 forms application, it says plugin missing.
    Kindly help me to short out the problem.
    java version "1.6.0_24"
    OpenJDK Runtime Environment (IcedTea6 1.11.1) (fedora-65.1.11.1.fc16-i386)
    OpenJDK Server VM (build 20.0-b12, mixed mode)
    Regards.
    Amit.Try with down grade of Mozilla firefox. may be version 6 to 8. not 9/10.
    Firefox with 9 and higher doesn't support JRE version 1.6.XX.
    Hopes this helps

  • How to include assigned .as files in MXMLC ant task ?

    When i use mxmlc ant task, i found that
    the tag <include-sources/> doesn't support !
    ( described by http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7a63.html )
    neither SDK version 3.x nor 4.x
    Are they lying?!
    How to include assigned .as files ?
    Thank you !

    My understanding is that mxmlc will use all available resources in the source path, as needed. Instead of giving it individual resources to include, you simply need to give it the source-path that contains those resources. This is different from a library project, which may need to include individual classes that are never used in that library.

  • HT201210 my computer doesn't recognize my iphone 4

    I tried holding the on/offf and home for 10 seconds it then updated my iphone but at the very end it gave an error  2009  - so restarted my computer as suggested - started over again and pushed restore  and it went through the process and this time the message it doesn't recognize my phone - help

    If your iPod Touch, iPhone, or iPad is Broken
    Apple does not fix iDevices. Instead, they exchange yours for a refurbished or new replacement depending upon the age of your device and refurbished inventories. On rare occasions when there are no longer refurbished units for your older model, they may replace it with the next newer model.
    You may take your device to an Apple retailer for help or you may call Customer Service and arrange to send your device to Apple:
    Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
    To contact product and tech support: Contacting Apple for support and service - this includes international calling numbers.
    iPod Service Support and Costs
    iPhone Service Support and Costs
    iPad Service Support and Costs
    There are third-party firms that do repairs on iDevices, and there are places where you can order parts to DIY if you feel up to the task. Start with Google to search for these.

  • Using xsb files with xmlbeans ant task

    Hi all
    I have got an xsd which references other schemas: for these other schemas I have only the xsbs. The xmlbeans ant task refuse to load the xsd I'm giving in because cannot found the other schemas. I'd like to simply import the existing xsb so that the ant task can use them: does anyone know how to do it?
    Thank you in advance for any help
    cdr

    Actually it doesn't work properly in SQL Server 2008 R2.  I have a similar EP task.  If I set the working directory to \\server\share\subdir the task fails. However, if I map a drive latter to the \\server\share and set working directory to <drive>:\subdir
    it works

  • Bugs in jdoc and jdoclet Ant tasks?

    (The relevant lines in the build.xml file are at the end of this message.)
    I encountered a problem with the jdoc Ant task:
    - I added a description for a class in the metadata file. Everything rans
    fine. Then I added another class to the metadata file, when the jdoc task
    is invoked again by Ant the new class is not enhanced at all.
    - However when I run the jdoc on the metadata file outside Ant, the new
    class is enhanced.
    I can't run the jdoclet task at all because Ant complains that it can't
    find the class com.solarmetric.modules.integration.ant.KodoDocletTask.
    However it doesn't have any problem finding the class
    com.solarmetric.modules.integration.ant.JDOEnhancerTask. Aren't they both
    in the kodo-jdoee.jar? I also tried using the classpath element inside the
    target for the jdoclet without success.
    Thanks for your help.
    Here is an extract of the build.xml file:
    <!--Set the classpath-->
    <path id="classpath">
    <pathelement location="d:/books/JDO/KODO/kodo-jdoee2.3.3/lib/jdo1_0.jar"/>
    <pathelement
    location="d:/books/JDO/KODO/kodo-jdoee-2.3.3/lib/kodo-jdoee.jar"/>
    <pathelement location="C:\java\xdoclet-1.1.2\lib\xdoclet.jar"/>
    </path>
    <target name="taskdefs">
    <taskdef name="jdodoclet"
    classname="com.solarmetric.modules.integration.ant.KodoDocletTask"/>
    <!-- the above line causes an error -->
    <taskdef name="jdoc"
    classname="com.solarmetric.modules.integration.ant.JDOEnhancerTask"/>
    <!-- no problem with the above -->
    <target name="enhanceAll" depends="compile">
    <jdoc>
    <fileset dir="./classes/quocp">
    <include name="ent.jdo" />
    </fileset>
    <config licenseKey="<license key removed>" />
    <classpath refid="classpath"/>
    </jdoc>
    </target>

    Actually I did have a classpath issue, the xdoclet jar was not being
    included properly; once I got it included I now get this error:
    BUILD FAILED: java.lang.LinkageError: duplicate class definition:
    org/apache/log4j/Category
    I think the xdoclet is incompatible with the version of log4j I have....but
    I don't know for certain.
    So I tried moving to the latest and greatest xdoclet and now I get a new
    error (and it fails earlier):
    Finding class com.solarmetric.modules.integration.ant.JDODocletSubTask
    Exception reading component C:\dev2\java\devlib\kodo-jdo.jar
    BUILD FAILED: java.lang.NoClassDefFoundError:
    com/solarmetric/modules/integration/ant/JDODocletSubTask
    One thing I have learned today is the -debug flag when running ant...very
    helpful in finding out where the failure is occuring.
    Any ideas you might have on how to proceed would be helpful...is there a way
    to run the xdoclet stuff without the ant tasks?
    Thanks,
    Steven Balthazor
    "Marc Prud'hommeaux" <[email protected]> wrote in message
    news:[email protected]...
    Steven-
    If you include the Kodo devel jars in your system CLASSPATH, does it
    work? I.e., is it a problem with the classpath, or with the XDoclet
    integration in general?
    In article <[email protected]>, Steven Balthazor wrote:
    I have followed these instructions to the letter; but I am unable to get
    the
    Doclet task to work in ant. Specifically my taskdef:
    <taskdef name="jdodoclet"
    classname="com.solarmetric.modules.integration.ant.KodoDocletTask">
    <classpath refid="cp" />
    </taskdef>
    Generates the following error when running ant:
    BUILD FAILED: file:C:/dev2/java/devbuild.xml:54: taskdef class
    com.solarmetric.modules.integration.ant.KodoDocletTask cannot be found
    Now I would think this is a classpath problem; except if I change the
    taskdef to:
    <taskdef name="jdodoclet"
    classname="com.solarmetric.modules.integration.ant.SchemaToolTask">
    <classpath refid="cp" />
    </taskdef>
    I get a new error:
    BUILD FAILED: file:C:/dev2/java/devbuild.xml:56: The <jdodoclet> task
    doesn't support the nested "jdotags" element.
    This looks like it is finding the SchemaToolTask and failing in the
    implementation of jdodoclet. As far as I can tell, KodoDocletTask and
    SchemaToolTask are in the same jar. So what gives?
    I am using Kodo 2.5.2; and I have Xdoclet 1.1.2 in my classpath.
    Any help would be appreciated.
    Steven Balthazor
    "Patrick Linskey" <[email protected]> wrote in message
    news:[email protected]...
    I'm guessing that the kodo jars are not in the classpath when you
    launch
    ant. If this is the case, then you must specify a classpath in your
    taskdef, and probably in the jdodoclet execution as well. You can do
    this with something like this:
    <target ...>
    <taskdef ...>
    <classpath refid="cp"/>
    </taskdef>
    <jdodoclet ...>
    <classpath refid="cp"/>
    </jdodoclet>
    </target>
    This assumes that you've defined a path somewhere in your ant buildfile
    with an id of 'cp'.
    -Patrick
    Quoc Pham wrote:
    Hi Patrick,
    I still haven\'t been able to solve the problem with the jdoclet
    task:
    >>>>
    >>>>
    I can\\\'t run the jdoclet task at all because Ant complains thatit
    >>>>
    can\\\'t
    find the class
    com.solarmetric.modules.integration.ant.KodoDocletTask.
    However it doesn\\\'t have any problem finding the class
    com.solarmetric.modules.integration.ant.JDOEnhancerTask. Aren\\\'tthey
    both
    in the kodo-jdoee.jar? I also tried using the classpath element
    inside
    the
    target for the jdoclet without success.
    Here is the jdoclet task:
    classname=\\\"com.solarmetric.modules.integration.ant.KodoDocletTask\\\"/>
    >>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>>
    When I run the above task, I got the error message:
    Buildfile: build.xml
    generateJdoMetadata
    BUILD FAILED
    file:d/jdev903/jdev/mywork/JDO/Ent/build.xml:102:taskdef class
    com.solarmetric.modules.integration.ant.KodoDocletTask cannot be
    found
    >>>>
    >>>>
    Questions:
    - How do I let ant know the class path to use to run this task?
    - What should the value of sourcepath be?
    - What should the value of dir be? The directory where the .javafiles
    reside?--
    Patrick Linskey [email protected]
    SolarMetric Inc. http://www.solarmetric.com
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Meta migration ant task throw exception

    Hi,
    I am trying the migration from kodo 2 to 3.
    I successfully migrated the properties file using the integrated ant
    task; but run into some problem with the meta data migration (the *.jdo
    files). following is the ant task I am using:
    <target name="migrate-meta" depends="init, prepare-jdo-meta, compile" >
    <!-- define the kodo2migrator task; this can be done at the top
    of -->
    <!-- the build.xml file, so it will be available for all
    targets -->
    <taskdef name="kodo2migrator"
    classname="kodo.jdbc.ant.Kodo2MigratorTask">
    <classpath>
    <pathelement
    path="${java.class.path}:${project.classpath}:${project.build.jdometa.dtd}"/>
    </classpath>
    </taskdef>
    <!-- invoke migrator on all .jdo files below the src directory -->
    <kodo2migrator>
    <classpath>
    <pathelement
    path="${java.class.path}:${project.classpath}:${project.build.jdometa.dtd}"/>
    </classpath>
    <fileset dir="${project.kodo.src}">
    <include name="**/*.jdo" />
    </fileset>
    <config properties="${jdo.properties}" />
    </kodo2migrator>
    </target>
    the exception it is throwning is :
    [kodo2migrator] kodo.jdbc.migration.kodo2.util.FatalUserException: The
    specified driver class "null" is neither a java.sql.Driver nor a
    javax.sql.DataSource. Please specify a valid driver in the
    javax.jdo.option.ConnectionDriverName property.
    [kodo2migrator] at
    kodo.jdbc.migration.kodo2.schema.ConfigurationConnector.createConnectionFactory(ConfigurationConnector.java:108)
    [kodo2migrator] at
    kodo.jdbc.migration.kodo2.schema.ConfigurationConnector.<init>(ConfigurationConnector.java:65)
    [kodo2migrator] at
    kodo.jdbc.migration.kodo2.schema.ConfigurationConnector.<init>(ConfigurationConnector.java:57)
    [kodo2migrator] at
    kodo.jdbc.migration.kodo2.schema.ConfigurationConnector.<init>(ConfigurationConnector.java:37)
    [kodo2migrator] at
    kodo.jdbc.migration.kodo2.Kodo2Migrator.migrate(Kodo2Migrator.java:161)
    [kodo2migrator] at
    kodo.jdbc.migration.kodo2.Kodo2Migrator.run(Kodo2Migrator.java:1141)
    [kodo2migrator] at
    kodo.jdbc.ant.Kodo2MigratorTask.executeOn(Kodo2MigratorTask.java:53)
    [kodo2migrator] at
    com.solarmetric.ant.TaskBase.execute(TaskBase.java:105)
    [kodo2migrator] at
    org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
    [kodo2migrator] at org.apache.tools.ant.Task.perform(Task.java:341)
    [kodo2migrator] at
    org.apache.tools.ant.Target.execute(Target.java:309)
    [kodo2migrator] at
    org.apache.tools.ant.Target.performTasks(Target.java:336)
    [kodo2migrator] at
    org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [kodo2migrator] at
    org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [kodo2migrator] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [kodo2migrator] at org.apache.tools.ant.Main.start(Main.java:196)
    [kodo2migrator] at org.apache.tools.ant.Main.main(Main.java:235)
    BUILD FAILED
    file:/home/tyang/eclipse/workspace/UMA/build.xml:208:
    kodo.jdbc.migration.kodo2.util.FatalUserException: The specified driver
    class "null" is neither a java.sql.Driver nor a javax.sql.DataSource.
    Please specify a valid driver in the
    javax.jdo.option.ConnectionDriverName property.
    the properties file I am using is like this: (just a snipet)
    javax.jdo.PersistenceManagerFactoryClass:
    kodo.jdbc.runtime.JDBCPersistenceManagerFactory
    javax.jdo.option.ConnectionDriverName: org.postgresql.Driver
    javax.jdo.option.ConnectionURL: jdbc:postgresql://127.0.0.1/cwdevdb
    javax.jdo.option.ConnectionUserName: cwdev
    javax.jdo.option.ConnectionPassword:
    javax.jdo.option.DefaultFetchBatchSize: 10
    javax.jdo.option.DefaultFetchThreshold: 30
    javax.jdo.option.IgnoreCache: true
    javax.jdo.option.NontransactionalRead: true
    javax.jdo.option.NontransactionalWrite: false
    javax.jdo.option.Optimistic: true
    javax.jdo.option.RestoreValues: false
    javax.jdo.option.RetainValues: false
    kodo.ConnectionFactoryProperties: MaxActive=20, MaxWait=5000
    kodo.ConnectionRetainMode: persistence-manager
    kodo.DataCache: true(CacheSize=10000)
    kodo.LicenseKey: xxxx-xxxx-xxxx-xxxx-xxxx
    kodo.ManagedRuntime: TransactionManagerName=java:/TransactionManager
    kodo.PersistenceManagerImpl: CloseOnManagedCommit=true
    kodo.QueryCache: true
    kodo.RemoteCommitProvider: sjvm(Topic=topic/KodoCacheTopic)
    kodo.jdbc.DBDictionary: postgres(StoreCharsAsNumbers=false)
    kodo.jdbc.SequenceFactory: PrimaryKeyColumn=PKX,
    SequenceColumn=SEQUENCEX, TableName=JDO_SEQUENCEX
    To make sure this IS the one it is using, not only I echo out the
    "${jdo.properties}" value, but also I tried to comment out the
    licenseKey line, then it threw "license key invalid" exception. so I am
    sure this is the properties file I am using in that ant task.
    Also I tried using the command line on one of our classes, it does not
    run into this problem.
    Any clue what I am missing?
    Thanks a lot,
    Tao

    The 3.0.0 migrator task has a couple of bugs. These will be ironed out
    in 3.0.1, which is due for release any day now. But if you must work
    around the bugs immediately, you'll have to:
    1. Run the task using your old properties file. Actually this will be a
    requirement even in 3.0.1; that's why in the migration chapter of the
    docs we say to migrate your metadata before your properties. The
    migration tool needs to access 2.5 properties to map your classes properly.
    2. Add the the following property to your old properties file:
    kodo.LicenseKey: <your license key>
    3. Name the properties file "kodo.properties" and place it in one of the
    directories listed in the ant task's CLASSPATH. If that doesn't work,
    place it in a directory in your system CLASSPATH. The 3.0.0 task has
    some classpath problems, and also the <config> task element doesn't work.
    Or, you could just set your system CLASSPATH and run the kodo2migrator
    tool from the command line.
    I hope this helps. As I said, 3.0.1 resolves these ant problems, and
    will be released very shortly.

  • When to use template builder versus ant tasks

    Hi,
    I like to know if ant tasks are more appropriate to use during application development for server configuration or template builder? or does it matter at all?
    I am wondering how to manage the server configuration during integration and testing?
    thanks,
    Nasrin

    Audacity (and other audio editors) are better suited for simple audio recoding and editing - they're much leaner and more reliant. I would never trust GB for a task like recording a long speech or concert.
    I also prefer an audio editor to edit recorded speech - you can edit with much more detail, and by default the stuff you delete doesn't leave a gap (I know GB can do that too).
    So basically, I use GB for anything that has to do with music or at least multi-track recording, the rest I do in an audio editor.
    As for using both apps together: I've experimented with using both in parallel in the past – like taking a recording with a low level and normalize it in Audacity while the GB file is open. Nothing for the faint-hearted, since this is not something you're supposed to do - but as long as you don't change the length of a recording, GB was quite tolerant towards that procedure.

  • Passing extra compiler options to flexunit ANT task?

    Hi,
    Is there a way to send any extra compiler options to the <flexunit> ANT task?
    I'm using conditional compilation and compilation (mxmlc) is failing from the <flexunit> task:
    "Error: Access of undefined property DEBUG.
    CONFIG::DEBUG {"
    I tried sneaking "-define+=CONFIG::DEBUG,false" in with one of the other compiler options you can set on the <flexunit> task, but that just doesn't work or results in a validation error like this:
    "One of the directories specified as a 'testSource' element does not exist."
    Let me know if this is possible at all.
    Thanks,
    Wijnand

    Hi Brian,
    legrosb wrote:
    @Wijnand - Sorry for the belated response.
    Not late at all! I think a response within a day on a forum is quite fast!
    legrosb wrote:
    I thought I had captured this on the wiki, but it looks like I haven't, so thank you for the heads up.
    I'll also update the wiki @ http://docs.flexunit.org/index.php?title=Ant_Task to be more detailed regarding compilation so other don't have to dig. 
    Did you just do an update on that Wiki page or did I completely miss the part that explained the <flexunit> parameters?
    legrosb wrote:
    In 4.2, which is super pre-alpha right now, I've added support to accept a series of flex-config.xml files provided by the user.  Not sure if conditional compilation can be tackled with a custom flex-config.xml file, but if so then that'd be the feature that may help you.
    Yes, being able to add (+=) a custom config file will solve this problem for me. You can define properties and values like this:
    <flex-config>
        <compiler>
            <define>
                <name>CONFIG::DEBUG</name>
                <value>false</value>
            </define>
        </compiler>
    <flex-config>
    So in your AS code you can use:
    CONFIG::DEBUG {
        // Do something that only should be done in debug mode.
    I have another question, I ran into this one during testing my SWF with flexunit.
    unittest.xml:82: java.util.concurrent.ExecutionException: command [<testcase classname='com.tuenti.video.unittest.testcase.player::MockPlayerCase' name='loadPlayer' time='0.000'  status='success'/>] not understood
    I had a look at the FlexUnitSocketThread.parseInboundMessages method that throws this error and it looks like that your defined END_OF_SUCCESS doesn't entirely match what the SWF is spitting out. They are of by 1 space: END_OF_SUCCESS is defined as: "status=\"success\" />", whereas my SWF spits out the following: "status='success'/>" (single quotes and no space before the closing of the tag).
    It looks like I'm not the only one with the ExecutionException as it is reported on StackOverflow as well: http://stackoverflow.com/questions/3953677/flexunittasks-error-of-command-not-understood
    Cheers,
    Wijnand

Maybe you are looking for

  • Transfer imovie files to Seagate

    Whenever I attempt to transfer video from an eMac 10.3.9 and imovie 3.0.3, drag and drop, to a Seagate Central 1T, file kind "Unix Executable File" is created which returns the following when I attempt to view the file; "Last login: Sun Dec 29 09:19:

  • Corrupted TextEdit RTF files

    I use TextEdit for taking reading notes, and the files I use keep getting corrupted. So far it has always been one file and one file only (at a time), and always an RTF file somewhere under my Reading Notes directory. I go in and repair the disk, and

  • All of the emails in my icloud inbox have disappeared in the last week and now I am getting 10-20 junk mail per hour. Any thoughts?

    I converted to icloud weeks ago, but then all of my old emails in my inbox disappeared in the last week. I can't find them anywhere. On icloud.com, on any of my devices, no where. They have evaporated. Help??? Also, when that occurred I am now gettin

  • Making the CD from .ISO File

    I downloaded Solaris 10 from the sun site. I extracted the ZIP File and got the .ISO Files. I successfully burned the CDs for CD 2,3 & 4 but while I m burning the CD 1, my sonic CD Write is trhowing erro "CD is not compatible with source" , I again d

  • Need a contact tel number for adobe customer service

    This is the 4th time I am typing. Everytime I ask a question and try to submit it takes you to a new dicussion box. Need help with ADE. How do I contact adobe directly?