Building Tomat 6

View: New views
9 Messages — Rating Filter:   Alert me  

Building Tomat 6

by Richard Sayre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am trying to build tomcat 6 as per these instructions:

http://tomcat.apache.org/tomcat-6.0-doc/building.html

I keep getting this error when i try to build:

C:\rich\downloads\apache-tomcat-6.0.16-src\apache-tomcat-6.0.16-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;

I also get this for some other packages:

package org.eclipse.jdt.internal.compiler does not exist
package org.eclipse.jdt.internal.compiler.classfmt

Is there a Jar that I am missing?  I'm not sure where to find the
classes it's looking for.

---------------------------------------------------------------------
To start a new topic, e-mail: users@...
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Building Tomat 6

by markt-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Richard Sayre wrote:

> I am trying to build tomcat 6 as per these instructions:
>
> http://tomcat.apache.org/tomcat-6.0-doc/building.html
>
> I keep getting this error when i try to build:
>
> C:\rich\downloads\apache-tomcat-6.0.16-src\apache-tomcat-6.0.16-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;
>
> I also get this for some other packages:
>
> package org.eclipse.jdt.internal.compiler does not exist
> package org.eclipse.jdt.internal.compiler.classfmt
>
> Is there a Jar that I am missing?  I'm not sure where to find the
> classes it's looking for.

Have you completed the "ant download" step? Where did those files end up?

Mark


---------------------------------------------------------------------
To start a new topic, e-mail: users@...
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Building Tomat 6

by Richard Sayre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes the ended up in c:\user\share\java

I found the jdt plugin online and added it to c:\user\share\java\eclipse\plugins

Then my compile worked.  But Im not sure if it took the proper source.

I replaced the source files with the 2 found here:

http://svn.apache.org/viewvc?view=rev&revision=631700

for the bug linked on that page.

After I recompiled and replaced the  catalina.jar and
tomcat-coyote.jar in my tomcat lib filder in my test env, I seem to be
still getting the 8KB limit bug.  Im not sure if i did the build
right.



On Wed, May 7, 2008 at 4:27 PM, Mark Thomas <markt@...> wrote:

>
> Richard Sayre wrote:
>
> > I am trying to build tomcat 6 as per these instructions:
> >
> > http://tomcat.apache.org/tomcat-6.0-doc/building.html
> >
> > I keep getting this error when i try to build:
> >
> >
> C:\rich\downloads\apache-tomcat-6.0.16-src\apache-tomcat-6.0.16-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;
> >
> > I also get this for some other packages:
> >
> > package org.eclipse.jdt.internal.compiler does not exist
> > package org.eclipse.jdt.internal.compiler.classfmt
> >
> > Is there a Jar that I am missing?  I'm not sure where to find the
> > classes it's looking for.
> >
>
>  Have you completed the "ant download" step? Where did those files end up?
>
>  Mark
>
>
>  ---------------------------------------------------------------------
>  To start a new topic, e-mail: users@...
>  To unsubscribe, e-mail: users-unsubscribe@...
>  For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@...
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Building Tomat 6

by markt-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Richard Sayre wrote:
> Yes the ended up in c:\user\share\java
>
> I found the jdt plugin online and added it to c:\user\share\java\eclipse\plugins

That suggests your build environment isn't correct.

> Then my compile worked.  But Im not sure if it took the proper source.

Neither am I ;)

> I replaced the source files with the 2 found here:
>
> http://svn.apache.org/viewvc?view=rev&revision=631700
>
> for the bug linked on that page.
>
> After I recompiled and replaced the  catalina.jar and
> tomcat-coyote.jar in my tomcat lib filder in my test env, I seem to be
> still getting the 8KB limit bug.  Im not sure if i did the build
> right.

Safest bet is to do a svn checkout of:
http://svn.apache.org/repos/asf/tomcat/trunk/

and do a clean build.

Mark

---------------------------------------------------------------------
To start a new topic, e-mail: users@...
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Building Tomat 6

by Richard Sayre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I was just getting ready to do that but I have no knowledge of SVN or
how to use it.

Is there a client that I can download so I can 'get latest' and get
the latest code from the trunk?

I found this link on the Build how-to
http://svn.apache.org/repos/asf/tomcat/tc6.0.x/


On Wed, May 7, 2008 at 5:18 PM, Mark Thomas <markt@...> wrote:

> Richard Sayre wrote:
>
> > Yes the ended up in c:\user\share\java
> >
> > I found the jdt plugin online and added it to
> c:\user\share\java\eclipse\plugins
> >
>
>  That suggests your build environment isn't correct.
>
>
>
> > Then my compile worked.  But Im not sure if it took the proper source.
> >
>
>  Neither am I ;)
>
>
>
> > I replaced the source files with the 2 found here:
> >
> > http://svn.apache.org/viewvc?view=rev&revision=631700
> >
> > for the bug linked on that page.
> >
> > After I recompiled and replaced the  catalina.jar and
> > tomcat-coyote.jar in my tomcat lib filder in my test env, I seem to be
> > still getting the 8KB limit bug.  Im not sure if i did the build
> > right.
> >
>
>  Safest bet is to do a svn checkout of:
>  http://svn.apache.org/repos/asf/tomcat/trunk/
>
>  and do a clean build.
>
>
>
>  Mark
>
>  ---------------------------------------------------------------------
>  To start a new topic, e-mail: users@...
>  To unsubscribe, e-mail: users-unsubscribe@...
>  For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@...
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Building Tomat 6

by Richard Sayre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok I downloaded Rapid SVN, but I get an access denied when trying to
add the URL when Importing the repository.

