RE: sequence of prereqs in maven.xml file
Hi Brett, Thanks for your suggestion. But I don't want my project to only work with CVS, I want it to work with Subversion also. Hence I can't use maven.scm.cvs.module, and boot strap. Is there any other way to achieve this. Thanks in advance, Jayaram -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Friday, March 25, 2005 12:04 PM To: Maven Users List Subject: Re: sequence of prereqs in maven.xml file java:compile relies on some variables being set which are done when the project is initialised. If your source is not there when you first run the project, it will think there is none and will not attempt to compile. It is recommended that you check out whole projects, not just portions of them. You might like to create a bootstrap project that will do that checkout and run the desired goals (or use the scm:bootstrap-project goals). - Brett On Fri, 25 Mar 2005 10:42:19 +0530, GOKULAM Jayaram [EMAIL PROTECTED] wrote: Hi, I have been trying to keep my maven.xml file in the following manner. project default=build xmlns:j=jelly:core xmlns:maven=jelly:maven xmlns:ant=jelly:ant goal name=nec:go prereqs=scm:cvs-checkout-project,java:compile,dashboard:report,xdoc /goal /project But am getting a weird error, First time after checkout the source code is not being compiled. The second time it gets compiled propertly. Is my maven.xml definition correct or please guide me how I should define the commands so that, they execute one after the other in a sequence. Expecting help on this. Thanks in advance, Jayaram Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: sequence of prereqs in maven.xml file
The SCM plugin 1.5 beta - 3 release contains subversion subversion support, but is not yet released. - Brett On Fri, 25 Mar 2005 14:31:30 +0530, GOKULAM Jayaram [EMAIL PROTECTED] wrote: Hi Brett, Thanks for your suggestion. But I don't want my project to only work with CVS, I want it to work with Subversion also. Hence I can't use maven.scm.cvs.module, and boot strap. Is there any other way to achieve this. Thanks in advance, Jayaram -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Friday, March 25, 2005 12:04 PM To: Maven Users List Subject: Re: sequence of prereqs in maven.xml file java:compile relies on some variables being set which are done when the project is initialised. If your source is not there when you first run the project, it will think there is none and will not attempt to compile. It is recommended that you check out whole projects, not just portions of them. You might like to create a bootstrap project that will do that checkout and run the desired goals (or use the scm:bootstrap-project goals). - Brett On Fri, 25 Mar 2005 10:42:19 +0530, GOKULAM Jayaram [EMAIL PROTECTED] wrote: Hi, I have been trying to keep my maven.xml file in the following manner. project default=build xmlns:j=jelly:core xmlns:maven=jelly:maven xmlns:ant=jelly:ant goal name=nec:go prereqs=scm:cvs-checkout-project,java:compile,dashboard:report,xdoc /goal /project But am getting a weird error, First time after checkout the source code is not being compiled. The second time it gets compiled propertly. Is my maven.xml definition correct or please guide me how I should define the commands so that, they execute one after the other in a sequence. Expecting help on this. Thanks in advance, Jayaram Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
sequence of prereqs in maven.xml file
Hi, I have been trying to keep my maven.xml file in the following manner. project default=build xmlns:j=jelly:core xmlns:maven=jelly:maven xmlns:ant=jelly:ant goal name=nec:go prereqs=scm:cvs-checkout-project,java:compile,dashboard:report,xdoc /goal /project But am getting a weird error, First time after checkout the source code is not being compiled. The second time it gets compiled propertly. Is my maven.xml definition correct or please guide me how I should define the commands so that, they execute one after the other in a sequence. Expecting help on this. Thanks in advance, Jayaram Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email.