Asant build problem

Hi!
I have problem with asant build command. I am trying to do the J2EE ejb/converter example on Windows 2000 command line and I am getting the following error:
Buildfile: build.xml
init:
prepare:
[mkdir] Created dir: G:\Sun\j2eetutorial14\examples\ejb\converter\build
build:
[javac] Compiling 4 source files to G:\Sun\j2eetutorial14\examples\ejb\conve
rter\build
BUILD FAILED
file:G:/Sun/j2eetutorial14/examples/ejb/common/targets.xml:18: G:\lib not found.
I don't know why and what is the compiler look for on G:\lib location
Any help?

Please see this FAQ:
http://java.sun.com/j2ee/1.4/docs/tutorial/information/faq.html#compile

Similar Messages

  • Problem with "asant build" in J2EE hello1 example

    Hi all,
    I'm trying to follow the J2EE tutorials the examples contained within,
    but I seem to have a hurdle with the very first example!
    Basically, when I type "asant build", nothing happens - nothing is echoed back, and it looks like the build process has hung.
    As far as I can see, I've defined my PATH etc. OK - as follows:
    E:\Sun\j2eesdk1.4_beta2\bin;E:\Sun\j2eesdk1.4_beta2\share\bin;F:\bea\jdk141_03\bin
    I've defined the following in build.properties as follows:
    j2ee.home=E:\Sun\j2eesdk1.4_beta2\
    sunone.home=${j2ee.home}
    admin.password= (removed for obvious reasons!)
    admin.host=localhost
    admin.user=admin
    Does anyone have any ideas?
    Best wishes
    Paul

    Honestly I must say everything is a bit suspicious. I think there is a bug more walking around.
    j2ee.home=E:\Sun\j2eesdk1.4_beta2
    should work but I saw with this asant tool that the \ is not recognized as a directory separator.
    j2ee.home=E:\\Sun\\j2eesdk1.4_beta2
    works because asant recognizes \\ as a directory separator. For my taste this a wrong representation, because it is the internal representation in the program.
    The entry should not use the internal program representation, so it is a bug.

  • Asant build on Windows

    Appserver is installed into: c:\Program files\Sun\Appserver
    When trying to perform
    asant build
    for hello1 sample an error occured
    c:\program%20files\Sun\j2eetutorial14\examles\common\targets.xml couldn't be found
    and
    c:\program%20files\Sun\j2eetutorial14\examles\web\common\targets.xml
    I found an advise inthe forum to set j2ee.home property. But the problem remained.
    I replaced entity tags references in a build.xml such as &targets and &webtargets with corresponding
    contents of targets.xml The problem disappeared.
    I think there is a problem with ant or xml parser when treating <!ENTITY > tags.
    So, have I to install j2ee into any dirrectory that does not contain white spaces ?

    A number of people have reported problems on Windows, when the App Server has been installed in C:\Program Files. This is due to the space embedded in the path.
    This error may be another manifestation of this issue.
    Please try reinstalling the app server (in some place like "C:\Sun\AppServer" [no spaces]) and try using asant them.
    Note: even if this error is not caused by this issue, there are a number of other errors which can only be resolved by doing the re-install.
    vbk

  • Build problem with Hello1 example.

    Hi,
    I have installed j2ee1.4 and trying to run the j2eetutorial1.4
    I am facing a problem in building the hello1 example.
    1) When I build the hello1 example, the build fails with the following error message
    C:\java-works\j2eetutorial14\examples\web\hello1>asant build
    Buildfile: build.xml
    init:
    prepare:
    copy:
    build:
    [javac] Compiling 2 source files to
    C:\java-works\j2eetutorial14\examples\we
    b\hello1\build
    BUILD FAILED
    file:C:/java-works/j2eetutorial14/examples/web/hello1/build.xml:52:
    C:\java-work
    s\j2eetutorial14\examples\web\hello1\${j2ee.home}\lib not found.
    Total time: 1 second
    2)) Editing the build.proerties file to include the j2ee.home property.When I save the file it gets a .txt extension.Could this cause a problem , while I try to build the examples? if so How can I avoid this?
    Could anyone please help me in this?
    Thanks,
    Ann

    To save the file without .txt extension
    just enclose the file with double quotes
    "build.properties" in the File save dialog box

  • OC4J 10.1.3 production: Build problem Adventure Builder 1.0.1 using EJB 3.0

    Hi all,
    I tried to use the migration to EJB 3.0 of the Adventure Builder 1.01 from Debu Panda and had some build problems.
    Does anybody know if this demo was tested with the production version of 10.1.3?
    I used the standalone version and had to tweak a lot of entries in ant-oracle.xml.
    Is it possible that the migration was done with a preview release? Have there been so many changes? I had to include a bunch of additional JARs e.g ${J2EE_HOME}/lib/adminclient.jar, ${ORACLE_HOME}/webservices/lib/wsclient.jar. ${ORACLE_HOME}/lib/xmlparserv2.jar
    and others.
    Also I had to change some task definitions as I guess that the contents of ${ORACLE_HOME}/j2ee/utilities/ant-oracle-classes.jar must have changed...
    If I did not do something terribly wrong it would be nice if you could update the example to save other people from this nightmare of running from one build error to the next!
    Regards,
    Eric

    Hi Debu,
    thanks for your reply. I've used an previously installed ant 1.6.5 from ant.apache.org, but I don't think this should matter, or?
    As far as I could see one of the problems is related to the version of ant-oracle-classes.jar in ${ORACLE_HOME}/j2ee/utilities which the example relies on.
    In the adventure builder ant-oracle.xml you'll find task definitions like that:
    taskdef resource="oracle/ant/taskdefs/deploy/antlib.xml" uri="http://www.oracle.com/ant/taskdefs" loaderRef="oracle.tasks.loader">which does not match with what one can find in ${ORACLE_HOME}/j2ee/utilities/ant-oracle-classes.jar
    So from my point of view this has to be changed to
    <taskdef resource="oracle/antlib.xml" uri="antlib:oracle" loaderRef="oracle.tasks.loader">I also had to change some libs... That's why I thought this example was made and tested with an earlier version of oc4j 10.1.3 (maybe a preview version).
    Regards,
    Eric

  • Adobe InDesign CC 2014 Custom Panel Built With Extension Builder - Problem: Can't tab from one entry field to the next; Hitting tab instead hides all palettes; Is there a fix? This didn't happen in Adobe Indesign CC

    Adobe InDesign CC 2014 Custom Panel Built With Extension Builder - Problem: Can't tab from one entry field to the next; Hitting tab instead hides all palettes; Is there a fix? This didn't happen in Adobe Indesign CC

    This is planned to be fixed in the next release.

  • Application Builder problem on one server but not another

    I am having an Application Builder problem. When I get into App Express and go inside the builder and try to edit a listed application, I get an “http 404 the page cannot be found. The page might have had its name changed or is temporarily unavailable” situation. I can get into SQL commands, utilities, and administrative activities. I can also run the application. Also, if I go onto a different server with App Express on it, I can get into the builder and edit applications with no trouble. Our DBA had the server in question rebooted a little over a week ago and that took care of the problem for a couple days. Any ideas? Is this an Express problem or a server problem? He had also tried restarting Express before he had the reboot done and that didn’t help.
    Thank you for any help.
    Cordially,
    Robert J. Smith

    I have messages from the Apache error log files from the dates I was getting the builder error. For future reference, I will post them below. The builder has been working fine lately.
    Robert Smith
    ** error log messages follow **
    [Mon Jul 16 07:25:12 2007] [error] [client 147.159.5.134] [ecid: 
    79143788610,1] File does not exist:
    /app/oracle/oraappsrv10g/forms/java/java/awt/KeyboardFocusManager.class
    [Mon Jul 16 07:25:12 2007] [error] [client 147.159.5.134] [ecid: 
    79143788611,1] File does not exist:
    /app/oracle/oraappsrv10g/forms/java/java/awt/event/MouseWheelListener.class
    [Mon Jul 16 07:25:13 2007] [error] [client 147.159.5.134] [ecid: 
    83438757083,1] File does not exist:
    /app/oracle/oraappsrv10g/forms/java/oracle/forms/registry/default.dat

  • [svn] 2142: swfutils: Somehow a Java 1.5 API (Integer.valueOf(int)) slipped into the 30x branch, and has only sporadically caused build problems.

    Revision: 2142
    Author: [email protected]
    Date: 2008-06-18 15:17:01 -0700 (Wed, 18 Jun 2008)
    Log Message:
    swfutils: Somehow a Java 1.5 API (Integer.valueOf(int)) slipped into the 30x branch, and has only sporadically caused build problems.
    * By "somehow" I mean it was my injection :)
    * Apparently this compiles in 1.4.2 on a Mac, go figure? I assume Windows JDK doesn't accept it.
    * Replaced it with 'new Integer(int)'
    Reviewer: Matt, community folks
    Bugs: n/a
    QA: no
    Doc: no
    Modified Paths:
    flex/sdk/branches/3.0.x/modules/swfutils/src/java/flash/swf/tools/SwfxPrinter.java

    Revision: 2142
    Author: [email protected]
    Date: 2008-06-18 15:17:01 -0700 (Wed, 18 Jun 2008)
    Log Message:
    swfutils: Somehow a Java 1.5 API (Integer.valueOf(int)) slipped into the 30x branch, and has only sporadically caused build problems.
    * By "somehow" I mean it was my injection :)
    * Apparently this compiles in 1.4.2 on a Mac, go figure? I assume Windows JDK doesn't accept it.
    * Replaced it with 'new Integer(int)'
    Reviewer: Matt, community folks
    Bugs: n/a
    QA: no
    Doc: no
    Modified Paths:
    flex/sdk/branches/3.0.x/modules/swfutils/src/java/flash/swf/tools/SwfxPrinter.java

  • Asant build: BUILD FAILED

    Hi All,
    I'm trying the helloservice example from the J2EE Tutorial. When I build it with asant build, I have the message bellow:
    generate-wsdl:
    prepare:
    [echo] Creating the required directories....
    set-wscompile:
    run-wscompile:
    [echo] Running wscompile:
    [echo] /bin/wscompile.bat -define -mapping build/mapping.xml -d build -nd build -classpath build config-interface.xml
    BUILD FAILED
    file:D/Javaj2sdk/j2eetutorial14/examples/jaxrpc/common/targets.xml:64: Execute failed: java.io.IOException: CreateProcess: \bin\wscompile.bat -define -mapping build/mapping.xml -d build -nd build -classpath build config-interface.xml error=3
    Can someone please help me?
    Thank you..:)

    Hello Every One actually i got error when i m giving asant build..................
    please give me a solution
    Buildfile: build.xml
    j2ee-home-test:
    BUILD FAILED
    F:\j2eetutorial14\examples\common\targets.xml:10: The j2ee.home property is not
    properly set in <INSTALL>/j2eetutorial14/examples/common/build.properties.
    Set the j2ee.home property to the location of your Application Server installati
    on.
    On Windows, you must escape any backslashes in the j2ee.home property with anoth
    er backslash or use forward slashes as a path separator. So, if your Application
    Server installation is C:\Sun\AppServer, you must set j2ee.home as follows:
    j2ee.home = F:\\Sun\\AppServer
    or
    j2ee.home=F:/Sun/AppServer
    j2ee.home is currently set to:
    Total time: 2 seconds

  • "asant build" for bookstore1 example in j2ee tutorial gives "compile error"

    Hello everybody,
    I am trying to run "asant build" command to build package for bookstore1 example given in j2ee tutorials.
    I installed my j2ee tutorial 1.4 in "c:\java\j2eetutorial14" and my example is in "c:\java\j2eetutorial\examples\web\bookstore1".
    My j2ee SDK with appliation server is installed in C:\sun\appserver.
    When i run the "asant build" command in "c:\java\j2eetutorial\examples\web\bookstore1" directory i get compile error with last few lines as follows.
    [javac] location: class servlets.ShowCartServlet
    [javac] } catch (BookNotFoundException ex) {
    [javac] ^
    [javac] C:\Java\j2eetutorial14\examples\web\bookstore1\src\servlets\ShowCartServlet.jav
    :136: cannot resolve symbol
    [javac] symbol : class ShoppingCartItem
    [javac] location: class servlets.ShowCartServlet
    [javac] ShoppingCartItem item = (ShoppingCartItem) i.next();
    [javac] ^
    [javac] C:\Java\j2eetutorial14\examples\web\bookstore1\src\servlets\ShowCartServlet.jav
    :136: cannot resolve symbol
    [javac] symbol : class ShoppingCartItem
    [javac] location: class servlets.ShowCartServlet
    [javac] ShoppingCartItem item = (ShoppingCartItem) i.next();
    [javac] ^
    [javac] C:\Java\j2eetutorial14\examples\web\bookstore1\src\servlets\ShowCartServlet.jav
    :137: cannot resolve symbol
    [javac] symbol : class BookDetails
    [javac] location: class servlets.ShowCartServlet
    [javac] bd = (BookDetails) item.getItem();
    [javac] ^
    [javac] 69 errors
    BUILD FAILED
    file:C:/Java/j2eetutorial14/examples/web/bookstore1/build.xml:68: Compile failed; see the compiler error output for details.
    Total time: 2 seconds
    Can some one please help me.
    thanks

    When i run the "asant build" command in
    "c:\java\j2eetutorial\examples\web\bookstore1"
    directory i get compile error with last few lines as
    follows.Did you package the bookstore common files as described in Chapter 3? My guess is that you didn't include bookstore.jar from <INSTALL>/j2eetutorial14/examples/build/web/bookstore/dist/.
    -Ian Evans
    Sun Microsystems
    J2EE Tutorial team

  • JavaFx2 Samples DataApp Build Problems

    Download Samples
    http://download.oracle.com/otn/java/javafx/2.1.1-b04/javafx_samples-2_1_1-windows.zip
    From:http://www.oracle.com/technetwork/java/javafx/downloads/index.html
    And follow : DataApp Installation Guide
    ---Running the Sample
    ---Start the server:
    ---In NetBeans, right-click the DataAppServer project.
    ---Select Run.
    ---Wait until a browser window opens that says: YOU ARE DONE!
    A : Build Problem?
    ant -f D:\\DataApp\\DataAppServer -DforceRedeploy=false -Ddirectory.deployment.supported=true -Dnb.wait.for.caches=true run
    check-mysql-drivers-installed:
    D:\DataApp\DataAppServer\build.xml:72: D:\DataApp\DataAppServer\${j2ee.server.home}\lib does not exist.
    构建失败 (总时间: 0 秒)
    I have install C:\Program Files\glassfish-3.1.2
    Any suggestions?

    ant -f D:\\DataApp\\DataAppServer -DforceRedeploy=false clean dist
    check-mysql-drivers-installed:
    init:
    undeploy-clean:
    deps-clean:
    DataAppClient.init:
    DataAppClient.deps-clean:
    Updating property file: D:\DataApp\DataAppClient\build\built-clean.properties
    DataAppLibrary.init:
    DataAppLibrary.deps-clean:
    Updating property file: D:\DataApp\DataAppClient\build\built-clean.properties
    Deleting directory D:\DataApp\DataAppLibrary\build
    DataAppLibrary.clean:
    Duplicated project name in import. Project jfx-impl defined first in D:\DataApp\DataAppClient\nbproject\jfx-impl.xml and again in D:\DataApp\DataAppPreloader\nbproject\jfx-impl.xml
    DataAppPreloader.init:
    DataAppPreloader.deps-clean:
    Updating property file: D:\DataApp\DataAppClient\build\built-clean.properties
    Deleting directory D:\DataApp\DataAppPreloader\build
    DataAppPreloader.clean:
    Deleting directory D:\DataApp\DataAppClient\build
    DataAppClient.clean:
    DataAppLibrary.init:
    DataAppLibrary.deps-clean:
    Created dir: D:\DataApp\DataAppLibrary\build
    Updating property file: D:\DataApp\DataAppLibrary\build\built-clean.properties
    Deleting directory D:\DataApp\DataAppLibrary\build
    DataAppLibrary.clean:
    do-clean:
    check-clean:
    clean:
    check-mysql-drivers-installed:
    init:
    deps-module-jar:
    DataAppClient.init:
    DataAppClient.deps-jar:
    Created dir: D:\DataApp\DataAppClient\build
    Updating property file: D:\DataApp\DataAppClient\build\built-jar.properties
    DataAppLibrary.init:
    DataAppLibrary.deps-jar:
    Created dir: D:\DataApp\DataAppLibrary\build
    Updating property file: D:\DataApp\DataAppClient\build\built-jar.properties
    Created dir: D:\DataApp\DataAppLibrary\build\classes
    Created dir: D:\DataApp\DataAppLibrary\build\classes\META-INF
    Copying 1 file to D:\DataApp\DataAppLibrary\build\classes\META-INF
    Created dir: D:\DataApp\DataAppLibrary\build\empty
    Created dir: D:\DataApp\DataAppLibrary\build\generated-sources\ap-source-output
    Compiling 29 source files to D:\DataApp\DataAppLibrary\build\classes
    警告: [options] 未与 -source 1.6 一起设置引导类路径
    注: Creating non-static metadata factory ...
    注: Found Option : eclipselink.canonicalmodel.use_static_factory, with value: false
    注: Optional file was not found: META-INF/orm.xml continuing with generation.
    注: Optional file was not found: META-INF/eclipselink-orm.xml continuing with generation.
    注: Found Option : eclipselink.canonicalmodel.use_static_factory, with value: false
    注: Optional file was not found: META-INF/orm.xml continuing with generation.
    注: Optional file was not found: META-INF/eclipselink-orm.xml continuing with generation.
    警告: 以下选项未被任何处理程序识别: '[eclipselink.canonicalmodel.use_static_factory]'
    注: 某些输入文件使用了未经检查或不安全的操作。
    注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
    1 个警告
    Copying 1 file to D:\DataApp\DataAppLibrary\build\classes
    DataAppLibrary.compile:
    Created dir: D:\DataApp\DataAppLibrary\dist
    Copy libraries to D:\DataApp\DataAppLibrary\dist\lib.
    Building jar: D:\DataApp\DataAppLibrary\dist\DataAppLibrary.jar
    To run this application from the command line without Ant, try:
    C:\Program Files\Java\jdk1.7.0_05/bin/java -jar "D:\DataApp\DataAppLibrary\dist\DataAppLibrary.jar"
    DataAppLibrary.jar:
    Duplicated project name in import. Project jfx-impl defined first in D:\DataApp\DataAppClient\nbproject\jfx-impl.xml and again in D:\DataApp\DataAppPreloader\nbproject\jfx-impl.xml
    DataAppPreloader.init:
    DataAppPreloader.deps-jar:
    Created dir: D:\DataApp\DataAppPreloader\build
    Updating property file: D:\DataApp\DataAppClient\build\built-jar.properties
    Created dir: D:\DataApp\DataAppPreloader\build\classes
    Created dir: D:\DataApp\DataAppPreloader\build\empty
    Created dir: D:\DataApp\DataAppPreloader\build\generated-sources\ap-source-output
    Compiling 2 source files to D:\DataApp\DataAppPreloader\build\classes
    Copying 5 files to D:\DataApp\DataAppPreloader\build\classes
    DataAppPreloader.compile:
    Created dir: D:\DataApp\DataAppPreloader\dist
    Copying 1 file to D:\DataApp\DataAppPreloader\build
    Not copying library D:\DataApp\DataAppPreloader\dist\DataAppPreloader.jar , it can't be read.
    Nothing to copy.
    Building jar: D:\DataApp\DataAppPreloader\dist\DataAppPreloader.jar
    To run this application from the command line without Ant, try:
    C:\Program Files\Java\jdk1.7.0_05/bin/java -jar "D:\DataApp\DataAppPreloader\dist\DataAppPreloader.jar"
    Detected JavaFX Ant API version 1.1
    DataAppPreloader.jfx-deployment:
    DataAppPreloader.jar:
    Created dir: D:\DataApp\DataAppClient\build\classes
    Created dir: D:\DataApp\DataAppClient\build\empty
    Created dir: D:\DataApp\DataAppClient\build\generated-sources\ap-source-output
    Compiling 19 source files to D:\DataApp\DataAppClient\build\classes
    注: 某些输入文件使用了未经检查或不安全的操作。
    注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
    Copying 27 files to D:\DataApp\DataAppClient\build\classes
    DataAppClient.compile:
    Created dir: D:\DataApp\DataAppClient\dist
    Copying 27 files to D:\DataApp\DataAppClient\dist\lib
    Moving 1 file to D:\DataApp\DataAppClient\dist
    Expanding: D:\DataApp\DataAppClient\dist\lib\DataAppLibrary.jar into D:\DataApp\DataAppClient\build\classes
    Expanding: D:\DataApp\DataAppClient\dist\lib\jackson-core-asl-1.7.1.jar into D:\DataApp\DataAppClient\build\classes
    Expanding: D:\DataApp\DataAppClient\dist\lib\jackson-jaxrs-1.7.1.jar into D:\DataApp\DataAppClient\build\classes
    Expanding: D:\DataApp\DataAppClient\dist\lib\jackson-mapper-asl-1.7.1.jar into D:\DataApp\DataAppClient\build\classes
    Expanding: D:\DataApp\DataAppClient\dist\lib\jackson-xc-1.7.1.jar into D:\DataApp\DataAppClient\build\classes
    Expanding: D:\DataApp\DataAppClient\dist\lib\jersey-client-1.8.jar into D:\DataApp\DataAppClient\build\classes
    Expanding: D:\DataApp\DataAppClient\dist\lib\jersey-core-1.8.jar into D:\DataApp\DataAppClient\build\classes
    Expanding: D:\DataApp\DataAppClient\dist\lib\jersey-json-1.8.jar into D:\DataApp\DataAppClient\build\classes
    Deleting directory D:\DataApp\DataAppClient\dist\lib
    D:\DataApp\DataAppServer\nbproject\build-impl.xml:860: The following error occurred while executing this line:
    D:\DataApp\DataAppClient\build.xml:48: Problem: failed to create task or type javafx:com.sun.javafx.tools.ant:application
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.
    No types or tasks have been defined in this namespace yet
    构建失败 (总时间: 25 秒)

  • [svn:osmf:] 17245: Fix build problems for Zeri Certification Projects.

    Revision: 17245
    Revision: 17245
    Author:   [email protected]
    Date:     2010-08-09 17:20:33 -0700 (Mon, 09 Aug 2010)
    Log Message:
    Fix build problems for Zeri Certification Projects.
    Modified Paths:
        osmf/trunk/apps/certification/zeri/FlexUnit4UIListener/flexunit4uilistener-build-config-1 0-1.xml
        osmf/trunk/apps/certification/zeri/ZeriCertificationPlayer/zericertificationplayer-build- config-10-1.xml
        osmf/trunk/apps/certification/zeri/ZeriCertificationTest/src/ZeriCertificationTest.mxml
        osmf/trunk/apps/certification/zeri/ZeriCertificationTest/src/ZeriTests.mxml
        osmf/trunk/apps/certification/zeri/ZeriCertificationTest/zericertificationtest-build-conf ig-10-1.xml

    Revision: 17245
    Revision: 17245
    Author:   [email protected]
    Date:     2010-08-09 17:20:33 -0700 (Mon, 09 Aug 2010)
    Log Message:
    Fix build problems for Zeri Certification Projects.
    Modified Paths:
        osmf/trunk/apps/certification/zeri/FlexUnit4UIListener/flexunit4uilistener-build-config-1 0-1.xml
        osmf/trunk/apps/certification/zeri/ZeriCertificationPlayer/zericertificationplayer-build- config-10-1.xml
        osmf/trunk/apps/certification/zeri/ZeriCertificationTest/src/ZeriCertificationTest.mxml
        osmf/trunk/apps/certification/zeri/ZeriCertificationTest/src/ZeriTests.mxml
        osmf/trunk/apps/certification/zeri/ZeriCertificationTest/zericertificationtest-build-conf ig-10-1.xml

  • NWDS and DC Build Problem

    Hi,
    I recently installed a new version of NWDS on my workstation.  This was an upgrade to Version 7.0.10   For some reason my DC will no longer  build successfully since using the 7.0.10 version of NWDS.  The error I get is:
    /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: /mydc : Build failed for /mydc in variant "default": null
    Thanks,
    Brian

    Hi All
    I facing same problem. Can you help me how to resolve this. I want to convert existing WebDynpro project into NWDI. I followed two ways to achieve it.
    1) I followed step by step in this help link
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/42/c8204dd57f136fe10000000a1553f7/frameset.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/42/c8204dd57f136fe10000000a1553f7/frameset.htm</a>.
    2) I newly created one DC (WebDynpro) project and there is an option "Import from existing local project" option.
    I used both of them still there build problems in my DC.

  • J2SE 1.4 Samples - Build Problems

    Hello.
    Problem Summary
    =============
    I'm having problems compiling and building the tutorial examples for J2EE
    1.4. I believe I have followed the advice given in the tutorial correctly
    (allowing for the tutorial's incorrect specification of the samples
    directory structure).
    From the Command Prompt output (supplied below) there is an inconsistent use
    of '\' and '/' - could this be part of the problem? Or are the environment
    variables interfering with the common.properties, common.xml and build.xml
    variables/properties?
    Thanks in-advance,
    Andy Williams.
    Further Information
    =============
    * Install Directory: d:/Sun/AppServer
    * Modified <Install Directory>/samples/common.properties by adding:
    j2ee.home=D:/Sun/AppServer
    at the end of the file.
    * Environment variables -
    %JAVA_HOME%=D:\Sun\AppServer\jdk
    %J2EE_HOME%=D:\Sun\AppServer
    %Path% includes %J2EE_HOME%\bin;%JAVA_HOME%\bin
    * Attempting to build a sample application using "asant -v build" results in
    the following:
    D:\Sun\AppServer\samples\webservices\jaxrpc\simple\src>asant -v build
    Apache Ant version 1.5.3 compiled on April 16 2003
    Buildfile: build.xml
    Detected Java version: 1.4 in: D:\Sun\AppServer\jdk\jre
    Detected OS: Windows_NT
    parsing buildfile build.xml with URI =
    file:D:/Sun/AppServer/samples/webservices
    /jaxrpc/simple/src/build.xml
    Project base dir set to:
    D:\Sun\AppServer\samples\webservices\jaxrpc\simple\src
    resolving systemId: file:D:/Sun/AppServer/samples/common.xml
    [property] Loading D:\Sun\AppServer\samples\common.properties
    [property] Loading Environment as.env.
    Override ignored for property db.port
    Override ignored for property db.driver
    Override ignored for property db.classpath
    Override ignored for property s1as.admin
    BUILD FAILED
    Target `build' does not exist in this project.
    at org.apache.tools.ant.Project.tsort(Project.java:1751)
    at org.apache.tools.ant.Project.topoSort(Project.java:1673)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1332)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    at org.apache.tools.ant.Main.runBuild(Main.java:609)
    at org.apache.tools.ant.Main.start(Main.java:196)
    at org.apache.tools.ant.Main.main(Main.java:235)
    Total time: 2 seconds

    The J2EE 1.4 samples that are shipped with the J2EE 1.4 SDK are not the same as the tutorial examples.
    To build the J2EE 1.4 samples, see the docs included with the samples in the /docs subdirectory of each sample application.
    To get the tutorial examples, you need to download the tutorial bundle from:
    http://java.sun.com/j2ee/1.4/download-docs.html

  • Asant tool problem

    hi all,
    i have a problem with the asant tool.when i try to run it with this argument:
    asant -verbose
    the last line printed to the screen is :
    [property] Loading ...\\common\\build.xml
    i tryed to run it with the parameter:
    listprops
    and the lsat thing was printing to the screen was Build File: build.xml
    i have set my J2EE|_HOME in system variables to refer to the Sun Application Server 8 installation directory and have set the CLASSPATH to refer to the <J2EE_HOME>\\bin directory using semicolons at the end of each environment variable.I'm running Windows Xp Home edition Service Pack 2.My build.properties file contents are shown below:
    j2ee.home=C:\\Sun\\Creator2\\SunAppServer8j2ee.tutorial.home=d:\\j2eetutorial14sunone.home=${j2ee.home}
    admin.password.file=${j2ee.tutorial.home}/examples/common/admin-assword.txt
    admin.host=localhostadmin.user=adminadmin.port=14848
    https.port=18181domain.resources="domain.resources"domain.resources.port=1880db.root=${j2ee.home}/pointbasedb.driver=com.pointbase.jdbc.jdbcUniversalDriverdb.host=localhostdb.port=19092db.sid=sun-appserv-samplesdb.url=jdbc:pointbase:server://${db.host}:${db.port}/${db.sid}db.user=pbpublicdb.pwd=pbpublicurl.prop=DatabaseNameds.class=com.pointbase.jdbc.jdbcDataSourcedb.jvmargs=-ms16m -mx32m
    i have searched on the net for a solution to my problem and could not find sufficient information related to my problem and i can not proceede reading the tutorial without solving this problem as the examples i have read cound on using the asant tool.
    Thanks in advance,
    Mahmoud Hadad

    Thanks jane for your reply,
    I have cleared the CLASSPATH environment variable and re installed the tutorial and evreything worked fine with asant.I think there was something wrong i made in the build.properties file but it is not clear to me what did i do wrong,i think i will know by time.jane i have seen that there is a new version of J2EE (EE 5) so i'm totally confused now,is there is any tutorial for this platform ,tools?..etc
    i have a question about EE 5 is that i don't have to use deployment descriptors anymore unless i want the support for J2EE 1.4 Applications?
    Thanks again for your help ,
    Regards,
    Mahmoud Hadad

Maybe you are looking for

  • Apple iPod Universal Dock And Remote

    So If I have the Apple iPod Universal Dock and the Apple Remote And a iPod nano do I have front row?

  • Regarding mandatory fields, Context Objects and Fault Message Types

    Hi All, 1) I am creating a structure with fields "Name", "Street" and "City". While creation i want to make "Name" fields as mandatory. Is it possible. If so how to achieve this. 2) What is the purpose of Context Object and in which situation we will

  • FAQ I'm sure: how to shut server up?

    The WebLogic 5.0 beta spews all sorts of stuff to the screen. How can I route this into a file? Is file redirection my only option? I looked through weblogic.properties and found the weblogic.system.enableConsole property, but setting this to false d

  • Contact Photo size when phone rings

    When my iPhone rings, the saved image of the person calling from in contacts takes the entire screen (big picture), but when you watch the Apple commercials, the face appears as a small square in the upper right hand corner next to the name of the pe

  • Explorer Preventing Download of Flash Player (I think)

    This post may repeat some others but I am not an experienced forum user, so . . . Am running Windows XP and Internet Explorer 9.  IE now tells me I must install latest version of Flash Player, whichever one that is.  Following instructions I uninstal