I've had some problems with the latest cvs source and trying to compile
it using ant1.4.1.  The problems center around the deprecated Style task
in ant1.4.1.  It's not something that can be fixed with the
build.properties file, it needs to be fixed in your ant1.4.1
environment.  Ant needs to find the xalan.jar on the classpath before it
can execute the ant Style task.

There are two ways to do this:
1) add xalan.jar in your classpath.
2) add xalan.jar into the ant/lib directory.  

(See the following link in the ant documentation
http://jakarta.apache.org/ant/manual/CoreTasks/style.html) 

I took the advice listed under the prerequisites section on
(http://jakarta.apache.org/struts/installation.html#Prerequisites) and
used the xalan.jar from the jaxp-1.1 distribution.  This allows ant1.4.1
to find the classes for the <style> used in the build.xml file.  Note,
doing this works, however, you still get a message like this:
    [style] DEPRECATED - the style attribute should be relative to the
project's
    [style]              basedir, not the tasks's basedir.


It doesn't appear to cause any problems that I've seen.

Thanks,
Steve

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

Reply via email to