RE: [tomcat 5.0 docs] Application Developer's Guide: build.xml file
Howdy, Even though i think you're mistaking here, it might be even more reason to update the Application Developer's Guide on the tomcat 5 docs ;) Feel free to contribute... Why would a target be deprecated? I could call it jake-the-snake if i For the normal reason things are deprecated: methods, classes, build targets, documentation. They're out of date and no longer supported, so complaints about them are ignored. Then again: a fairly new tutorial wouldn't trigger me to see if anything I'm using is deprecated. Would it be your first guess? ;) I can understand a bit of your confusion, since you're new to this as you say. The app developer's guide and its tutorial are not new, they're probably almost 2 years old by now. They're modified here and there, and haven't really been updated for tomcat 5 yet, just mostly copied over from the tomcat 4 docs. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [tomcat 5.0 docs] Application Developer's Guide: build.xml file
Hi :) Shapira, Yoav wrote: Howdy, Feel free to contribute... A discussion like this turns out to be more of a learning course for me than a contribution to the docs i suppose :D Should i post the tomcat-dev mailinglist for contributions to the docs as well? Maybe i'll try to work out some updated tutorial... in the not-so-near future that is... For the normal reason things are deprecated: methods, classes, build targets, documentation. They're out of date and no longer supported, so complaints about them are ignored. I'm not complaining, and i understand the meaning of the word deprecated ;) I just wondered why one would deprecate a target by it's name, and not by it's function. As you could have seen, the target i posted contains a deploy ... /, and it's still not clear to me what of both things now is deprecated? I mean... i could also write a target with name my-funky-target and put the deploy statement in there... Or DO targets have special meaning based on their names? By the way: any idea why Ant doesn't warn me about this deprecated stuff? Anyhow, i should go RTFM, so if none bothers to answer this i could relate ;) I can understand a bit of your confusion, since you're new to this as you say. The app developer's guide and its tutorial are not new, they're probably almost 2 years old by now. They're modified here and there, and haven't really been updated for tomcat 5 yet, just mostly copied over from the tomcat 4 docs. Yeah, I figured so... drama Well thanks anyway for letting me see the light :) /drama drm - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [tomcat 5.0 docs] Application Developer's Guide: build.xml file
Howdy, Should i post the tomcat-dev mailinglist for contributions to the docs as well? Maybe i'll try to work out some updated tutorial... in the not-so-near future that is... You would put an enhancement issue into Bugzilla and attach your documents/patches/whatever to that issue. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [tomcat 5.0 docs] Application Developer's Guide: build.xml file
cheers Shapira, Yoav wrote: Howdy, Should i post the tomcat-dev mailinglist for contributions to the docs as well? Maybe i'll try to work out some updated tutorial... in the not-so-near future that is... You would put an enhancement issue into Bugzilla and attach your documents/patches/whatever to that issue. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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: [tomcat 5.0 docs] Application Developer's Guide: build.xml file
*feeling n00bish :o I just realized it is would be more handy if you put the jar in a dir where it would not try to include itself when compressing :P so replace ${build.home}/${app.version}.war with plain ${app.version}.war And yes, thank you, i love talking to myself :P drm wrote: Hi all :) First post here, so don't bomb me if i do anything wrong :P After downloading and installing Tomcat 5.0 beta i discovered an error in the build.xml file provided in that section. The target install misses the action to create a war file, and deploying that war file in/on/to (?) the server. I solved it this way: ---snip--- target name=install depends=compile description=Install application to servlet container !-- added -- jar jarfile=${build.home}/${app.version}.war basedir=${build.home}/ !-- /added -- !-- [EMAIL PROTECTED] now points to the just created war file (ofcourse ;)) -- deploy url=${manager.url} username=${manager.username} password=${manager.password} path=${app.path} war=${build.home}/${app.version}.war/ /target ---snip--- Maybe it's all wrong, (if so, please let me know how to do better ;)) but that's not my point. Maybe the guys over there creating and managing these docs can provide a better build.xml file :) I searched my ass of (being new to Ant and all :)) how to solve that weird ZipException... Cheers in advance :) drm - 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: [tomcat 5.0 docs] Application Developer's Guide: build.xml file
Howdy, Even though you like talking to yourself, maybe I'll interrupt for two quick questions: did you notice the install target is deprecated? Did you perhaps search the archives to see why? http://marc.theaimsgroup.com/?l=tomcat-devm=106400337928462w=2 Yoav Shapira Millennium ChemInformatics -Original Message- From: drm [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2003 3:59 PM To: Tomcat Users List Subject: Re: [tomcat 5.0 docs] Application Developer's Guide: build.xml file *feeling n00bish :o I just realized it is would be more handy if you put the jar in a dir where it would not try to include itself when compressing :P so replace ${build.home}/${app.version}.war with plain ${app.version}.war And yes, thank you, i love talking to myself :P drm wrote: Hi all :) First post here, so don't bomb me if i do anything wrong :P After downloading and installing Tomcat 5.0 beta i discovered an error in the build.xml file provided in that section. The target install misses the action to create a war file, and deploying that war file in/on/to (?) the server. I solved it this way: ---snip--- target name=install depends=compile description=Install application to servlet container !-- added -- jar jarfile=${build.home}/${app.version}.war basedir=${build.home}/ !-- /added -- !-- [EMAIL PROTECTED] now points to the just created war file (ofcourse ;)) -- deploy url=${manager.url} username=${manager.username} password=${manager.password} path=${app.path} war=${build.home}/${app.version}.war/ /target ---snip--- Maybe it's all wrong, (if so, please let me know how to do better ;)) but that's not my point. Maybe the guys over there creating and managing these docs can provide a better build.xml file :) I searched my ass of (being new to Ant and all :)) how to solve that weird ZipException... Cheers in advance :) drm - 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] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [tomcat 5.0 docs] Application Developer's Guide: build.xml file
Hi, Even though i think you're mistaking here, it might be even more reason to update the Application Developer's Guide on the tomcat 5 docs ;) Why would a target be deprecated? I could call it jake-the-snake if i wanted to... Don't you mean an 'install' element? Since the deploy you're pointing out here is what is used in the target itself... I'm new to this, so i'm not sure if i'm right ;) Then again: a fairly new tutorial wouldn't trigger me to see if anything I'm using is deprecated. Would it be your first guess? ;) Thanks for the tip though, i'll figure it out Shapira, Yoav wrote: Howdy, Even though you like talking to yourself, maybe I'll interrupt for two quick questions: did you notice the install target is deprecated? Did you perhaps search the archives to see why? http://marc.theaimsgroup.com/?l=tomcat-devm=106400337928462w=2 Yoav Shapira Millennium ChemInformatics -Original Message- From: drm [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2003 3:59 PM To: Tomcat Users List Subject: Re: [tomcat 5.0 docs] Application Developer's Guide: build.xml file *feeling n00bish :o I just realized it is would be more handy if you put the jar in a dir where it would not try to include itself when compressing :P so replace ${build.home}/${app.version}.war with plain ${app.version}.war And yes, thank you, i love talking to myself :P drm wrote: Hi all :) First post here, so don't bomb me if i do anything wrong :P After downloading and installing Tomcat 5.0 beta i discovered an error in the build.xml file provided in that section. The target install misses the action to create a war file, and deploying that war file in/on/to (?) the server. I solved it this way: ---snip--- target name=install depends=compile description=Install application to servlet container !-- added -- jar jarfile=${build.home}/${app.version}.war basedir=${build.home}/ !-- /added -- !-- [EMAIL PROTECTED] now points to the just created war file (ofcourse ;)) -- deploy url=${manager.url} username=${manager.username} password=${manager.password} path=${app.path} war=${build.home}/${app.version}.war/ /target ---snip--- Maybe it's all wrong, (if so, please let me know how to do better ;)) but that's not my point. Maybe the guys over there creating and managing these docs can provide a better build.xml file :) I searched my ass of (being new to Ant and all :)) how to solve that weird ZipException... Cheers in advance :) drm - 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] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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]