Re: Trying to build tomcat 6.0.18

2008-09-03 Thread Jack Woehr

Caldarale, Charles R wrote:

There has been some recent revision of the Eclipse web site that was making it 
difficult for a script to retrieve the JDT jar.

Thanks, Charles, clean and rebuild worked.

--
Jack J. Woehr# "Self-delusion is
http://www.well.com/~jax #  half the battle!"
http://www.softwoehr.com #  - Zippy the Pinhead


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Trying to build tomcat 6.0.18

2008-09-03 Thread Caldarale, Charles R
> From: Jack Woehr [mailto:[EMAIL PROTECTED]
> Subject: Re: Trying to build tomcat 6.0.18
>
> package org.eclipse.jdt.core.compiler does not exist

There has been some recent revision of the Eclipse web site that was making it 
difficult for a script to retrieve the JDT jar.  However, I just tried it on my 
XP laptop (with cygwin and ant 1.7.0; no access to Linux where I am at the 
moment) and it worked fine.  Look in the tomcat6-deps/jdt directory for 
jasper-jdt.jar; if it's not there, the download failed, and you may need to 
pull down the .zip file manually.

>1. The download target failed to download an artifact

Probably.

>2. There's an option -Dwithout.eclipse=true or somesuch

I don't think there is for Tomcat builds, since at least some of the JSPs get 
pre-compiled during the process.

>3. I'm losing my mind in some fashion :)

Always a possibility in this day and age...

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Trying to build tomcat 6.0.18

2008-09-03 Thread Jack Woehr

Mark Thomas wrote:

Clean out the build area and start again.

With a 1.5 JDK it should be as simple as
ant download
ant
  

Awesome, that works. But in dist.xml is there a target
called something like [EMAIL PROTECTED] ? :)

--
Jack J. Woehr# "Self-delusion is
http://www.well.com/~jax #  half the battle!"
http://www.softwoehr.com #  - Zippy the Pinhead


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Trying to build tomcat 6.0.18

2008-09-03 Thread Mark Thomas
Jack Woehr wrote:
> Martin Gainty wrote:
>> Jack-
>>
>> did you take chucks advice and build with JDK 1.5 ?
>>   
> Yes .. now I've got a different problem :)

Clean out the build area and start again.

With a 1.5 JDK it should be as simple as
ant download
ant

Mark


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Trying to build tomcat 6.0.18

2008-09-03 Thread Jack Woehr

Martin Gainty wrote:

Jack-

did you take chucks advice and build with JDK 1.5 ?
  

Yes .. now I've got a different problem :)

E.g.,

compile:
   [javac] Compiling 1047 source files to 
/usr/local/src/Apache/Tomcat/apache-tomcat-6.0.18-src/output/classes
   [javac] 
/usr/local/src/Apache/Tomcat/apache-tomcat-6.0.18-src/java/org/apache/jasper/compiler/JDTCompiler.java:38: 
package org.eclipse.jdt.core.compiler does not exist

   [javac] import org.eclipse.jdt.core.compiler.IProblem;

...

   [javac] 
/usr/local/src/Apache/Tomcat/apache-tomcat-6.0.18-src/java/org/apache/jasper/compiler/JDTCompiler.java:401: 
cannot find symbol

   [javac] symbol  : class ICompilationUnit
   [javac] location: class org.apache.jasper.compiler.JDTCompiler
   [javac] ICompilationUnit[] compilationUnits =
   [javac] ^
   [javac] 
/usr/local/src/Apache/Tomcat/apache-tomcat-6.0.18-src/java/org/apache/jasper/compiler/JDTCompiler.java:402: 
cannot find symbol

   [javac] symbol  : class ICompilationUnit
   [javac] location: class org.apache.jasper.compiler.JDTCompiler
   [javac] new ICompilationUnit[classNames.length];
   [javac] ^
   [javac] 
/usr/local/src/Apache/Tomcat/apache-tomcat-6.0.18-src/java/org/apache/jasper/compiler/JDTCompiler.java:407: 
org.apache.jasper.compiler.Compiler is abstract; cannot be instantiated

   [javac] Compiler compiler = new Compiler(env,
   [javac] ^


etc. ...

Haven't looked yet to verify if:

  1. The download target failed to download an artifact
  2. There's an option -Dwithout.eclipse=true or somesuch
  3. I'm losing my mind in some fashion :)

--
Jack J. Woehr# "Self-delusion is
http://www.well.com/~jax #  half the battle!"
http://www.softwoehr.com #  - Zippy the Pinhead



RE: Trying to build tomcat 6.0.18

2008-09-03 Thread Martin Gainty

Jack-

did you take chucks advice and build with JDK 1.5 ?

Martin 
__ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 


> Date: Tue, 2 Sep 2008 23:08:28 -0600
> From: [EMAIL PROTECTED]
> To: users@tomcat.apache.org
> Subject: Trying to build tomcat 6.0.18
> 
> Trying to build tomcat 6.0.18 ...  ant 
> -Dbase.dir=/usr/local/work/Java/Tomcat download bombs around here ... 
> tips? :
> 
> build-tomcat-dbcp:
>  [copy] Copying 63 files to 
> /usr/local/work/Java/Tomcat/tomcat6-deps/dbcp
>  [move] Moving 63 files to 
> /usr/local/work/Java/Tomcat/tomcat6-deps/dbcp/src/java/org/apache/tomcat/dbcp
> [javac] Compiling 63 source files to 
> /usr/local/work/Java/Tomcat/tomcat6-deps/dbcp/classes
> [javac] 
> /usr/local/work/Java/Tomcat/tomcat6-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/BasicDataSource.java:44:
>  
> org.apache.tomcat.dbcp.dbcp.BasicDataSource is not abstract and does not 
> override abstract method 
> createQueryObject(java.lang.Class,javax.sql.DataSource) in 
> javax.sql.DataSource
> 
> -- 
> Jack J. Woehr# "Self-delusion is
> http://www.well.com/~jax #  half the battle!"
> http://www.softwoehr.com #  - Zippy the Pinhead
> 
> 
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

_
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008

Re: Trying to build tomcat 6.0.18

2008-09-02 Thread Jack Woehr

Caldarale, Charles R wrote:

You need to build with a 1.5 JDK,

Thank you so kindly!

--
Jack J. Woehr# "Self-delusion is
http://www.well.com/~jax #  half the battle!"
http://www.softwoehr.com #  - Zippy the Pinhead


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Trying to build tomcat 6.0.18

2008-09-02 Thread Caldarale, Charles R
> From: Jack Woehr [mailto:[EMAIL PROTECTED]
> Subject: Trying to build tomcat 6.0.18
>
> Trying to build tomcat 6.0.18 ...

The first question: why are you trying to build it?  It's pure Java, so the 
binary downloads will run on any platform.

> does not override abstract method
> createQueryObject(java.lang.Class,javax.sql.DataSource) in
> javax.sql.DataSource

You need to build with a 1.5 JDK, even if you're going to run on 1.6 (setting 
source and target is not sufficient - it has to be a 1.5 JDK).  Sun added a new 
method to the javax.sql.DataSource interface in 1.6, and Tomcat does not yet 
implement it.  (This is really a JDK versioning issue that Sun needs to 
resolve, but hasn't yet.)

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]