RE: Compile errors :Building jetspeed examples
Hi , Thanks for the reply. Earlier I had modified build.properties (D:\Jetspeed\jportal\torque3\build.properties ) to set torque.useClasspath to 'false' , because with original setting (torque.useClasspath = true) I was getting errors : file:D:/Jetspeed/jportal/torque3/build-torque.xml:198: The task doesn't support the "useclasspath" attribute. If I set this useClasspath to false then ant task fails at compile to not find BaseCoffees classes. Is there any problem with ant version of my system. Its 1.5.4 Pls let me know where am I doing wrong. Thanks a lot Shailesh -Original Message- From: Stijn de Witt [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 9:48 PM To: Jetspeed Users List; [EMAIL PROTECTED] Subject: Re: Compile errors :Building jetspeed examples See below for comments - Original Message - From: "Shailesh Modi" <[EMAIL PROTECTED]> To: "'Jetspeed Users List'" <[EMAIL PROTECTED]> Sent: Thursday, February 12, 2004 10:21 AM Subject: RE: Compile errors :Building jetspeed examples > Hi, > I have changed the settings to original. > > When I try to build the tutorial jportal, the BaseCoffees and > BaseCoffeesPeer classes are not found. Is there a step missing in > the install instructions? > The BaseCoffees and BaseCoffeesPeer classes are generated by torque in the om: step of the ant build process, see below > Pls see errors below > > Thanks a lot > > = > D:\Jetspeed\jportal>ant war > Buildfile: build.xml > > prepare: > check_om: > om: This is where you're Object Model classes should be generated by torque. since nothing happens here, it must 'think' the are up to date... > > check_for_jetspeed_jar: > jar_prepare_error: > compile: > [javac] Compiling 16 source files to > D:\Jetspeed\jportal\bin\WEB-INF\classes > [javac] > D:\Jetspeed\jportal\src\java\com\bluesunrise\jportal\om\Coffees.java:17: > cannot > resolve symbol > [javac] symbol : class BaseCoffees > [javac] location: package om > [javac] extends com.bluesunrise.jportal.om.BaseCoffees > [javac] ^ > [javac] The look to me to be caused by a wrong classpath... Can you do something with this? -Stijn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Compile errors :Building jetspeed examples
See below for comments - Original Message - From: "Shailesh Modi" <[EMAIL PROTECTED]> To: "'Jetspeed Users List'" <[EMAIL PROTECTED]> Sent: Thursday, February 12, 2004 10:21 AM Subject: RE: Compile errors :Building jetspeed examples > Hi, > I have changed the settings to original. > > When I try to build the tutorial jportal, the BaseCoffees and > BaseCoffeesPeer classes are not found. Is there a step missing in > the install instructions? > The BaseCoffees and BaseCoffeesPeer classes are generated by torque in the om: step of the ant build process, see below > Pls see errors below > > Thanks a lot > > = > D:\Jetspeed\jportal>ant war > Buildfile: build.xml > > prepare: > check_om: > om: This is where you're Object Model classes should be generated by torque. since nothing happens here, it must 'think' the are up to date... > > check_for_jetspeed_jar: > jar_prepare_error: > compile: > [javac] Compiling 16 source files to > D:\Jetspeed\jportal\bin\WEB-INF\classes > [javac] > D:\Jetspeed\jportal\src\java\com\bluesunrise\jportal\om\Coffees.java:17: > cannot > resolve symbol > [javac] symbol : class BaseCoffees > [javac] location: package om > [javac] extends com.bluesunrise.jportal.om.BaseCoffees > [javac] ^ > [javac] The look to me to be caused by a wrong classpath... Can you do something with this? -Stijn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Compile errors :Building jetspeed examples
Hi, I have changed the settings to original. When I try to build the tutorial jportal, the BaseCoffees and BaseCoffeesPeer classes are not found. Is there a step missing in the install instructions? Pls see errors below Thanks a lot = D:\Jetspeed\jportal>ant war Buildfile: build.xml prepare: check_om: om: check_for_jetspeed_jar: jar_prepare_error: compile: [javac] Compiling 16 source files to D:\Jetspeed\jportal\bin\WEB-INF\classes [javac] D:\Jetspeed\jportal\src\java\com\bluesunrise\jportal\om\Coffees.java:17: cannot resolve symbol [javac] symbol : class BaseCoffees [javac] location: package om [javac] extends com.bluesunrise.jportal.om.BaseCoffees [javac] ^ [javac] D:\Jetspeed\jportal\src\java\com\bluesunrise\jportal\om\CoffeesPeer.java:13: ca nnot resolve symbol [javac] symbol : class BaseCoffeesPeer [javac] location: package om [javac] extends com.bluesunrise.jportal.om.BaseCoffeesPeer [javac] ^ [javac] D:\Jetspeed\jportal\src\java\com\bluesunrise\jportal\modules\actions\portlet s\T utorialCoffeesAction.java:101: cannot resolve symbol [javac] symbol : variable COFFEE_ID [javac] location: class com.bluesunrise.jportal.om.CoffeesPeer [javac] criteria.add( CoffeesPeer.COFFEE_ID, rowid); [javac] ^ [javac] D:\Jetspeed\jportal\src\java\com\bluesunrise\jportal\modules\actions\portlet s\T utorialCoffeesAction.java:102: cannot resolve symbol [javac] symbol : method doSelect (org.apache.torque.util.Criteria) [javac] location: class com.bluesunrise.jportal.om.CoffeesPeer [javac] List coffees = CoffeesPeer.doSelect(criteria); -Original Message- From: karthikeyan [mailto:[EMAIL PROTECTED] Sent: Monday, February 09, 2004 8:56 PM To: Jetspeed Users List Subject: Re: Compile errors :Building jetspeed examples Here is the mistake: = portlet_app_name=myjportal company=com.shail.jportal how you will find COFFEE here? note: it should be... portlet_app_name=jportal company=com.bluesunrise.jportal until unless you wrote your own java code for the same.. I doubt as you are a new user to jetspeed (also did not succeed in jetspeed.. don't worry it is a matter of few hours extra trial to see jetspeed running which will keep your 'sprit' high to undertake challenging tasks) DON'T JUMP TO MODIFY THE CODES until you are comfortable running 'default' settings. I again insist compile jetspeed.war from SRC (for flexibility) and then compile Jportal. Goodluck -- M. Karthikeyan, Ph.D., Scientist _| _|_|_|_| _| _|_|_| _|_| _| _| _| _|_| _|_|_| _|_| _| _| o _|_|_|o _|_|_|_| NationalChemical Laboratory Pune - 411 008, INDIA Ph: +91-(0)20-5893 457 FAX: 5893 973 http://www.ncl-india.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Compile errors :Building jetspeed examples
Here is the mistake: = portlet_app_name=myjportal company=com.shail.jportal how you will find COFFEE here? note: it should be... portlet_app_name=jportal company=com.bluesunrise.jportal until unless you wrote your own java code for the same.. I doubt as you are a new user to jetspeed (also did not succeed in jetspeed.. don't worry it is a matter of few hours extra trial to see jetspeed running which will keep your 'sprit' high to undertake challenging tasks) DON'T JUMP TO MODIFY THE CODES until you are comfortable running 'default' settings. I again insist compile jetspeed.war from SRC (for flexibility) and then compile Jportal. Goodluck -- M. Karthikeyan, Ph.D., Scientist _| _|_|_|_| _| _|_|_| _|_| _| _| _| _|_| _|_|_| _|_| _| _| o _|_|_|o _|_|_|_| NationalChemical Laboratory Pune - 411 008, INDIA Ph: +91-(0)20-5893 457 FAX: 5893 973 http://www.ncl-india.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Compile errors :Building jetspeed examples
Hi , Thanks for ur suggestions. my comments below. Thanks Shailesh Zensar technologies Pune-1 -Original Message- From: karthikeyan [mailto:[EMAIL PROTECTED] Sent: Monday, February 09, 2004 7:15 PM To: Jetspeed Users List Subject: Re: Compile errors :Building jetspeed examples Jportal should work !!! My suggestion is build using source of Jetspeed, with flexibility. Steps for NOVICE: 1) Did you succeed with Jetspeed alone? => Nopes,I didnt succeed. This too gives compilation errors very much similar to jportal compilation. I am referring to jetspeed 1.4 version available at jakarta site, which i have downloaded. 2) Did you follow EXACT procedure to compile and run JPORTAL? (pl. note that it is modified for new version of jetspeed including latest CVS!) => I am following the procedure which available in bluesunrise.com site which updated last week only. 3) what about: Jetspeed.jar => I have mentioned jetspeed-1.4.jar in build.properties file already, build.xml is using this. 4) Compile first Jetspeed followed by Jportal (you can get rid one error/warning OFF logically) 5) Are you in hurry? hotdeploy... or stepwise? e.g., ant tutorial-1 instead of ant tutorial-all the list is endless and every error/warning during compilation will GUIDE you.. Goodluck => I am running war , compile task only.It works find until it reaches compile task. I have modified setting like this: - jetspeed_home=D:\\Jetspeed\\jetspeed-1.4 catalina_home=C:\\jakarta-tomcat-4.1.27 portlet_app_name=myjportal company=com.shail.jportal jetspeed_jar=\\bin\\jetspeed-1.4.jar jetspeed_war=\\bin\\jetspeed.war jetspeed_lib=\\WEB-INF\\lib jetspeed_conf=\WEB-INF\\conf\\ --- It is finding path and files correctly,but looks like this jportal jar file is incomplete as build errors show that code expects some more variable from classes which are not that complete. I am using jportal.jar file mentioned in jetspeed tutorial from bluesunrise.com (http://www.bluesunrise.com/jetspeed-docs/jportal.jar) Thanks a lot typical setting if you are using tomcat/mysql/jetspeed-src/ (it works for me...) # testing 12345 # # typical settings with source # jetspeed_home=/jetspeed-1.4 catalina_home=/tomcat portlet_app_name=jportal company=com.bluesunrise.jportal jetspeed_jar=/bin/jetspeed-1.4.jar jetspeed_war=/bin/jetspeed.war jetspeed_lib=/lib jetspeed_conf=/webapp/WEB-INF/conf/ --- lot of discussion about jportal already available in archive --- HINT: search jportal in mail-archive -- M. Karthikeyan, Ph.D., Scientist _| _|_|_|_| _| _|_|_| _|_| _| _| _| _|_| _|_|_| _|_| _| _| o _|_|_|o _|_|_|_| NationalChemical Laboratory Pune - 411 008, INDIA Ph: +91-(0)20-5893 457 FAX: 5893 973 http://www.ncl-india.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Compile errors :Building jetspeed examples
Jportal should work !!! My suggestion is build using source of Jetspeed, with flexibility. Steps for NOVICE: 1) Did you succeed with Jetspeed alone? 2) Did you follow EXACT procedure to compile and run JPORTAL? (pl. note that it is modified for new version of jetspeed including latest CVS!) 3) what about: Jetspeed.jar 4) Compile first Jetspeed followed by Jportal (you can get rid one error/warning OFF logically) 5) Are you in hurry? hotdeploy... or stepwise? e.g., ant tutorial-1 instead of ant tutorial-all the list is endless and every error/warning during compilation will GUIDE you.. Goodluck typical setting if you are using tomcat/mysql/jetspeed-src/ (it works for me...) # testing 12345 # # typical settings with source # jetspeed_home=/jetspeed-1.4 catalina_home=/tomcat portlet_app_name=jportal company=com.bluesunrise.jportal jetspeed_jar=/bin/jetspeed-1.4.jar jetspeed_war=/bin/jetspeed.war jetspeed_lib=/lib jetspeed_conf=/webapp/WEB-INF/conf/ --- lot of discussion about jportal already available in archive --- HINT: search jportal in mail-archive -- M. Karthikeyan, Ph.D., Scientist _| _|_|_|_| _| _|_|_| _|_| _| _| _| _|_| _|_|_| _|_| _| _| o _|_|_|o _|_|_|_| NationalChemical Laboratory Pune - 411 008, INDIA Ph: +91-(0)20-5893 457 FAX: 5893 973 http://www.ncl-india.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]