> $ echo $CLASSPATH > /usr/local/share/java/classes/ I've found this page very useful when working with webapps and classpaths http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
I normally clear my classpath and go with what they recommend on the Tomcat site > but hey since i upgraded ant, i cannot even build jetspeed anymore..... > Jetspeed is at Ant 1.5. I see Ant is now at 1.5.1 Your probably the first one to try 1.5.1 with Jetspeed. I'll try to look into it soon. You could log a bug though... > cochise# pwd > /usr/local/jakarta-ant-1.5.1/lib > cochise# ll > total 2316 > -r--r--r-- 1 root wheel 682 Oct 14 07:32 README > -r--r--r-- 1 root wheel 717666 Oct 14 07:32 ant.jar > lrwxr-xr-x 1 root wheel 25 Oct 15 16:27 crimson.jar -> > ../../classes/crimson.jar > lrwxr-xr-x 1 root wheel 22 Oct 15 16:27 jaxp.jar -> > ../../classes/jaxp.jar > -r--r--r-- 1 root wheel 654735 Oct 14 07:32 optional.jar > -r--r--r-- 1 root wheel 831473 Oct 14 07:32 xercesImpl.jar > -r--r--r-- 1 root wheel 108484 Oct 14 07:32 xml-apis.jar > Jetspeed comes with everything you need in the webapp distribution. No need to put xerces etc in your classpath since we compile to a specific version In fact it usually causes problems such as the one below > <mondo snippage> > > [javac] > /usr/local/src/jakarta-jetspeed/src/java/org/apache/jetspeed/util/ > SimpleTransform.java:481: > cannot resolve symbol > [javac] symbol : class SAXSource > [javac] location: class org.apache.jetspeed.util.SimpleTransform > [javac] final SAXSource xinput = new SAXSource( is > ); > [javac] ^ > [javac] > /usr/local/src/jakarta-jetspeed/src/java/org/apache/jetspeed/util/ > SimpleTransform.java:481: > cannot resolve symbol > [javac] symbol : class SAXSource > [javac] location: class org.apache.jetspeed.util.SimpleTransform > [javac] final SAXSource xinput = new SAXSource( is > ); > [javac] ^ > [javac] > /usr/local/src/jakarta-jetspeed/src/java/org/apache/jetspeed/util/ > SimpleTransform.java:496: > cannot resolve symbol > [javac] symbol: class StreamResult > [javac] new > StreamResult( pw ) ); > [javac] ^ > [javac] Note: Some input files use or override a deprecated API. > [javac] Note: Recompile with -deprecation for details. > [javac] 48 errors > I recommend clearing your classpath and trying to compile again. A lot of shops I've worked in always like for you to clear the classpath and use the team's build environment/classpath. Its really cuts down on support issues if everyone is on the same jars. > so whether i try installing from precompiled war or compile, i am hosed. > i wanted to learn a bit about java, not require a ph.d. before i could > begin to figure anything out. Don't give up yet, you've only asked one question, no big deal. You should've seen me on my first Open Source project. I asked a lot of dumb questions, took me forever to figure anything out. Ive only been on Java for 4 years. Hell I still type #include at the top of my source code > > as far as the php nukes go-- php nuke has security ongoing security > issues, post-nuke forked and could be cool, except one of the lead > developers behind the fork got killed in car crash. additional dev > disagreements have led to yet another fork, so who knows where > post-nuke is going... xoops.org is php and oo based, uses the smarty > template engine, and shows promise but is too immature yet. could have > had phpgroupware up and running 100 times, but, hey, i wanted to have a > learning experience.... the curve seems rather steep, however.... Ive used PHP before, had a very bad trip, or maybe that was LSD > > my post was that i am a jetspeed newbie, not that i was clueless. by > way of a bit of background: been a unix sysadmin for some years and > experienced on both i386 and the big iron. primarily fbsd on the i386 > and hp-ux on the big iron, but also experienced to some degree with > redhat, debian, and slow-aris. used to think i was reasonably > intelligent as well. something is fundamentally wrong here if i am > having so much difficulty making this app run, which is not to say the > problem is not on my end, as it probbaly is. i am a tenacious sort and > hate to give up on this because, like i said in my initial post, > jetspeed looks cool. i'm willing to stick with it a bit longer if i > can get some help pointing me in the right direction, but at this point > i am chasing my tail in circles and at a loss as to where i need to go > next on my own without first settling down to learning java... sorry > about the rant, but i am not accustomed to not being able to figure > things like this out. > > thanks for your time. > np - don't give up, the people are usually very helpful on the list, just sometimes busy and questions occasionally slip by David -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
