Re: SessionExample from the examples webapp

2011-04-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 János, On 4/28/2011 11:41 AM, János Löbb wrote: > Thanks a lot for the suggestion. Where should I look for those > scripts ? If you have the source, you have the build scripts: build.xml and friends are used with Apache ant. > In the meantime I sol

Re: SessionExample from the examples webapp

2011-04-28 Thread János Löbb
On Apr 28, 2011, at 4:53 PM, Konstantin Kolinko wrote: > 2011/4/29 János Löbb : >> Hi Konstantin, Chuck, >> >> I think I tried also with .../WEB-INF/classes and it still complained that >> it could not find or open the util package. Then I moved the two >> HTMLFilter.* files out from there a

Re: SessionExample from the examples webapp

2011-04-28 Thread Konstantin Kolinko
2011/4/29 János Löbb : > Hi Konstantin, Chuck, > > I think I tried also with .../WEB-INF/classes and it still complained that it > could not find or open the util package.  Then I moved the two HTMLFilter.* > files out from there a level up, commented out the package declaration in > HTMLFilter.

Re: SessionExample from the examples webapp

2011-04-28 Thread János Löbb
Hi Konstantin, Chuck, I think I tried also with .../WEB-INF/classes and it still complained that it could not find or open the util package. Then I moved the two HTMLFilter.* files out from there a level up, commented out the package declaration in HTMLFilter.java and then javac compiled Sessi

RE: SessionExample from the examples webapp

2011-04-28 Thread Caldarale, Charles R
> From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > Subject: Re: SessionExample from the examples webapp > 2 Chuck: OP is building its own app, not Tomcat. Hmmm... from the discussion, I thought the OP was building a modified examples webapp that was included with To

Re: SessionExample from the examples webapp

2011-04-28 Thread Konstantin Kolinko
2011/4/28 János Löbb : > Hi, > > Adding some -claspath based upon man javac, I reduced the number of errors to > two. > > bml0065:classes administrator$ sudo javac -classpath > /usr/local/apache-tomcat-7.0.10/webapps/examples/WEB-INF/classes/util: The above should have been .../WEB-INF/classes

RE: SessionExample from the examples webapp

2011-04-28 Thread Caldarale, Charles R
> From: János Löbb [mailto:janos.l...@yale.edu] > Subject: Re: SessionExample from the examples webapp > Where should I look for those scripts ? The link is on the Tomcat 7 doc page: http://tomcat.apache.org/tomcat-7.0-doc/building.html - Chuck THIS COMMUNICATION MAY CONTAIN CON

Re: SessionExample from the examples webapp

2011-04-28 Thread János Löbb
Hi Chris, Thanks a lot for the suggestion. Where should I look for those scripts ? In the meantime I solved - hopefully - my problem. For some reason the javac did not recognized the util folder or the util package declaration in HTMLFilter.java in the util folder. So I moved it out from the

Re: SessionExample from the examples webapp

2011-04-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 János, On 4/27/2011 4:26 PM, János Löbb wrote: > Adding some -claspath based upon man javac, I reduced the number of errors to > two. Save yourself some time and use the build scripts that come with Tomcat: they are capable of building TC with no er

Re: SessionExample from the examples webapp

2011-04-27 Thread János Löbb
Hi, Adding some -claspath based upon man javac, I reduced the number of errors to two. bml0065:classes administrator$ sudo javac -classpath /usr/local/apache-tomcat-7.0.10/webapps/examples/WEB-INF/classes/util:/usr/local/apache-tomcat-7.0.10/lib/servlet-api.jar SessionExample.java SessionExamp