Could you show you classpath, java_home? and the location of
xml_commons_apis.jar in your filesystem?



heccarrillo wrote:
> 
> I've updated ant and this is what I get.
> 
> <pre>
> <font face="courier">
> [EMAIL PROTECTED] appfuse]# ant -verbose new
> 
> /usr/bin/build-classpath: error: Could not find jaxp_parser_impl Java
> extension for this JVM
> 
> /usr/bin/build-classpath: error: Could not find xml-commons-apis Java
> extension for this JVM
> 
> /usr/bin/build-classpath: error: Some specified jars were not found
> 
> Unable to locate tools.jar. Expected to find it in
> /usr/java/jre1.5.0_10/lib/tools.jar
> 
> Apache Ant version 1.6.2 compiled on November 12 2004
> 
> Buildfile: build.xml
> 
> Detected Java version: 1.5 in: /usr/java/jre1.5.0_10
> 
> Detected OS: Linux
> 
> parsing buildfile
> /usr/local/apache-tomcat-5.5.20/webapps/ROOT/appfuse/build.xml with URI =
> file:///usr/local/apache-tomcat-5.5.20/webapps/ROOT/appfuse/build.xml
> 
> Project base dir set to:
> /usr/local/apache-tomcat-5.5.20/webapps/ROOT/appfuse
> 
> Importing file properties.xml from
> /usr/local/apache-tomcat-5.5.20/webapps/ROOT/appfuse/build.xml
> 
> parsing buildfile
> /usr/local/apache-tomcat-5.5.20/webapps/ROOT/appfuse/properties.xml with
> URI =
> file:///usr/local/apache-tomcat-5.5.20/webapps/ROOT/appfuse/properties.xml
> 
>  [property] Loading
> /usr/local/apache-tomcat-5.5.20/webapps/ROOT/appfuse/lib/lib.properties
> 
>  [property] Loading /root/.appfuse-build.properties
> 
>  [property] Unable to find property file: /root/.appfuse-build.properties
> 
>  [property] Loading /root/.build.properties
> 
>  [property] Unable to find property file: /root/.build.properties
> 
>  [property] Loading
> /usr/local/apache-tomcat-5.5.20/webapps/ROOT/appfuse/build.properties
> 
>  [property] Loading
> /usr/local/apache-tomcat-5.5.20/webapps/ROOT/appfuse/web/WEB-INF/classes/mail.properties
> 
>  [property] Loading Environment env.
> 
> Override ignored for property compile.deprecation
> 
> Property ${strutstestcase.jar} has not been set
> 
> Property ${encrypt.algorithm} has not been set
> 
> Property ${secure.login} has not been set
> 
> Importing file
> /usr/local/apache-tomcat-5.5.20/webapps/ROOT/appfuse/lib/rename-packages-1.1/rename-packages-macro.xml
> from /usr/local/apache-tomcat-5.5.20/webapps/ROOT/appfuse/build.xml
> 
> parsing buildfile
> /usr/local/apache-tomcat-5.5.20/webapps/ROOT/appfuse/lib/rename-packages-1.1/rename-packages-macro.xml
> with URI =
> file:///usr/local/apache-tomcat-5.5.20/webapps/ROOT/appfuse/lib/rename-packages-1.1/rename-packages-macro.xml
> 
> Property ${app.name} has not been set
> 
> Build sequence for target `new' is [clean, init, new]
> 
> Complete build sequence is [clean, init, new, prepare, copy-resources,
> hibernatedoclet, compile-dao, package-dao, db-load, with-debug, no-debug,
> check-debug, test-dao, java2html, javadoc, compile-service,
> package-service, copy-web-files, stage-web, compile-web, webdoclet, jsp-2,
> checkstyle, compile-jsp, package-web, wiki, dist, db-create, db-prepare,
> setup-db, setup-tomcat, deploy, setup, test-reports, deploy-test-reports,
> compile, bin, ping-tomcat, test-canoo, emma, undeploy, war, stop,
> db-export, start.tomcat, pmd, list, test-jsp, start, remove, test-service,
> install, test-all-running, test-web, todo, docs, deploy-web, fixcrlf,
> test-all, deploy-war, db-drop, reload, refresh, ]
> 
>  
> 
> clean:
> 
>      [echo] Cleaning build and distribution directories
> 
>    [delete] Could not find file
> /usr/local/apache-tomcat-5.5.20/webapps/ROOT/appfuse/database.properties
> to delete.
> 
>    [delete] Could not find file
> /usr/local/apache-tomcat-5.5.20/webapps/ROOT/appfuse/create-tables.sql to
> delete.
> 
>  
> 
> init:
> 
> [available] Unable to load class junit.framework.TestCase to set property
> junit.present
> 
>  
> 
> BUILD FAILED
> 
> /usr/local/apache-tomcat-5.5.20/webapps/ROOT/appfuse/build.xml:17: Please
> copy junit.jar into /usr/share/ant/lib
> 
>         at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:139)
> 
>         at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> 
>         at org.apache.tools.ant.Task.perform(Task.java:364)
> 
>         at org.apache.tools.ant.Target.execute(Target.java:341)
> 
>         at org.apache.tools.ant.Target.performTasks(Target.java:369)
> 
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
> 
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
> 
>         at org.apache.tools.ant.Main.runBuild(Main.java:673)
> 
>         at org.apache.tools.ant.Main.startAnt(Main.java:188)
> 
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
> 
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
> 
>  
> 
> Total time: 1 second
> </font>
> </pre>
> 
> heccarrillo wrote:
>> 
>> Thank you, Matt.  I'll update and run it again. :-)
>> 
>> 
>> mraible wrote:
>>> 
>>> <pre>
>>> You need to use Ant 1.6.5 as a minimum - it looks like you're using
>>> 1.5.2.
>>> 
>>> Matt
>>> 
>>> On 3/12/07, heccarrillo <[EMAIL PROTECTED]> wrote:
>>>>  I am trying to launch appfuse on a box running the following:
>>>>
>>>>
>>>> Fedora
>>>> Tomcat 5.5.20
>>>> Ant
>>>> MySQL
>>>> Hibernate
>>>>  I ran ant with verbose and got the following:
>>>>
>>>>  [EMAIL PROTECTED] appfuse]# ant -verbose new
>>>>  Apache Ant version 1.5.2-26 compiled on May 5 2004
>>>>  Buildfile: build.xml
>>>>  Detected Java version: 1.4 in: /usr
>>>>  Detected OS: Linux
>>>>  parsing buildfile build.xml with URI =
>>>> file:/usr/local/apache-tomcat-5.5.20/weba pps/ROOT/appfuse/build.xml
>>>>  Project base dir set to:
>>>> /usr/local/apache-tomcat-5.5.20/webapps/ROOT/appfuse
>>>>
>>>>  BUILD FAILED
>>>> file:/usr/local/apache-tomcat-5.5.20/webapps/ROOT/appfuse/build.xml:5:
>>>> Unexpecte d element "import"
>>>>  at
>>>> org.apache.tools.ant.helper.ProjectHelperImpl.parse(org.apache.tools.ant.P
>>>> roject, java.lang.Object) (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>>  at
>>>> org.apache.tools.ant.ProjectHelper.configureProject(org.apache.tools.ant.P
>>>> roject, java.io.File) (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>>  at
>>>> org.apache.tools.ant.Main.runBuild(java.lang.ClassLoader)
>>>> (/usr/lib/lib-or g-apache-tools-ant-1.5.2.so)
>>>>  at org.apache.tools.ant.Main.start(java.lang.String[],
>>>> java.util.Properties, java.lang.ClassLoader)
>>>> (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>>  at org.apache.tools.ant.Main.main(java.lang.String[])
>>>> (/usr/lib/lib-org-apach e-tools-ant-1.5.2.so)
>>>>
>>>>
>>>>  Total time: 0 seconds
>>>> ________________________________
>>>>  View this message in context: getting started
>>>>  Sent from the AppFuse - User mailing list archive at Nabble.com.
>>>>
>>> 
>>> 
>>> -- 
>>> http://raibledesigns.com
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>> 
>>> 
>>> 
>> 
>> 
> </pre>
> 

-- 
View this message in context: 
http://www.nabble.com/getting-started-tf3391580s2369.html#a9573424
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to