atom feed7 messages in org.apache.tomcat.devRe: ant build failing: could not find...
FromSent OnAttachments
S AhmedJan 8, 2012 2:38 pm 
Konstantin KolinkoJan 8, 2012 2:48 pm 
Konstantin KolinkoJan 8, 2012 2:51 pm 
S AhmedJan 8, 2012 3:44 pm 
S AhmedJan 8, 2012 6:05 pm 
Konstantin KolinkoJan 8, 2012 8:08 pm 
S AhmedJan 9, 2012 11:14 am 
Subject:Re: ant build failing: could not find file modules/jdbc-pool/doc/jdbc-pool.xml to copy
From:S Ahmed (sahm@gmail.com)
Date:Jan 9, 2012 11:14:29 am
List:org.apache.tomcat.dev

Agreed.

The file was building.txt not readme sorry, thanks for the tips.

So any help on importing the project into eclipse?

On Sun, Jan 8, 2012 at 11:09 PM, Konstantin Kolinko <knst@gmail.com>wrote:

2012/1/9 S Ahmed <sahm@gmail.com>:

Well the readme said it may fail on mac osx because it tries to write to /usr/share/java to store the libraries etc.

Eh, which readme? It is a bad idea to let them been written to /usr/share/java. That is just a default value.

You should really reconfigure it to use some other place (as documented in BUILDING.txt).

You should not run any random things with "sudo", unless you understand the consequences.

When I ran ant, the build didn't work, running sudo allowed it continue (but from now on running just ant w/o sudo is fine, I guess it was just initially to write to that folder).

Anyhow, I'll try the svn then thanks.

On Sun, Jan 8, 2012 at 5:52 PM, Konstantin Kolinko <knst@gmail.com>wrote:

2012/1/9 S Ahmed <sahm@gmail.com>:

2. sudo ant

Just curious regarding the above command: you do not need root rights to build Tomcat!

Actually you should never be using root rights when building, testing and using Tomcat.

(The only exception is running it with jsvc service wrapper).

http://xkcd.com/149/