I don't believe right now you can grab the name of the changelist through Maven. It sounds like you are wanting to build the project, and commit the result of that build to your source repository using the name of the changelist as the depot location.
If this is the case, I have to ask -- why? You can sync to a Perforce changelist and re-build from that point at any time you want... why commit the output of the build to your depot? On 6/26/07, srinivas ramgopal <[EMAIL PROTECTED]> wrote:
Hi Thanks for the prompt reply. A correction to Ib of my original post: I want to do a compile of all the files but I also want to grab the latest changelist name using maven. Is it possible. Also is 1c (from my original post) possible to do thru maven? By the way, I have continum as the builder but need the maven/ant script with above mentioned features for a different purpose. Thanks a lot for your valuable time and input. Patrick Schneider-4 wrote: > > I'm a bit unclear what you mean by "compile the codebase files of the > above > changelist". Do you only want to compile the files affected by the > changelist? If so, that doesn't seem doable. > > You might have a look at the Maven SCM plugin for a description of what it > can do for you: > > http://maven.apache.org/scm/plugins/ > > > Patrick > > On 6/26/07, srinivas ramgopal <[EMAIL PROTECTED]> wrote: >> >> >> Hi all, >> >> I recently started using Maven but still a novice. >> >> Is there a way to make Maven do the following tasks: >> >> 1a) recognize a developer's checkin in Perforce and get the name of the >> related changelist. >> 1b) compile the codebase files of the above changelist. >> 1c) create a new folder in the file system; copy certain files from the >> file >> system into that folder; checkin that folder in a specific location in >> Perforce. >> >> Also is it easy to the above tasks with Ant or Maven. >> >> Thanks in advance for all your valuable input. >> >> -- >> View this message in context: >> http://www.nabble.com/Maven-with-Perforce-tf3985281s177.html#a11315300 >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/Maven-with-Perforce-tf3985281s177.html#a11316146 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
