That seems strange.  The only reason I could think of is that somehow 
the path you specified to commons-logging.jar in your build file was wrong.

IMHO, you really shouldn't have *anything* in your CLASSPATH env var. 
Putting stuff in your env is always dangerous, whether it be PATH, 
LD_LIBRARY_PATH, CLASSPATH, etc. - since it builds up assumptions when 
you write/run stuff that picks it up.

Can you verify that the commons-logging.jar is *really* where ant thinks 
it was?  Test it by using the echo task in ant to print out your 
${apache.commons.logging.jar} variable (from the build.xml you sent me).
<echo message="${apache.commons.logging.jar}"/>
Then ls -l a copy/paste in a console window of that echo to make sure 
it's really there.

David

--

tek1 wrote:
> i did some more checking and apparently xdoclet1.2 does not run 
> successfully on my setup (win2000, cygwin, jdk1.3.1_03, ant1.5b3, 
> running "castormapping" subtask) unless "commons-logging.jar" is 
> included in cygwin's classpath.  ant/xdoclet can't seem to find 
> commons-logging.jar when i place it in my project's lib directory for 
> some strange reason.  all the other jars load fine...
> 
> any ideas why "commons-logging.jar" needs to be defined in the shell 
> (i.e. cygwin) and why it's not recognized when placed in the project's 
> lib directory?
> 
> thank you.
> 
> 
> 
> At 01:38 02/07/02 +0900, you wrote:
> 
>> actually, i'm using ant1.5b3.  i had left the ant classpath 
>> definitions in the build.xml file by accident, but they are not 
>> referenced in "classpath.main".  i have my cygwin shell configured to 
>> use ant1.5b3...
>>
>>
>>
>> At 11:54 02/07/01 -0400, you wrote:
>>
>>> It looks like you're using Ant 1.4.1.  XDoclet 1.2 in CVS requires 
>>> 1.5. You can get it here:
>>>
>>> http://jakarta.apache.org/builds/jakarta-ant/release/v1.5Beta3/bin/
>>>
>>> Let me know how it turns out.  If you get it working, please re-post 
>>> to the xdoclet-user list so others can benefit from your findings.
>>>
>>> Thanks,
>>> David
>>
> 
> 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to