1855236 Members
9972 Online
104109 Solutions
New Discussion

Ant build issues

 
ambika_1
Frequent Advisor

Ant build issues

Hi,

I am trying to build Ant on HPUX 11.11 and above. According to README.hp its requires only to jar files xercesImpl.jar and xml-apis.jar.
Its not building all deliverable jar files correctly because of some external jar files missing. Those are some 18 jar files.List is attached. But all the jar files are not available in the web(Only four are missing those are IContract.jar Stylebook.jar xalan.jar,JAI - Java Advanded Imaging jar files).
Build is failing if i try to include some of these external jar files.
How to resolve this error?

8 REPLIES 8
Arunvijai_4
Honored Contributor

Re: Ant build issues

Hi Ambika,

You can download precompiled ant package from Internet express suite,

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111

Also, it is available from here as well,

http://www.signal42.com/mirrors/apache/ant/binaries/apache-ant-1.6.5-bin.zip

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
ambika_1
Frequent Advisor

Re: Ant build issues

Hi Arun,

Ya i did that. But i wanted to build from the source code.


-Ambika

Arunvijai_4
Honored Contributor

Re: Ant build issues

Ambika,

Can you give me a clear picture of what is missing ? Those are some 18 jar files.List is attached. But all the jar files are not available in the web(Only four are missing those are IContract.jar Stylebook.jar xalan.jar,JAI - Java Advanded Imaging jar files). ???


-Arun

P.S Remember to assign points
"A ship in the harbor is safe, but that is not what ships are built for"
ambika_1
Frequent Advisor

Re: Ant build issues

Hi Arun,

According to README.hp ant requires only two jar files xercesImpl.jar and xml-apis.jar. If we build using this we will get required jar files but they will be empty jar files they will not contain actual class files inside.
According to Ant open source website we should include those 18 jar files from the web. My question is wether we should take those external jar files or not. If we should, then IContract.jar Stylebook.jar xalan.jar,JAI - Java Advanded Imaging jar files are not available.

Arunvijai_4
Honored Contributor

Re: Ant build issues

Hi Ambika,

Yes, to a build a successful "ant" from source, you need to install all the 18 jar specified. When i did the build for earlier versions, i installed all jar files and built it.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
ambika_1
Frequent Advisor

Re: Ant build issues

Hi,
I am unable to get IContract.jar Stylebook.jar xalan.jar,JAI - Java Advanded Imaging jar files these jar files. Can you tell me the location of these jar files? From where you got those Jar files?


-Ambika
Arunvijai_4
Honored Contributor

Re: Ant build issues

Hi Ambika,

IContract.jar

This should be inside Ant source, Check out properly.

Stylebook.jar
http://xmlgraphics.apache.org/fop/index.html

xalan.jar
Xalan is part of Internet Express, you can download from
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111

JAI - Java Advanded Imaging jar
This is part of JDK, check in /opt/java1.4/
or /opt/java1.5

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Arunvijai_4
Honored Contributor

Re: Ant build issues

As well, you can assign points

http://forums1.itrc.hp.com/service/forums/helptips.do?#28

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"