Got it working after running bootstrap.sh. After that, the rest of your
commands worked. Thanks.
It would be really useful to point out to other naive folks like me that
bootstrap.sh should be run to build ant. I went with the build.xml,
which seemed logical to me. The INSTALL and README files contained no
helpful information and look like they're just the default files that
are distributed with ant.
Thanks,
Mark McKay
Mark McKay wrote:
Hi,
I'm using cygwin as well. The below commands aren't working. I'm
also not sure what you're getting at here. There is no directory
named /bootstrap, and even if there was, how could I run programs in
it after I deleted it?
Mark McKay
Alexey Solofnenko wrote:
The required files are in lib folder (without Xalan). This is what I
just
ran (some commands are from Cygwin):
cd path-to-ant-svn
svn update
set JAVA_HOME=c:\jdk-full-path.....
set ANT_HOME=
rm -rf bootstrap
.\bootstrap
.\bootstrap\bin\ant -f fetch.xml
.\bootstrap\bin\ant dist
- Alexey.
On 8/26/06, Mark McKay <[EMAIL PROTECTED]> wrote:
That didn't help much. Now I can no longer access Ant. When I try to
run build.bat, I get the following message:
$ build.bat
error: Missing required jar files.
The Ant tool is required. Download Ant from the following URL
http://jakarta.apache.org/ant/index.html and place the ant.jar
file in the lib/ directory.
Please download Xalan2 from http://xml.apache.org/dist/xalan-j/
and place the following files in the lib/ directory:
xml-apis.jar
xalan.jar
xercesImpl.jar
Please download Xerces2 from http://xml.apache.org/dist/xerces-j/
and place the following files in the lib/ directory:
xercesSamples.jar
If building ManekiNeko, James Clark's Jing Relax NG validator
is also required. Please download the Jar file distribution
from http://www.thaiopensource.com/relaxng/jing.html and place
the following file in the lib/ directory:
jing.jar
I tried collcting all these jars, to no avail. When I try to download
the xalan.jar mentioned, the server responds with a Forbidden error.
This seems like a lot of work to just download the latest binary of the
beta. Is there some guide as to how to build ant 1.7? Or is it
already
built somewhere?
Mark McKay
Alexey Solofnenko wrote:
> I would guess you need to bootstrap new ANT. Remove ANT_HOME
environment
> variable and run bootstrap script.
>
> - Alexey.
>
> On 8/26/06, Mark McKay <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I'm having trouble building Ant 1.7.0beta, and am wondering how to
>> either do it form the ant-core files on the svn repository, or if
>> someone has helpfully already built them and uploaded them
somewhere.
>>
>> I am currently running Ant 1.6.5 with java 1.6.0_96beta. When I
try to
>> build the svn source by typing 'ant' in the root directory, I get
the
>> error message
>>
>> $ ant
>> Buildfile: build.xml
>>
>> prepare:
>>
>> check_for_optional_packages:
>>
>> BUILD FAILED
>> C:\dev\svn.apache.org\ant-core\build.xml:587: Class
>> org.apache.tools.ant.taskdef
>> s.condition.Or doesn't support the nested "parsersupports" element.
>>
>> Apparently, ant 1.7 can't be built with ant 1.6.5. What can I do to
get
>> the beta build? I'd like to use the new <apt> task.
>>
>> Mark McKay
>>
>>
---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]