Okay.. I'm not sure how you dos mangled it, but I'd grab a clean build that hasn't been mangled. Then I'm assuming that you're meaning someone running a servlet or something.. Poi is just a libarary.. . so grab the jar file from the build directory and stick it wherever you put the rest of the jar files.. There is no "install" info because its just a jar file...put it wherever you need it. I suppose in your case this would be in WEB-INF/lib for your web application, but thats of course a guess. Its entirely about where the jar goes...

-Andy

John Larsen wrote:

Alright we are getting somewhere.. they are indeed dos mangled!

Ive installed dos2unix to convert them and the build started. But ive come
across this:
-------------------------------------------------------------
These are the most common build targets.
You can also invoke them directly; see build.xml for more info.
Builds will be in /build directory, distributions in /dist.

What am i supposed to choose? Im installing POI for a hosting customer.
Shame theres no install info for POI.. at least i didnt find any..

Im leaving shell as it is until i get answer for above.. Thanks!

-John

----- Original Message -----
From: "Andrew C. Oliver" <[EMAIL PROTECTED]>
To: "POI Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 13, 2002 4:50 PM
Subject: Re: POI build not working



if you have vim installed (which may be aliased as just plain vi) if you
'vi build.sh' it should put [dos mode] at the bottom...

[esc]:g/^V^M/s///g should take care of it

(^V== ctrl-v and ^M==ctrl-m)

or you can rpmfind dos2unix and install that... I'd do that, its pretty
useful...

How would this happen.... if you opened the build in a windows editor or
some editor that likes to put the nasty little ^Ms in the file... (you
may also be able to see those in vi)

-Andy

John Larsen wrote:


You're sure it hasn't gotten windows/dos mangled linefeeds?



Uhm good question. If not too time consuming how do i check and if so how

to

i fix?

Sorry for such newbie question..

-John

----- Original Message -----
From: "Andrew C. Oliver" <[EMAIL PROTECTED]>
To: "POI Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 13, 2002 4:08 PM
Subject: Re: POI build not working





You're sure it hasn't gotten windows/dos mangled linefeeds?

John Larsen wrote:




Hello,

Anyone have any idea why my build isnt work on RH linux 7.2?
I was getting bad interpreter error. I changed the heading to reflect

the

actual bash location instead of /bin/sh. But still ant in the
tools/antipede/bin is still not working..

Any ideas?

Thanks!
-John
----- Original Message -----
From: "Andrew C. Oliver" <[EMAIL PROTECTED]>
To: "POI Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 13, 2002 3:50 PM
Subject: Re: POI build not working







Ken... if you want to upgrade to the latest centipede in its current
state... I'm going to be out of comission basically for 2 weeks anyhow
so thats like 2 weeks for you to break the build without any whining



from me ;-)


-Andy

Nicola Ken Barozzi wrote:






POI doesn't use tools.jar directly, so that's why the build works.
tools.jar is used in projects like Cocoon where the sun java compiler
classes are invoked directly, not in POI.

Is the check for tools.jar wrong?
Yes, it is, and has been corrected in latest Centipede, but since POI
still uses the old version with no problems, we are waiting at least
for next Centipede beta to upgrade.

Sorry for the inconvenience.

Andrew C. Oliver wrote:






Truth be told you've managed to get deeper into the build than I

ever

have (or really quite honestly care to).. I've pinged Nicola Ken to
maybe lend a hand... I've honestly no idea... AFAIK that is some
hack to get around issues on the Mac or something...

-Andy

[EMAIL PROTECTED] wrote:






Thanks for your reply Andy,

I think the JDK version may be the reason behind my second error.
I'll have
to beg the powers that be for a PTF to be applied so we can get our
iSeries
up to version 1.3. However, you still haven't explained why the

build

script works anywhere. The check for tools.jar is obviously wrong.
This is
not a case sensativity thing I may have type Java_Home in mixed

case

once
or twice when relaying my issue but this is definitely not the
issue. Where
is tools.jar located on your system? Where is build.xtarget looking
to find
it? Is my copy of the file corrupt or am I over looking the
tools.jar file
as it is found in Win2K?





--
To unsubscribe, e-mail:



<mailto:poi-user-unsubscribe@;jakarta.apache.org>



For additional commands, e-mail:



<mailto:poi-user-help@;jakarta.apache.org>




--
To unsubscribe, e-mail:



<mailto:poi-user-unsubscribe@;jakarta.apache.org>



For additional commands, e-mail:



<mailto:poi-user-help@;jakarta.apache.org>






--
To unsubscribe, e-mail:

<mailto:poi-user-unsubscribe@;jakarta.apache.org>

For additional commands, e-mail:

<mailto:poi-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:

<mailto:poi-user-unsubscribe@;jakarta.apache.org>

For additional commands, e-mail:

<mailto:poi-user-help@;jakarta.apache.org>




--
To unsubscribe, e-mail: <mailto:poi-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:poi-user-help@;jakarta.apache.org>



--
To unsubscribe, e-mail: <mailto:poi-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:poi-user-help@;jakarta.apache.org>




--
To unsubscribe, e-mail:   <mailto:poi-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:poi-user-help@;jakarta.apache.org>

Reply via email to