Re: SCM Diff Command

2012-02-15 Thread Brett Porter
The format is provider specific, but as long as it can be fed into patch then it should be fine. So the format below looks just fine. The --- +++ lines onwards are standard unified diff. On 16/02/2012, at 2:01 PM, Chris Graham wrote: > Hi All. > > A question regarding the scm:diff command. >

Re: Git on Windows

2012-02-15 Thread Brett Porter
I'd think if you were going to work on the test it might be better to utilise a different technique or library... otherwise next you'll be checking for git.bat, etc... - Brett On 16/02/2012, at 3:36 PM, Chris Graham wrote: > Yes it would. > > So, should I cover all cases and just do a seconda

Re: Git on Windows

2012-02-15 Thread Chris Graham
Yes it would. So, should I cover all cases and just do a secondary test for git.cmd (if isSystemCmd("git") returns false?). That is assuming that isSystemCmd("git.cmd") will return true. :-) -Chris On Thu, Feb 16, 2012 at 3:31 PM, Brett Porter wrote: > Ah, I see. So if that were using an exec

Re: Git on Windows

2012-02-15 Thread Brett Porter
Ah, I see. So if that were using an exec library (plexus-utils or commons-exec), it'd probably do "cmd /C git" or similar and it'd work. On 16/02/2012, at 2:54 PM, Chris Graham wrote: > I'm running it not under the bash shell. (I don't think that it's a > compulsory installation item). > > It c

Re: Git on Windows

2012-02-15 Thread Chris Graham
I'm running it not under the bash shell. (I don't think that it's a compulsory installation item). It calls this to determine if it's available (ScmTestCase.java) /** * * @param cmd the executable to run, not null. * @return true */ public static boolean isSystemCmd( S

Re: Git on Windows

2012-02-15 Thread Brett Porter
but under git bash and under command prompt, "git" should get the right thing. It should only be a problem if it's checking the executable name is exactly "git", or if you are trying to run it under cygwin with msysgit. On 16/02/2012, at 2:28 PM, Chris Graham wrote: > Ok. In my setup, (by defau

Re: Git on Windows

2012-02-15 Thread Chris Graham
Ok. In my setup, (by default, until I fixed it that is), only the .cmd was on the path. This causes the git tests to be skipped, as the test for it being available fails. I was wondering if it's worth testing for the presence of "git.cmd" if the test for "git" has failed? Then the tests should ru

Re: Git on Windows

2012-02-15 Thread Barrie Treloar
On Thu, Feb 16, 2012 at 1:54 PM, Brett Porter wrote: > Yes, that's how msysgit is set up. You get some options when you run the > installer about how it will be made available (path, only via git bash, etc). I've just got mine via git bash. git bash has most of the stuff that I had stashed into

Re: Git on Windows

2012-02-15 Thread Brett Porter
Yes, that's how msysgit is set up. You get some options when you run the installer about how it will be made available (path, only via git bash, etc). - Brett On 16/02/2012, at 1:45 PM, Chris Graham wrote: > Hi All. > > Is anyone using git on windows? > > If so, can you please check something

SCM Diff Command

2012-02-15 Thread Chris Graham
Hi All. A question regarding the scm:diff command. Is the output meant to be in a generic unix style diff format, or the native type used by the tool? Here is an example from Jazz: ### Jazz Patch 1.0 #date: "2012-02-16 13:56:51.00290 +1100" #itemid: "BogusTest/test.txt" "_FaVF0CZEEeGsm4m-rL

Git on Windows

2012-02-15 Thread Chris Graham
Hi All. Is anyone using git on windows? If so, can you please check something for me? On my install, I only have git.cmd in the path. Not the .exe itself. Do others have the same? -Chris

Re: How to run an ant script within war's pom file

2012-02-15 Thread Dennis Lundberg
Hi Questions like these belong on the users mailing list. Either you mail client or Nabble has stripped all the formating from your xml snippet, making it unreadable. Please resend on the users list. On Mon, Feb 13, 2012 at 6:20 PM, johnjoseph wrote: > Hi Everyone, > > My aim is to run a shell

Re: Error while parsing schema

2012-02-15 Thread Dennis Lundberg
Hi Questions like these are better suited for the users mailing list. You are not giving us anything to go on: which version of Maven, which plugin(s) you are using to do schema stuff, what command you issued when you got the error. On Wed, Feb 15, 2012 at 2:03 PM, aneesh wrote: > Hi, > > I am

Re: [VOTE] Release Maven PMD Plugin version 2.7.1

2012-02-15 Thread Olivier Lamy
+1 2012/2/12 Dennis Lundberg : > Hi, > > We solved 1 issue, a regression: > http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11140&styleName=Html&version=18314 > > There are still a couple of issues left in JIRA: > http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&pid=11140&

Re: [VOTE] Release Maven PMD Plugin version 2.7.1

2012-02-15 Thread Dennis Lundberg
+1 from me On Sun, Feb 12, 2012 at 12:24 PM, Dennis Lundberg wrote: > > Hi, > > We solved 1 issue, a regression: > http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11140&styleName=Html&version=18314 > > There are still a couple of issues left in JIRA: > http://jira.codehaus.org/secure/I

Re: Jazz Scm Provider

2012-02-15 Thread Chris Graham
Works for me! and makes perfect sense. -Chris On Thu, Feb 16, 2012 at 9:01 AM, Mark Struberg wrote: > Hi! > > I interpreted it to reflect the 'main' command. > In the maven-scm-provider-git we often need multiple commands in addition > to the main cli. > > This is mainly for getting additional

Re: Jazz Scm Provider

2012-02-15 Thread Mark Struberg
Hi! I interpreted it to reflect the 'main' command.  In the maven-scm-provider-git we often need multiple commands in addition to the main cli. This is mainly for getting additional info like the number and details of affected files in a scm:update. Since git-pull doesn't always provide this in

Re: Jazz Scm Provider

2012-02-15 Thread Chris Graham
One (of many, I'm sure) question: When returning the ScmCommandline, what are you meant to return when you execute more than one command? One example from the git provider is that it returns the first command executed. I've not traced it back to see where this is used. ??? -Chris --

Re: Jazz Scm Provider

2012-02-15 Thread Mark Struberg
Your welcome Chris! Actually anyone is welcome - but if the questions also come with some code donation it's even more welcome :) Feel free to ping us if you need a review or help with the SCM-TCK integration as well! LieGrue, strub - Original Message - > From: Chris Graham > To:

Re: Jazz Scm Provider

2012-02-15 Thread Chris Graham
I have some ideas... :-) Oh, and I apologise in advance for the million questions that I have in advance... On Wed, Feb 15, 2012 at 9:30 PM, Olivier Lamy wrote: > Great !! > > 2012/2/15 Chris Graham : > > Hi All. > > > > I'm working on the maven-scm-provider-jazz implementation for the Jazz > S

Re: Jazz Scm Provider

2012-02-15 Thread Olivier Lamy
Great !! 2012/2/15 Chris Graham : > Hi All. > > I'm working on the maven-scm-provider-jazz implementation for the Jazz SCM > Platform and also by entension, IBM Rational Team Concert (RTC). > > I have been given the original IBM code, and have been authority to work on > it and contribute it back

Jazz Scm Provider

2012-02-15 Thread Chris Graham
Hi All. I'm working on the maven-scm-provider-jazz implementation for the Jazz SCM Platform and also by entension, IBM Rational Team Concert (RTC). I have been given the original IBM code, and have been authority to work on it and contribute it back to the apache project. I have my CLA on record