ASDocs Error in ANT

Hi All,
I am desperately trying to get ASDocs to work with ANT. The following is the error I am currently getting:
Error: Type was not found or was not a compile-time constant: Location.
public var location:Location;
I am referencing a class from another project (Location). How do I tell ASDocs to look up the definition in that secondary project? Here is my build.xml file:
<?xml version="1.0" encoding="UTF-8" ?>
<project name="leadlaw" basedir="." default="compile">
     <target name="compile" depends="checkout,CCBuild,generateAsDoc" />
     <target name="checkout">
          <exec executable="svn" dir="${basedir}/source">
               <arg line="up" />
          </exec>
     </target>
     <target name="CCBuild">
              <exec failonerror="true" executable="${basedir}/../../../FlexSDK4/bin/amxmlc">
                      <arg line="source/src/FlexUnitCompilerApplication.mxml -output source/src/FlexUnitCompilerApplication.swf" />
                   <arg line="-compiler.locale=en_GB,en_US" />
                   <arg line="-compiler.library-path  source/libs" />
                   <arg line="-compiler.library-path  ${basedir}/../../../FlexSDK4/frameworks/locale/en_US" />
                   <arg line="-compiler.library-path  ${basedir}/../../../FlexSDK4/frameworks/libs" />
                   <arg line="-compiler.library-path  ${basedir}/../../../FlexSDK4/frameworks/libs/air" />
                   <arg line="-compiler.library-path  ${basedir}/../../../FlexSDK4/frameworks/libs/automation" />
                   <arg line="-compiler.library-path  ${basedir}/../../../FlexSDK4/frameworks/libs/player" />
              </exec>
         </target>
     <target name="cleanAsDoc" description="Clean ASDoc directory of old contents.">
          <delete dir="${basedir}/html_docs" failOnError="true" includeEmptyDirs="true" />
          <mkdir dir="${basedir}/html_docs" />
          <echo>Doc directory cleanded.</echo>
     </target>
     <target name="logAsDoc">
          <echo>ASDoc generation log started.</echo>
          <record name="${basedir}/html_docs/asdoc-log.txt" action="start" append="true" />
     </target>
     <target name="generateAsDoc" depends="cleanAsDoc,logAsDoc" description="Generate fresh ASDoc code documentation.">
          <exec executable="${basedir}/../../../FlexSDK4/bin/asdoc" failOnError="true">
               <arg line="-doc-sources ${basedir}/source/src" />
               <arg line="-source-path ${basedir}/source/src" />
               <arg line="-external-library-path ${basedir}/source/libs" />
               <arg line="-external-library-path ${basedir}/../modestmaps/source" />
               <arg line="-window-title 'LeadLaw API Documentation'" />
               <arg line="-main-title 'LeadLaw API Documentation'" />
               <arg line="-footer 'Copyright 2010 RRP Lead Law. All rights reserved.'" />
               <arg line="-output ${basedir}/html_docs" />
          </exec>
          <echo>API documentation created successfully.</echo>
     </target>
</project>
I imagine that adding some sort of external-library-path or similar should fix the issue. So far I haven't been able to get it to work (see the line with modestmaps). Any ideas?
Thanks!

I was able to solve this by using the following:
     <target name="generateAsDoc" depends="logAsDoc" description="Generate fresh ASDoc code documentation.">
          <echo>Creating code documentation...</echo>
          <exec executable="${basedir}/../../../FlexSDK4/bin/asdoc" failOnError="true">
               <arg line="-doc-sources ${basedir}/source/src/com" />
               <arg line="-source-path ${basedir}/../modestmaps/source/src" />
               <arg line="-source-path ${basedir}/../components/source/src" />
               <arg line="-source-path ${basedir}/source/src" />
               <arg line="-external-library-path ${basedir}/source/libs" />
               <arg line="-window-title 'LeadLaw API Documentation'" />
               <arg line="-main-title 'LeadLaw API Documentation'" />
               <arg line="-footer 'Copyright 2010 RRP Lead Law. All rights reserved.'" />
               <arg line="-output ${basedir}/html_docs" />
          </exec>
     </target>
The difference is that I used additional "-source-path" declarations instead of "-external-library-path" for the dependent library code.

