Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Ant and Path Problems

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
How to set PATH for cgi-scripts? - I am trying to persuade Apache 2.0 look into when doing system() calls from a Perl I am using the Fedora Core 1 rpms and would prefer not to have to recompile anything. I have tried to set SetEnv PATH..

apache2 path question - Hello, i am using apache 2.0.48 with mod_perl 1.99. when i try to read the content from a file with $foo = 0; open while { chomp(); @felder = (..

weird problem with URL path - Hi, I just run into a weird problem with my new updated apache server. If I type in the server loads up the default index.htm just fine. But if I remove the back slash of the URL, ie. if I type..

rewriting urls gives wrong path - Hi there! I'm trying to gain some knowledge on rewriting urls but with poor I've got a webpage of this structure / css/ images/ main/ links/ i.php Now I'd like to make some

virtual path/alias problem :( - Hi, At my webspace (an apache server on some unix) i have which is the root for domain1, which is the root for domain2. im running based sites, so both (domain1) and..
Next:  the index.htm won't autoload  
Author Message
user2692

External


Since: Feb 29, 2004
Posts: 6



(Msg. 1) Posted: Fri Mar 05, 2004 4:42 pm
Post subject: Ant and Path Problems
Archived from groups: alt>apache>configuration (more info?)

Hi there,
Im running tomcat (stand alone) and
going through the tutorial [1].
Now I'm stucking with the first
applet Sad!
I get these messages:
mars gs # ant build
Buildfile: build.xml
init:
prepare:
[mkdir] Created dir: /opt/tomcat/webapps/jwstutorial13/examples/gs/build
[mkdir] Created
dir: /opt/tomcat/webapps/jwstutorial13/examples/gs/build/WEB-INF
[mkdir] Created
dir: /opt/tomcat/webapps/jwstutorial13/examples/gs/build/WEB-INF/classes
[mkdir] Created
dir: /opt/tomcat/webapps/jwstutorial13/examples/gs/build/WEB-INF/lib
[mkdir] Created
dir: /opt/tomcat/webapps/jwstutorial13/examples/gs/build/WEB-INF/tags
copy:
[copy] Copying 1 file
to /opt/tomcat/webapps/jwstutorial13/examples/gs/build
[copy] Copying 1 file
to /opt/tomcat/webapps/jwstutorial13/examples/gs/build/WEB-INF
build:
[javac] Compiling 1 source file
to /opt/tomcat/webapps/jwstutorial13/examples/gs/build/WEB-INF/classes

BUILD FAILED
file:/opt/tomcat/webapps/jwstutorial13/examples/gs/build.xml:55: /opt/tomcat/webapps/jwstutorial13/examples/gs/${jwsdp.home}/common/lib
not found.

Don't make me wonder.
The right path have to be
${jwsdp.home}/common/lib

${jwsdp.home} should be expand to "/opt/tomcat" aka ($CATALINA_HOME}.


At line 55 of gs/build.xml

<target name="build" depends="copy"
description="Compile app Java files and copy HTML and JSP pages" >
<javac srcdir="src" destdir="${build}/WEB-INF/classes">
<include name="**/*.java" />
<classpath refid="classpath"/>
</javac>
<copy todir="${build}/WEB-INF/lib">
<fileset dir="${jwsdp.home}/jstl/lib">
<include name="*.jar" />
</fileset>
</copy>
</target>




Ant have just to copy two files from "/opt/tomcat/common/lib/"
to "./build/WEB-INF/lib"

Changes in serveral dependig target.xml an build.* don't have any
success and is not the right way.

How kann ant retrive the correct ${jwsdp.home}/common/lib
path?

regards markus


1] http://java.sun.com/webservices/downloads/webservicestutorial.html

 >> Stay informed about: Ant and Path Problems 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]