Do I need a user/passsword?

On Wed, May 7, 2008 at 5:26 PM, Richard Sayre <richardsayre@...> wrote:

> I was just getting ready to do that but I have no knowledge of SVN or
>  how to use it.
>
>  Is there a client that I can download so I can 'get latest' and get
>  the latest code from the trunk?
>
>  I found this link on the Build how-to
>  http://svn.apache.org/repos/asf/tomcat/tc6.0.x/
>
>
>
>
>  On Wed, May 7, 2008 at 5:18 PM, Mark Thomas <markt@...> wrote:
>  > Richard Sayre wrote:
>  >
>  > > Yes the ended up in c:\user\share\java
>  > >
>  > > I found the jdt plugin online and added it to
>  > c:\user\share\java\eclipse\plugins
>  > >
>  >
>  >  That suggests your build environment isn't correct.
>  >
>  >
>  >
>  > > Then my compile worked.  But Im not sure if it took the proper source.
>  > >
>  >
>  >  Neither am I ;)
>  >
>  >
>  >
>  > > I replaced the source files with the 2 found here:
>  > >
>  > > http://svn.apache.org/viewvc?view=rev&revision=631700
>  > >
>  > > for the bug linked on that page.
>  > >
>  > > After I recompiled and replaced the  catalina.jar and
>  > > tomcat-coyote.jar in my tomcat lib filder in my test env, I seem to be
>  > > still getting the 8KB limit bug.  Im not sure if i did the build
>  > > right.
>  > >
>  >
>  >  Safest bet is to do a svn checkout of:
>  >  http://svn.apache.org/repos/asf/tomcat/trunk/
>  >
>  >  and do a clean build.
>  >
>  >
>  >
>  >  Mark
>  >
>  >  ---------------------------------------------------------------------
>  >  To start a new topic, e-mail: users@...
>  >  To unsubscribe, e-mail: users-unsubscribe@...
>  >  For additional commands, e-mail: users-help@...
>  >
>  >
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@...
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Building Tomat 6

by Rainer Jung-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Richard Sayre schrieb:
> Ok I downloaded Rapid SVN, but I get an access denied when trying to
> add the URL when Importing the repository.
>
> Do I need a user/passsword?

No, the repository is public for reading. If you try to retrieve via
https instead of http, there wil be an authentication, but not for http.

Regards,

Rainer

> On Wed, May 7, 2008 at 5:26 PM, Richard Sayre <richardsayre@...> wrote:
>> I was just getting ready to do that but I have no knowledge of SVN or
>>  how to use it.
>>
>>  Is there a client that I can download so I can 'get latest' and get
>>  the latest code from the trunk?
>>
>>  I found this link on the Build how-to
>>  http://svn.apache.org/repos/asf/tomcat/tc6.0.x/
>>
>>
>>
>>
>>  On Wed, May 7, 2008 at 5:18 PM, Mark Thomas <markt@...> wrote:
>>  > Richard Sayre wrote:
>>  >
>>  > > Yes the ended up in c:\user\share\java
>>  > >
>>  > > I found the jdt plugin online and added it to
>>  > c:\user\share\java\eclipse\plugins
>>  > >
>>  >
>>  >  That suggests your build environment isn't correct.
>>  >
>>  >
>>  >
>>  > > Then my compile worked.  But Im not sure if it took the proper source.
>>  > >
>>  >
>>  >  Neither am I ;)
>>  >
>>  >
>>  >
>>  > > I replaced the source files with the 2 found here:
>>  > >
>>  > > http://svn.apache.org/viewvc?view=rev&revision=631700
>>  > >
>>  > > for the bug linked on that page.
>>  > >
>>  > > After I recompiled and replaced the  catalina.jar and
>>  > > tomcat-coyote.jar in my tomcat lib filder in my test env, I seem to be
>>  > > still getting the 8KB limit bug.  Im not sure if i did the build
>>  > > right.
>>  > >
>>  >
>>  >  Safest bet is to do a svn checkout of:
>>  >  http://svn.apache.org/repos/asf/tomcat/trunk/
>>  >
>>  >  and do a clean build.
>>  >
>>  >
>>  >
>>  >  Mark
>>  >
>>  >  ---------------------------------------------------------------------
>>  >  To start a new topic, e-mail: users@...
>>  >  To unsubscribe, e-mail: users-unsubscribe@...
>>  >  For additional commands, e-mail: users-help@...
>>  >
>>  >
>>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@...
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@...
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Building Tomat 6

by markt-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Richard Sayre wrote:
> Ok I downloaded Rapid SVN, but I get an access denied when trying to
> add the URL when Importing the repository.
>
> Do I need a user/passsword?

No. As long as you are just reading the repo you should be fine.

Mark

---------------------------------------------------------------------
To start a new topic, e-mail: users@...
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Building Tomat 6

by Richard Sayre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok I figured it out.  I got the latest and did a build and everything
worked ok.

Thanks everyone for the help.

On Wed, May 7, 2008 at 7:16 PM, Mark Thomas <markt@...> wrote:

> Richard Sayre wrote:
>
> > Ok I downloaded Rapid SVN, but I get an access denied when trying to
> > add the URL when Importing the repository.
> >
> > Do I need a user/passsword?
> >
>
>  No. As long as you are just reading the repo you should be fine.
>
>
>
>  Mark
>
>  ---------------------------------------------------------------------
>  To start a new topic, e-mail: users@...
>  To unsubscribe, e-mail: users-unsubscribe@...
>  For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@...
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...