Similar Messages

  • [svn] 4001: Adding support for asdoc in flex ant tasks

    Revision: 4001<br />Author:   [email protected]<br />Date:     2008-11-03 13:46:13 -0800 (Mon, 03 Nov 2008)<br /><br />Log Message:<br />-----------<br />Adding support for <asdoc> in flex ant tasks<br /><br />QE Notes: Tests need to be added to the flextasks test suite.<br />Doc Notes: flex tasks documentation should be updated with example for <asdoc> task. <br />Reviewer: Paul<br />Bugs: SDK-9775<br />tests: checkintests<br /><br />Ticket Links:<br />------------<br />    http://bugs.adobe.com/jira/browse/SDK-9775<br /><br />Modified Paths:<br />--------------<br />    flex/sdk/trunk/modules/antTasks/flexTasks-internal.tasks<br />    flex/sdk/trunk/modules/antTasks/flexTasks.tasks<br /><br />Added Paths:<br />-----------<br />    flex/sdk/trunk/modules/antTasks/src/flex/ant/AsDocTask.java

    You should use compiler.library-path to include libraries.
    Try the following
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <project basedir="." default="build" name="Project_name">
    <property environment="env"/>
    <property name="FLEX_HOME" value="C:/Program Files/Flex 3.4"/>
    <property name="APP_ROOT" value="./src"/>
    <property name="Project_name.location" value="../Project_name"/>
    <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
    <target name="build">
    <mxmlc file="${APP_ROOT}/AdminConsole.mxml">
    <source-path path-element="${FLEX_HOME}/frameworks"/>
    <compiler.library-path>
    <include name="${Project_name.location}/src" />
    </compiler.library-path>
    </mxmlc>
    </target>
    </project>
    Although, I don't know what are you planning to include, and whether you should use compiler.library-path for that.

  • EAR generation failed: Error calling Ant to jarSap archive

    Hi,
    I can't create the EARs in NetWeaver Developer Studio anymore. It is not possible for proxies and for Webservices. I got the error message: EAR generation failed: Error calling Ant to jarSap archive.
    What could be the problem?
    Thank you!
    Julia

    Hi,
    when I try to build the application archive before I can deploy a webservice, I got the error message: "EAR genearation failed! Reason: Error calling Ant to jarSap archive". When I try to generate the EAR for a proxy I got no error message at all but the EAR is not generated.
    Thank you!
    Julia

  • [svn:fx-trunk] 9463: Fix ASDoc error.

    Revision: 9463
    Author:   [email protected]
    Date:     2009-08-21 12:27:09 -0700 (Fri, 21 Aug 2009)
    Log Message:
    Fix ASDoc error.
    QE notes: None.
    Doc notes: None.
    Bugs:
    Reviewer: Matt Horn
    Tests run: checkintests
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/DesignLayer.as

  • TS4268 I can't sign into iMessages. My apple ID works absolutely fine for FaceTime App store etc, but keeps telling me "An error occurred ant to try again" when I try to sign in to iMessages. Very frustrating

    I can't sign into iMessages. My apple ID works absolutely fine for FaceTime App store etc, but keeps telling me "An error occurred ant to try again" when I try to sign in to iMessages. Very frustrating. I've double checked all the settings but still can't sign in. Any sugestions?

    Try this - sign out of your Apple ID and reboot the iPad, then try all over again.
    Settings>Store>Apple ID. Tap your ID and sign out.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    After the iPad starts up, go back to the settings for Messages and FaceTime and your Apple ID, and sign into all three again.
    Sign into Settings>Store first

  • Error calling Ant to jarSAP archive

    Hi friends,
    I am trying the J2EE application given in SAP tutorial at,
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/7d/cf0c8abcc34594ba9d3bbd5dd22155/frameset.htm
    everything is going fine till creating enterprise application project,
    but when I right click on it and Build Application Archive, I get the following error message
    <u><i><b>Reason: Error calling Ant to jarSAP archive</b></i></u>
    Can anyone help me out in this...
    Thanks in advance
    Deepak

    Thanks for the reply,
    I tried doing that but it did not work,
    Actually I had 2 versions of NWDS installed on my machine both pointing to the same wrkspace,
    Then I got one of the version uninstalled and things worked for me.
    anyways thanks for the input,
    I have rewarded for the same,
    Deepak

  • ASDoc error: ClassNotFoundException: redirect

    I'd gone a couple weeks without updating my ASDocs, which I
    previously had working (as an ant task) with the Labs version. In
    the meantime I completed the 2.0.1 upgrade and did a lot of work,
    some of which involved code organization, modules, etc. Anyway,
    when I went to update my docs, I get about 25 of these errors:
    [exec]
    file:///C:/Program%20Files/Adobe/Flex%20Builder%202%20Plug-in/Flex%20SDK%202/asdoc/templa tes/class-files.xsl;
    Line 63; Column 40; javax.xml.transform.TransformerException:
    java.lang.ClassNotFoundException: redirect
    [exec]
    file:///C:/Program%20Files/Adobe/Flex%20Builder%202%20Plug-in/Flex%20SDK%202/asdoc/templa tes/class-files.xsl;
    Line 63; Column 40; javax.xml.transform.TransformerException:
    java.lang.ClassNotFoundException: redirect
    [exec]
    file:///C:/Program%20Files/Adobe/Flex%20Builder%202%20Plug-in/Flex%20SDK%202/asdoc/templa tes/class-files.xsl;
    Line 63; Column 40; javax.xml.transform.TransformerException:
    java.lang.ClassNotFoundException: redirect
    Etcetera. As you can see they're all identical and don't give
    me any additional information. I get one more error at the end of
    that mess:
    [exec]
    file:///c:/Program%20Files/Adobe/Flex%20Builder%202%20Plug-in/Flex%20SDK%202/asdoc/templa tes/asdoc-util.xsl;
    Line 1317; Column 112; XSLT Error
    (javax.xml.transform.TransformerException):
    java.lang.NoSuchMethodException: For extension function, could not
    find method
    org.apache.xml.dtm.ref.DTMNodeIterator.nodeSet([ExpressionContext,]
    Syntactically that looks messed up but for it seems likely
    that it's messed up because of all the horror that just befell it.
    Anyway, anybody run in to this sort of thing before?

    JRE version error; for some arcane reason my JAVA_HOME was
    pointing to a 1.4.1 JRE; pointed to the 1.4.2 that came with the
    builder and everybody's much happier.

  • Error creating Ant buildfile from project in JDeveloper 10.1.3 EA1

    I got the following error when I try to create a buildfile from project in JDeveloper 10.1.3 EA1:
    java.lang.NullPointerException
         at oracle.ide.net.URLFactory.newURL(URLFactory.java:85)
         at oracle.ide.net.URLFactory.newUniqueURL(URLFactory.java:164)
         at oracle.jdeveloper.builder.SourceModel.generateDefaultFileName(SourceModel.java:135)
         at oracle.jdevimpl.ant.wizard.GenerateBuildfileModel.initializeFromContext(GenerateBuildfileModel.java:83)
         at oracle.jdeveloper.builder.file.FileBuilderModel.<init>(FileBuilderModel.java:24)
         at oracle.jdevimpl.ant.wizard.NewBuildfileModel.<init>(NewBuildfileModel.java:38)
         at oracle.jdevimpl.ant.wizard.GenerateBuildfileModel.<init>(GenerateBuildfileModel.java:38)
         at oracle.jdevimpl.ant.wizard.GenerateBuildfileWizard._buildModel(GenerateBuildfileWizard.java:54)
         at oracle.jdeveloper.builder.AbstractBuilder.buildState(AbstractBuilder.java:30)
         at oracle.jdeveloper.wizard.common.BaliWizard.invoke(BaliWizard.java:121)
         at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:310)
         at oracle.ide.wizard.WizardManager$2.run(WizardManager.java:358)
         at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1082)
         at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:366)
         at oracle.ide.util.IdeUtil$1$1.run(IdeUtil.java:1062)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    This error happens in any project independently of its contents.

    I have just had this same exception. The first project within the workspace worked fine, the second workspace had the exception. I've used this wizard several times before with success. I'm using 10.1.3.0.4 (SU5)
    The "Model" project which worked has the following technology scopes:
    Ant
    Database
    EJB
    Java
    TopLink
    UML
    The "User Interface" project which did not work has the following technology scopes:
    Java
    JSF
    JSP and Servlets
    1. Any ideas on what I can do to work around this problem?
    2. How can I help you debug this issue?
    thanks,
    chas

  • Error running Ant to Test a BPEL process in developer-prompt

    Hi,
    I am trying to start an Ant-script to start a testsuite for a BPEL process. It fails ...
    Im running the defult Ant script (build.xml) from the Developer-prompt. It works fine from within JDeveloper Studio.
    Anyone who can help me??
    Thx
    Norvald
    Error messages:
    [bpeltest] <Line 39, Column 173>: XML-22016: (Error) Extension function namespace should start with 'http://www.oracle.com/XSL/Transform/java/'.
    and
    C:\product\jdevstudio\jdev\mywork\HelloWorld\HelloWorldProcess\build.xml:197: Could not find a valid processor version implementation from oracle.xml.jaxp.JXSAXTransformerFactory
    The complete output from the Ant build (including errors):
    C:\product\jdevstudio\jdev\mywork\HelloWorld\HelloWorldProcess>ant test
    Buildfile: build.xml
    Trying to override old definition of task customize
    prepareTests:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Preparing BPEL tests for deployment
    [echo] --------------------------------------------------------------
    [echo]
    [delete] Deleting: C:\product\jdevstudio\jdev\mywork\HelloWorld\HelloWorldPro
    cess\output\bpeltest.zip
    [zip] Building zip: C:\product\jdevstudio\jdev\mywork\HelloWorld\HelloWorl
    dProcess\output\bpeltest.zip
    deployTestSuites:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Deploying bpel tests HelloWorldProcess on localhost, port 8888
    [echo] --------------------------------------------------------------
    [echo]
    [deployTestSuites] Deploying C:\product\jdevstudio\jdev\mywork\HelloWorld\HelloW
    orldProcess\output\bpeltest.zip...
    [deployTestSuites] Accesing URL /integration/services/deploy/integration/service
    s/deploy/deployTests.jsp
    [deployTestSuites] status [200] received from server
    [deployTestSuites] wrapped response
    [deployTestSuites] End of the deployment
    [deployTestSuites] bpeltest.zip deployed successfully.
    bpelTest:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Executing process HelloWorldProcess(v.1.0): minCoverage=100%, time
    out=90 sec, numWorkers=1
    [echo] --------------------------------------------------------------
    [echo]
    [delete] Deleting directory C:\product\jdevstudio\jdev\mywork\HelloWorld\Hell
    oWorldProcess\test-results\xml\HelloWorldProcess
    [bpeltest] connecting to /integration/services/deploy/xmlRunTests.jsp
    [bpeltest] <Line 39, Column 173>: XML-22016: (Error) Extension function namespa
    ce should start with 'http://www.oracle.com/XSL/Transform/java/'.
    [echo]
    [echo] --------------------------------------------------------------
    [echo] Executed 2 test(s) for HelloWorldProcess (v.1.0) with 0 failure(s)
    [echo] --------------------------------------------------------------
    [echo]
    report:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] Creating BPELTest JUnitReport at C:\product\jdevstudio\jdev\mywork\H
    elloWorld\HelloWorldProcess/test-results\html\index.html
    [echo] --------------------------------------------------------------
    [echo]
    BUILD FAILED
    C:\product\jdevstudio\jdev\mywork\HelloWorld\HelloWorldProcess\build.xml:197: Co
    uld not find a valid processor version implementation from oracle.xml.jaxp.JXSAX
    TransformerFactory
    Total time: 14 seconds

    sorry for the late reply. The problem is that Oracle XDK is not compatible with the junitreport task. I believe there are some post install steps (due to licensing issues) that you need to perform before running the ant task. This is noted in the release notes (copied below):
    1. base site for xalan is http://xml.apache.org/xalan-j/ site. to download, go to: http://www.apache.org/dyn/closer.cgi/xml/xalan-j. then from the recommended mirror site download xalan-j_2_7_0-bin.zip.
    2. unzip this file.
    3. copy unzip_dir\xalan-j_2_7_0\serializer.jar to Oracle_Home\bpel\lib\serializer_2.7.0.jar. copy unzip_dir\xalan-j_2_7_0\xalan.jar to Oracle_Home\bpel\lib\xalan_2.7.0.jar. Note the filename change
    4. no change to obsetenv is needed.

  • "lib_external" does not exist - Error in ant build

    Can anybody, tell me please what is the reason I am getting the error lib_external does not exist, when trying to build a simple struts web-application to create a war file.
    The full error message is given below:
    ===========================================================
    C:\Basic_Struts2_Ant>ant
    Buildfile: C:\Basic_Struts2_Ant\build.xml
    clean:
    [delete] Deleting directory C:\Basic_Struts2_Ant\dist
    [delete] Deleting directory C:\Basic_Struts2_Ant\build
    init:
    [mkdir] Created dir: C:\Basic_Struts2_Ant\build
    compile:
    [mkdir] Created dir: C:\Basic_Struts2_Ant\build\WEB-INF\classes
    [javac] C:\Basic_Struts2_Ant\build.xml:69: warning: 'includeantruntime' was not set, defaulting
    to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 2 source files to C:\Basic_Struts2_Ant\build\WEB-INF\classes
    BUILD FAILED
    C:\Basic_Struts2_Ant\build.xml:69: C:\Basic_Struts2_Ant\lib_external does not exist.
    Total time: 2 seconds
    C:\Basic_Struts2_Ant>
    ===============================================================
    can someone give me the clue faced the same problem earlier.
    Thanks.
    Sujoy

    There are two errors in the log
    For the first error
    Open the build.xml file and add a new value inside the javac tag as <javac........includeantruntime="false"
    For the second error
    Create a folder name lib_external inside the Basic_Struts2_Ant folder

  • Error with ant build and JUnit task in IntelliJ

    Hi,
    I seem to be having a very annoying error in IntelliJ. Here are the stats:
    - IntelliJ 4.5.1, Build 2239
    - Using own version of ant (1.5.1)
    - removed junit37.jar from my ant1.5.1/lib dir, and instead added junit version 3.8.1 of junit.jar to that dir
    - Specified that same junit.jar in my project classpath (this is the only item in the classpath for my test project)
    - MyTest.java is the only class in my project, and it is specified as a JUnitTest in run/debug configurations and includes the classpath and jdk of my project module
    When I right-click on my test class, and go to "Run" then my simple test passes. I see the results in the run window.
    Here is where the issue lies (and why this is confusing me). When I try to run the same test from my build.xml file in this project, specified with the classpath as the same from my project, and with the following junit task, I get the below error (3 times in a row for whatever reason). If any of you know of a configuration issue that I may be missing, please let me know. It is very frustrating! Thanks a lot, in advance.
    <target name="run.test">
            <javac classpath="class.path" srcdir="src" destdir="src" />
            <junit haltonerror="true" printsummary="yes" haltonfailure="true" showoutput="true">
                <classpath refid="class.path" />
                <test name="MyTest" />
            </junit>
        </target>
    Test MyTest failed
         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:568)
         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:527)
         at org.apache.tools.ant.Task.perform(Task.java:319)
         at org.apache.tools.ant.Target.execute(Target.java:309)
         at org.apache.tools.ant.Target.performTasks(Target.java:336)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
         at org.apache.tools.ant.Main.runBuild(Main.java:610)
         at org.apache.tools.ant.Main.start(Main.java:196)
         at org.apache.tools.ant.Main.main(Main.java:235)
         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:324)
         at com.intellij.rt.ant.execution.AntMain2.main(AntMain2.java:13)

    I figured this out - I needed a formatter tag to see the output of the test.

  • Error in Ant APT task when using exported WLP 10.3 Ant build scripts

    Hi -
    I'm trying to run the exported ANT build scripts for a default portal web app from the command line (either a windows shell or a cygwin shell) and I get the following error on both occasions :
    c:\BEA\Projects\PortalTutorials\tutorial-portal-web\build.xml:122: Apt task requires Java 1.5+
    More details :
    $ ant -v -Dworkspace=C:\\BEA\\Workspaces\\PortalTutorials\\workspace.xml
    Apache Ant version 1.7.1 compiled on June 27 2008
    Buildfile: build.xml
    Detected Java version: 1.6 in: c:\BEA_10.3\jdk160_05\jre
    Detected OS: Windows XP
    parsing buildfile c:\BEA\Projects\PortalTutorials\tutorial-portal-web\build.xml with URI = file:/c:/BEA/Projects/PortalTutorials/tutorial-portal-web/build.xml
    Project base dir set to: c:\BEA\Projects\PortalTutorials\tutorial-portal-web
    [antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found.
    Build sequence for target(s) `build' is [init.env, check.params, check.versions, init.typedefs, init, build]
    Complete build sequence is [init.env, check.params, check.versions, init.typedefs, init, build, stage, archive, clean, clean.all, assemble, generated.root.init, assembly, stage.to.ear, ]
    init.env:
    [property] Loading Environment env.
    check.params:
    Property "env.WORKSHOP_WORKSPACE" has not been set
    check.versions:
    init.typedefs:
    [echo] Using Workshop Libraries located in the "C:\BEA\Workspaces\PortalTutorials\workshop-lib" directory.
    parsing buildfile jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml with URI = jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml
    parsing buildfile jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/ant-contrib.jar!/net/sf/antcontrib/antlib.xml with URI = jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/ant-contrib.jar!/net/sf/antcontrib/antlib.xml
    Trying to override old definition of task apt
    [macrodef] creating macro structselector
    [presetdef] defining preset resolve
    [macrodef] creating macro for-each-java-src-path
    [macrodef] creating macro for-each-resource-path
    [macrodef] creating macro for-each-referenced-component
    [macrodef] creating macro for-each-referenced-project
    [macrodef] creating macro for-each-project-in-build-order
    parsing buildfile jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/workshop-wls-antlib.jar!/com/bea/workshop/wls/antlib/antlib.xml with URI = jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/workshop-wls-antlib.jar!/com/bea/workshop/wls/antlib/antlib.xml
    Trying to override old definition of task jspc
    init:
    Property "patch.home" has not been set
    build:
    [mkdir] Skipping c:\BEA\Projects\PortalTutorials\tutorial-portal-web\.apt_src because it already exists.
    [available] Found: src\main\java
    [mkdir] Skipping c:\BEA\Projects\PortalTutorials\tutorial-portal-web\build\classes because it already exists.
    [apt] [web.content.root]|[c:\BEA\Projects\PortalTutorials\tutorial-portal-web/src/main/webapp]
    [apt] [web.source.roots]|[c:\BEA\Projects\PortalTutorials\tutorial-portal-web/src/main/java]
    BUILD FAILED
    c:\BEA\Projects\PortalTutorials\tutorial-portal-web\build.xml:106: The following error occurred while executing this line:
    jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:54: The following error occurred while executing this line:
    c:\BEA\Projects\PortalTutorials\tutorial-portal-web\build.xml:122: Apt task requires Java 1.5+
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:397)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    I tried using a lower JDK 1.5.x - but that failed as well (complaining that 1.6 was needed).
    Any help will be appreciated.
    Rgds/Deepak

    Hi,
    Have you find a solution for this problem?
    I have exactly the same one. I must build my web-services with some dependence compiled on java 1.6 so I need to use the APT task with a java 1.6 but the problem "Apt task requires Java 1.5+" appear.
    Thanks in advance for your answer.

  • Error during ant build

    Hi guys
    I am getting the following error when i try to build my project using ant 1.6
    {color:#ff0000}
    error in opening zip file
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error
    {color:#000000}jdk version is 1.5. this working fine when i using 1.4 javac compiler.
    Please help me in resolving this issue.
    Thanx in advance...
    GolD
    {color}{color}

    Some input files use unchecked or unsafe operations.
    Recompile with -Xlint:unchecked for details.
    You are using something that is now depricated in 1.6
    where as it was not in 1.4/1.5
    change
    javac someFile.javato
    javac -Xlint someFile.javait should tell you what is wrong then change it to an undepricated one
    Edited by: gtRpr on 2008/07/16 10:00

  • ASDoc Error: Can't find Embedded Fonts?

    Hello,
    I am working in Flash CS5 Professional.
    On my stage, I have a dynamic TextField (my_txt) that uses a basic font, we'll say Arial. However, I want to format some of the text within the field with a custom font.
    I've embedded the font and exported to ActionScript as per Adobe's documentation, so now there is a Font item in my library named "MyCustomFont".
    The properties of the Font are -
    Class: MyCustomFont
    Base Class: flash.text.Font
    So, I've written a custom class file and I want to format the text, so the AS code within the class looks something like this:
    var my_font:Font = new MyCustomFont();
    var my_fmt:TextFormat = new TextFormat();
    my_fmt.font = my_font.fontName;
    my_txt.setTextFormat(my_fmt, 5, 15);
    This is pretty much like the examples I've seen in Adobe Docs. And, it works swimmingly when I test the movie; however, when I try to document the class using the ASDoc command line tool, I get the error:
    /Path/To/Project/And/The/Classes/SomeClass.as(221): col: 27 Error: Call to a possibly undefined method MyCustomFont.
                var my_font:Font = new MyCustomFont();
                                       ^
    I THINK I understand why ASDoc isn't finding the "method" MyCustomFont... the "method" is actually a Class contained in the Library within the .fla.
    So, is there a special argument I need to write in the ASDoc command line so that it will recognize embedded fonts?
    Or, am I supposed to use an "import" statement in SomeClass to import the embedded fonts somehow?
    Thanks!

    Ahhh...found the answer, do the same thing as I would do for any project that uses the built-in AS3 components (such as FLVPlayback):
    Put the Font items into a new .fla library and export a SWC.
    Then use the "-library-path /Path/to/SWC" argument in the ASDoc command line tool.

  • Fbs 10g error with ant make

    I got error when i do ant make
    1. Is this normal to have exception like below.
    "[java] Exception during compile, trying again with shorter command line"
    2. It says Pakage "oracle.j2ee.ws.common...." does not exist. Where to find these pakages or ... how to fix that.
    Thanks in advance.
    My log file is below.
    web-classes:
    [javac] Compiling 48 source files to D:\Project\ibfbs\build\web\WEB-INF\classes
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteEJB_Impl.java:9: package oracle.j2ee.ws.common.encoding does not exist
    [javac] import oracle.j2ee.ws.common.encoding.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteEJB_Impl.java:10: package oracle.j2ee.ws.client does not exist
    [javac] import oracle.j2ee.ws.client.ServiceExceptionImpl;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteEJB_Impl.java:11: package oracle.j2ee.ws.common.util.exception does not exist
    [javac] import oracle.j2ee.ws.common.util.exception.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteEJB_Impl.java:12: package oracle.j2ee.ws.common.soap does not exist
    [javac] import oracle.j2ee.ws.common.soap.SOAPVersion;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteEJB_Impl.java:13: package oracle.j2ee.ws.client does not exist
    [javac] import oracle.j2ee.ws.client.HandlerChainImpl;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteEJB_Impl.java:20: package oracle.j2ee.ws.client does not exist
    [javac] public class StockQuoteEJB_Impl extends oracle.j2ee.ws.client.BasicService implements StockQuoteEJB {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteEJB_SerializerRegistry.java:9: package oracle.j2ee.ws.client does not exist
    [javac] import oracle.j2ee.ws.client.BasicService;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteEJB_SerializerRegistry.java:10: package oracle.j2ee.ws.common.encoding does not exist
    [javac] import oracle.j2ee.ws.common.encoding.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteEJB_SerializerRegistry.java:11: package oracle.j2ee.ws.common.encoding.simpletype does not exist
    [javac] import oracle.j2ee.ws.common.encoding.simpletype.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteEJB_SerializerRegistry.java:12: package oracle.j2ee.ws.common.encoding.soap does not exist
    [javac] import oracle.j2ee.ws.common.encoding.soap.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteEJB_SerializerRegistry.java:13: package oracle.j2ee.ws.common.encoding.literal does not exist
    [javac] import oracle.j2ee.ws.common.encoding.literal.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteEJB_SerializerRegistry.java:14: package oracle.j2ee.ws.common.soap does not exist
    [javac] import oracle.j2ee.ws.common.soap.SOAPVersion;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteEJB_SerializerRegistry.java:15: package oracle.j2ee.ws.common.wsdl.document.schema does not exist
    [javac] import oracle.j2ee.ws.common.wsdl.document.schema.SchemaConstants;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteEJB_SerializerRegistry.java:19: package oracle.j2ee.ws.common.encoding.literal does not exist
    [javac] import oracle.j2ee.ws.common.encoding.literal.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteEJB_SerializerRegistry.java:21: cannot resolve symbol
    [javac] symbol : class SerializerRegistryBase
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteEJB_SerializerRegistry
    [javac] public class StockQuoteEJB_SerializerRegistry extends SerializerRegistryBase implements SerializerConstants {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteEJB_SerializerRegistry.java:21: cannot resolve symbol
    [javac] symbol : class SerializerConstants
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteEJB_SerializerRegistry
    [javac] public class StockQuoteEJB_SerializerRegistry extends SerializerRegistryBase implements SerializerConstants {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:10: package oracle.j2ee.ws.common.streaming does not exist
    [javac] import oracle.j2ee.ws.common.streaming.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:11: package oracle.j2ee.ws.common.encoding does not exist
    [javac] import oracle.j2ee.ws.common.encoding.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:12: package oracle.j2ee.ws.common.encoding.soap does not exist
    [javac] import oracle.j2ee.ws.common.encoding.soap.SOAPConstants;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:13: package oracle.j2ee.ws.common.encoding.soap does not exist
    [javac] import oracle.j2ee.ws.common.encoding.soap.SOAP12Constants;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:14: package oracle.j2ee.ws.common.encoding.literal does not exist
    [javac] import oracle.j2ee.ws.common.encoding.literal.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:15: package oracle.j2ee.ws.common.soap.streaming does not exist
    [javac] import oracle.j2ee.ws.common.soap.streaming.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:16: package oracle.j2ee.ws.common.soap.message does not exist
    [javac] import oracle.j2ee.ws.common.soap.message.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:17: package oracle.j2ee.ws.common.soap does not exist
    [javac] import oracle.j2ee.ws.common.soap.SOAPVersion;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:18: package oracle.j2ee.ws.common.soap does not exist
    [javac] import oracle.j2ee.ws.common.soap.SOAPEncodingConstants;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:19: package oracle.j2ee.ws.common.wsdl.document.schema does not exist
    [javac] import oracle.j2ee.ws.common.wsdl.document.schema.SchemaConstants;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:24: package oracle.j2ee.ws.client does not exist
    [javac] import oracle.j2ee.ws.client.SenderException;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:25: package oracle.j2ee.ws.client does not exist
    [javac] import oracle.j2ee.ws.client.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:26: package oracle.j2ee.ws.client.http does not exist
    [javac] import oracle.j2ee.ws.client.http.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:32: package oracle.j2ee.ws.client does not exist
    [javac] extends oracle.j2ee.ws.client.StubBase
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:100: cannot resolve symbol
    [javac] symbol : class XMLReader
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_Stub
    [javac] protected void _readFirstBodyElement(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState  state) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:100: cannot resolve symbol
    [javac] symbol : class SOAPDeserializationContext
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_Stub
    [javac] protected void _readFirstBodyElement(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState  state) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:100: cannot resolve symbol
    [javac] symbol : class StreamingSenderState
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_Stub
    [javac] protected void _readFirstBodyElement(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState  state) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:116: cannot resolve symbol
    [javac] symbol : class XMLReader
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_Stub
    [javac] private void deserializegetStockQuote(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:116: cannot resolve symbol
    [javac] symbol : class SOAPDeserializationContext
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_Stub
    [javac] private void deserializegetStockQuote(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:116: cannot resolve symbol
    [javac] symbol : class StreamingSenderState
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_Stub
    [javac] private void deserializegetStockQuote(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:155: cannot resolve symbol
    [javac] symbol : class InternalTypeMappingRegistry
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_Stub
    [javac] public void _initialize(InternalTypeMappingRegistry registry) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:165: cannot resolve symbol
    [javac] symbol : class CombinedSerializer
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_Stub
    [javac] private CombinedSerializer myStockQuoteService_getStockQuote_RequestStruct_LiteralSerializer;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_Stub.java:168: cannot resolve symbol
    [javac] symbol : class CombinedSerializer
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_Stub
    [javac] private CombinedSerializer myStockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer.java:9: package oracle.j2ee.ws.common.encoding does not exist
    [javac] import oracle.j2ee.ws.common.encoding.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer.java:10: package oracle.j2ee.ws.common.encoding.literal does not exist
    [javac] import oracle.j2ee.ws.common.encoding.literal.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer.java:11: package oracle.j2ee.ws.common.encoding.literal does not exist
    [javac] import oracle.j2ee.ws.common.encoding.literal.DetailFragmentDeserializer;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer.java:12: package oracle.j2ee.ws.common.encoding.simpletype does not exist
    [javac] import oracle.j2ee.ws.common.encoding.simpletype.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer.java:13: package oracle.j2ee.ws.common.encoding.soap does not exist
    [javac] import oracle.j2ee.ws.common.encoding.soap.SOAPConstants;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer.java:14: package oracle.j2ee.ws.common.encoding.soap does not exist
    [javac] import oracle.j2ee.ws.common.encoding.soap.SOAP12Constants;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer.java:15: package oracle.j2ee.ws.common.streaming does not exist
    [javac] import oracle.j2ee.ws.common.streaming.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer.java:16: package oracle.j2ee.ws.common.wsdl.document.schema does not exist
    [javac] import oracle.j2ee.ws.common.wsdl.document.schema.SchemaConstants;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer.java:22: cannot resolve symbol
    [javac] symbol : class LiteralObjectSerializerBase
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer
    [javac] public class StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer.java:22: cannot resolve symbol
    [javac] symbol : class Initializable
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer
    [javac] public class StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer.java:25: cannot resolve symbol
    [javac] symbol : class CombinedSerializer
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer
    [javac] private CombinedSerializer myStringArray_LiteralSerializer;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer.java:35: cannot resolve symbol
    [javac] symbol : class InternalTypeMappingRegistry
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer
    [javac] public void initialize(InternalTypeMappingRegistry registry) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer.java:39: cannot resolve symbol
    [javac] symbol : class XMLReader
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer
    [javac] public Object doDeserialize(XMLReader reader,
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer.java:40: cannot resolve symbol
    [javac] symbol : class SOAPDeserializationContext
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer
    [javac] SOAPDeserializationContext context) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer.java:68: cannot resolve symbol
    [javac] symbol : class XMLWriter
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer
    [javac] public void doSerializeAttributes(Object obj, XMLWriter writer, SOAPSerializationContext context) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer.java:68: cannot resolve symbol
    [javac] symbol : class SOAPSerializationContext
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer
    [javac] public void doSerializeAttributes(Object obj, XMLWriter writer, SOAPSerializationContext context) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer.java:72: cannot resolve symbol
    [javac] symbol : class XMLWriter
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer
    [javac] public void doSerialize(Object obj, XMLWriter writer, SOAPSerializationContext context) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer.java:72: cannot resolve symbol
    [javac] symbol : class SOAPSerializationContext
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_getStockQuote_RequestStruct_LiteralSerializer
    [javac] public void doSerialize(Object obj, XMLWriter writer, SOAPSerializationContext context) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer.java:9: package oracle.j2ee.ws.common.encoding does not exist
    [javac] import oracle.j2ee.ws.common.encoding.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer.java:10: package oracle.j2ee.ws.common.encoding.literal does not exist
    [javac] import oracle.j2ee.ws.common.encoding.literal.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer.java:11: package oracle.j2ee.ws.common.encoding.literal does not exist
    [javac] import oracle.j2ee.ws.common.encoding.literal.DetailFragmentDeserializer;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer.java:12: package oracle.j2ee.ws.common.encoding.simpletype does not exist
    [javac] import oracle.j2ee.ws.common.encoding.simpletype.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer.java:13: package oracle.j2ee.ws.common.encoding.soap does not exist
    [javac] import oracle.j2ee.ws.common.encoding.soap.SOAPConstants;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer.java:14: package oracle.j2ee.ws.common.encoding.soap does not exist
    [javac] import oracle.j2ee.ws.common.encoding.soap.SOAP12Constants;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer.java:15: package oracle.j2ee.ws.common.streaming does not exist
    [javac] import oracle.j2ee.ws.common.streaming.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer.java:16: package oracle.j2ee.ws.common.wsdl.document.schema does not exist
    [javac] import oracle.j2ee.ws.common.wsdl.document.schema.SchemaConstants;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer.java:22: cannot resolve symbol
    [javac] symbol : class LiteralObjectSerializerBase
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer
    [javac] public class StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer.java:22: cannot resolve symbol
    [javac] symbol : class Initializable
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer
    [javac] public class StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer.java:25: cannot resolve symbol
    [javac] symbol : class CombinedSerializer
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer
    [javac] private CombinedSerializer myFloatArray_LiteralSerializer;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer.java:35: cannot resolve symbol
    [javac] symbol : class InternalTypeMappingRegistry
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer
    [javac] public void initialize(InternalTypeMappingRegistry registry) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer.java:39: cannot resolve symbol
    [javac] symbol : class XMLReader
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer
    [javac] public Object doDeserialize(XMLReader reader,
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer.java:40: cannot resolve symbol
    [javac] symbol : class SOAPDeserializationContext
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer
    [javac] SOAPDeserializationContext context) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer.java:68: cannot resolve symbol
    [javac] symbol : class XMLWriter
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer
    [javac] public void doSerializeAttributes(Object obj, XMLWriter writer, SOAPSerializationContext context) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer.java:68: cannot resolve symbol
    [javac] symbol : class SOAPSerializationContext
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer
    [javac] public void doSerializeAttributes(Object obj, XMLWriter writer, SOAPSerializationContext context) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer.java:72: cannot resolve symbol
    [javac] symbol : class XMLWriter
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer
    [javac] public void doSerialize(Object obj, XMLWriter writer, SOAPSerializationContext context) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\wsclient\StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer.java:72: cannot resolve symbol
    [javac] symbol : class SOAPSerializationContext
    [javac] location: class oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService_getStockQuote_ResponseStruct_LiteralSerializer
    [javac] public void doSerialize(Object obj, XMLWriter writer, SOAPSerializationContext context) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\FloatArray_LiteralSerializer.java:9: package oracle.j2ee.ws.common.encoding does not exist
    [javac] import oracle.j2ee.ws.common.encoding.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\FloatArray_LiteralSerializer.java:10: package oracle.j2ee.ws.common.encoding.literal does not exist
    [javac] import oracle.j2ee.ws.common.encoding.literal.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\FloatArray_LiteralSerializer.java:11: package oracle.j2ee.ws.common.encoding.literal does not exist
    [javac] import oracle.j2ee.ws.common.encoding.literal.DetailFragmentDeserializer;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\FloatArray_LiteralSerializer.java:12: package oracle.j2ee.ws.common.encoding.simpletype does not exist
    [javac] import oracle.j2ee.ws.common.encoding.simpletype.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\FloatArray_LiteralSerializer.java:13: package oracle.j2ee.ws.common.encoding.soap does not exist
    [javac] import oracle.j2ee.ws.common.encoding.soap.SOAPConstants;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\FloatArray_LiteralSerializer.java:14: package oracle.j2ee.ws.common.encoding.soap does not exist
    [javac] import oracle.j2ee.ws.common.encoding.soap.SOAP12Constants;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\FloatArray_LiteralSerializer.java:15: package oracle.j2ee.ws.common.streaming does not exist
    [javac] import oracle.j2ee.ws.common.streaming.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\FloatArray_LiteralSerializer.java:16: package oracle.j2ee.ws.common.wsdl.document.schema does not exist
    [javac] import oracle.j2ee.ws.common.wsdl.document.schema.SchemaConstants;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\FloatArray_LiteralSerializer.java:22: cannot resolve symbol
    [javac] symbol : class LiteralObjectSerializerBase
    [javac] location: class types.FloatArray_LiteralSerializer
    [javac] public class FloatArray_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\FloatArray_LiteralSerializer.java:22: cannot resolve symbol
    [javac] symbol : class Initializable
    [javac] location: class types.FloatArray_LiteralSerializer
    [javac] public class FloatArray_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\FloatArray_LiteralSerializer.java:25: cannot resolve symbol
    [javac] symbol : class CombinedSerializer
    [javac] location: class types.FloatArray_LiteralSerializer
    [javac] private CombinedSerializer myns2__float__float_Float_Serializer;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\FloatArray_LiteralSerializer.java:35: cannot resolve symbol
    [javac] symbol : class InternalTypeMappingRegistry
    [javac] location: class types.FloatArray_LiteralSerializer
    [javac] public void initialize(InternalTypeMappingRegistry registry) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\FloatArray_LiteralSerializer.java:39: cannot resolve symbol
    [javac] symbol : class XMLReader
    [javac] location: class types.FloatArray_LiteralSerializer
    [javac] public Object doDeserialize(XMLReader reader,
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\FloatArray_LiteralSerializer.java:40: cannot resolve symbol
    [javac] symbol : class SOAPDeserializationContext
    [javac] location: class types.FloatArray_LiteralSerializer
    [javac] SOAPDeserializationContext context) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\FloatArray_LiteralSerializer.java:82: cannot resolve symbol
    [javac] symbol : class XMLWriter
    [javac] location: class types.FloatArray_LiteralSerializer
    [javac] public void doSerializeAttributes(Object obj, XMLWriter writer, SOAPSerializationContext context) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\FloatArray_LiteralSerializer.java:82: cannot resolve symbol
    [javac] symbol : class SOAPSerializationContext
    [javac] location: class types.FloatArray_LiteralSerializer
    [javac] public void doSerializeAttributes(Object obj, XMLWriter writer, SOAPSerializationContext context) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\FloatArray_LiteralSerializer.java:86: cannot resolve symbol
    [javac] symbol : class XMLWriter
    [javac] location: class types.FloatArray_LiteralSerializer
    [javac] public void doSerialize(Object obj, XMLWriter writer, SOAPSerializationContext context) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\FloatArray_LiteralSerializer.java:86: cannot resolve symbol
    [javac] symbol : class SOAPSerializationContext
    [javac] location: class types.FloatArray_LiteralSerializer
    [javac] public void doSerialize(Object obj, XMLWriter writer, SOAPSerializationContext context) throws Exception {
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\StringArray_LiteralSerializer.java:9: package oracle.j2ee.ws.common.encoding does not exist
    [javac] import oracle.j2ee.ws.common.encoding.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\StringArray_LiteralSerializer.java:10: package oracle.j2ee.ws.common.encoding.literal does not exist
    [javac] import oracle.j2ee.ws.common.encoding.literal.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\StringArray_LiteralSerializer.java:11: package oracle.j2ee.ws.common.encoding.literal does not exist
    [javac] import oracle.j2ee.ws.common.encoding.literal.DetailFragmentDeserializer;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\StringArray_LiteralSerializer.java:12: package oracle.j2ee.ws.common.encoding.simpletype does not exist
    [javac] import oracle.j2ee.ws.common.encoding.simpletype.*;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\StringArray_LiteralSerializer.java:13: package oracle.j2ee.ws.common.encoding.soap does not exist
    [javac] import oracle.j2ee.ws.common.encoding.soap.SOAPConstants;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\StringArray_LiteralSerializer.java:14: package oracle.j2ee.ws.common.encoding.soap does not exist
    [javac] import oracle.j2ee.ws.common.encoding.soap.SOAP12Constants;
    [javac] ^
    [javac] D:\Project\ibfbs\web\src\types\StringArray_LiteralSerializer.java:15: package oracle.j2ee.ws.common.streaming does not exist
    [javac] import oracle.j2ee.ws.common.streaming.*;
    [javac] ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 100 errors
    BUILD FAILED
    D:\Project\ibfbs\build.xml:242: Compile failed; see the compiler error output for details.
    Total time: 10 seconds

    I've got the same error and I solved it by adding following line in build.xml:
    <!--Set the classpath-->
    <path id="classpath">
    <pathelement location="${oc4j.home}/webservices/lib/wsclient.jar"/>
    </path>
    BasicService class is within wsclient.jar.
    But I've got another error after doing "ant make":
    web-classes:
    [javac] Compiling 35 source files to D:\work\javadev\ora-samples\ibfbs\build\web\WEB-INF\classes
    [javac] D:\work\javadev\ora-samples\ibfbs\web\src\oracle\otnsamples\ibfbs\admin\helper\JAXRPCStockQuoteServiceClient.java:80: getStockQuote(types.StringArray) in oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteService cannot be applied to (java.lang.String[])
    [javac] return quoteService.getStockQuote(symbolArr);
    [javac] ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 1 error
    Any ideas?

Maybe you are looking for