cvs commit: maven/src/test/java/org/apache/maven/project RepositoryTest.java

2004-10-01 Thread dion
dion2004/09/30 23:00:40

  Modified:src/test/java/org/apache/maven/project RepositoryTest.java
  Log:
  Code doesn't compile.
  
  maven clean test also fails
  
  Revision  ChangesPath
  1.5   +4 -4  maven/src/test/java/org/apache/maven/project/RepositoryTest.java
  
  Index: RepositoryTest.java
  ===
  RCS file: 
/home/cvs/maven/src/test/java/org/apache/maven/project/RepositoryTest.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- RepositoryTest.java   21 Sep 2004 13:46:01 -  1.4
  +++ RepositoryTest.java   1 Oct 2004 06:00:40 -   1.5
  @@ -25,10 +25,10 @@
   public void testSplitScmConnection()
   {
   String con = scm:cvs:pserver:[EMAIL PROTECTED]:/home/cvspublic:module;
  -String[] tokens = RepositoryUtils.splitSCMConnection(con);
  -assertEquals(Wrong number of tokens split, 6, tokens.length);
  +//String[] tokens = RepositoryUtils.splitSCMConnection(con);
  +//assertEquals(Wrong number of tokens split, 6, tokens.length);
   con = scm|svn|http://svn.apache.org/repos;;
  -tokens = RepositoryUtils.splitSCMConnection(con);
  -assertEquals(Wrong number of tokens split, 3, tokens.length);
  +//tokens = RepositoryUtils.splitSCMConnection(con);
  +//assertEquals(Wrong number of tokens split, 3, tokens.length);
   }
   }
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: maven-plugins/changelog/src/plugin-resources changelog.jsl

2004-10-01 Thread dion
dion2004/10/01 01:08:55

  Modified:changelog/src/plugin-resources changelog.jsl
  Log:
  MPCHANGELOG-46
  
  Revision  ChangesPath
  1.9   +1 -1  maven-plugins/changelog/src/plugin-resources/changelog.jsl
  
  Index: changelog.jsl
  ===
  RCS file: /home/cvs/maven-plugins/changelog/src/plugin-resources/changelog.jsl,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- changelog.jsl 25 Jun 2004 16:12:06 -  1.8
  +++ changelog.jsl 1 Oct 2004 08:08:55 -   1.9
  @@ -71,7 +71,7 @@
   j:set var=revisionx:expr select=$file/revision//j:set
   j:set var=repositoryUrl value=${pom.repository.url}/
   j:choose
  -  j:when test=${!empty(repositoryUrl)} and 
${repositoryUrl.indexOf('?')0}
  +  j:when test=${!empty(repositoryUrl) and 
repositoryUrl.indexOf('?')0}
   j:set var=repository value=${repositoryUrl.substring(0, 
repositoryUrl.indexOf('?'))}/
   j:set var=tmpMultiRepoParam 
value=${repositoryUrl.substring(repository.length())}/
   j:set var=oneRepoParam 
value=?${tmpMultiRepoParam.substring(1)}/
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Closed: (MPCHANGELOG-46) ViewCVS URL bug

2004-10-01 Thread jira
Message:

   The following issue has been closed.

   Resolver: dion gillard
   Date: Fri, 1 Oct 2004 4:14 AM

Applied
-
View the issue:
  http://jira.codehaus.org/browse/MPCHANGELOG-46

Here is an overview of the issue:
-
Key: MPCHANGELOG-46
Summary: ViewCVS URL bug
   Type: Bug

 Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

Project: maven-changelog-plugin
   Fix Fors:
 1.8
   Versions:
 1.7.1

   Assignee: dion gillard
   Reporter: Juha Komulainen

Created: Thu, 30 Sep 2004 6:13 AM
Updated: Fri, 1 Oct 2004 4:14 AM

Description:
Changelog plugin produces invalid URLs when used with ViewCVS. According to 
MPCHANGELOG-10 this has already been fixed, but still this didn't work for me.

I tried both http://host/cgi-bin/viewcvs.cgi/?root=repo and 
http://host/cgi-bin/viewcvs.cgi/?cvsroot=repo, but in both cases the repository path 
was just appended right after the URL, instead of being inserted just before query 
parameters, resulting invalid URL.

Fortunately the fix is simple. In changelog.jsl the line:

j:when test=${!empty(repositoryUrl)} and  ${repositoryUrl.indexOf('?')0}

needs to be changed to:

j:when test=${!empty(repositoryUrl) and repositoryUrl.indexOf('?')0}



-
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: maven-plugins/changelog/xdocs changes.xml

2004-10-01 Thread dion
dion2004/10/01 01:10:29

  Modified:changelog/xdocs changes.xml
  Log:
  MPCHANGELOG-46
  
  Revision  ChangesPath
  1.43  +1 -0  maven-plugins/changelog/xdocs/changes.xml
  
  Index: changes.xml
  ===
  RCS file: /home/cvs/maven-plugins/changelog/xdocs/changes.xml,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- changes.xml   21 Sep 2004 13:47:52 -  1.42
  +++ changes.xml   1 Oct 2004 08:10:29 -   1.43
  @@ -26,6 +26,7 @@
 /properties
 body
   release version=1.8-SNAPSHOT date=in CVS
  +  action dev=dion type=fix issue=MPCHANGELOG-46 due-to=Juha 
KomulainenHandle ViewCVS URLs with ? in them./action
 action dev=brett type=updateUpgrade to Maven 1.1 libraries./action
   /release
   release version=1.7.1 date=2004-07-12
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (MPXDOC-121) Calculation of local time of team member is wrong

2004-10-01 Thread jira
Message:

  A new issue has been created in JIRA.

-
View the issue:
  http://jira.codehaus.org/browse/MPXDOC-121

Here is an overview of the issue:
-
Key: MPXDOC-121
Summary: Calculation of local time of  team member is wrong
   Type: Bug

 Status: Open
   Priority: Minor

 Original Estimate: 15 minutes
 Time Spent: Unknown
  Remaining: 15 minutes

Project: maven-xdoc-plugin

   Assignee: Arnaud HERITIER
   Reporter: Ortwin Glück

Created: Fri, 1 Oct 2004 5:31 AM
Updated: Fri, 1 Oct 2004 5:31 AM
Environment: N/A

Description:
In the POM the Timezone of the developer is defined as an offset to GMT. (This is 
actually poor, as this does not respect daylight savings. Timezone names should have 
been preferred.)
Now, there is JavaScript Code in src/plugin-resources/templates/team-list.xml that 
calculates the local time of a team member based on that value from the POM and the 
local time of the user viewing the page.

Code fragement:

 function offsetDate(id, offset) {
var now = new Date() ;
var nowTime = now.getTime() ;
var localOffset = now.getTimezoneOffset() ;
var developerTime = nowTime + (offset * 60 * 60 * 1000) + (localOffset * 60 * 
1000) ;
var developerDate = new Date(developerTime) ;
document.getElementById(id).innerHTML = developerDate;
 }


The code in question is:

  var developerTime = nowTime + (offset * 60 * 60 * 1000) + (localOffset * 60 * 1000) ;


This reads:
 [developerTime] = [local time] + [local timezone offset] + [developer timezone offset]

which does not make any sense.

It should rather be:
 [developerTime] = [local time] - [local timezone offset] + [developer timezone offset]

so the above line should be:

  var developerTime = nowTime + (offset * 60 * 60 * 1000) - (localOffset * 60 * 1000) ;



Kind regards

Ortwin Glück




-
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (MAVENUPLOAD-219) Upload request for updated StatCvs plugin release

2004-10-01 Thread jira
The following comment has been added to this issue:

 Author: Steffen Pingel
Created: Fri, 1 Oct 2004 7:07 AM
   Body:
As far as I know the id or groupId has never been changed. It has been that way since 
the first release. 

If have uploaded a new bundle that includes a statcvs groupId tag. I hope this will 
do. 
-
View this comment:
  http://jira.codehaus.org/browse/MAVENUPLOAD-219?page=comments#action_24803

-
View the issue:
  http://jira.codehaus.org/browse/MAVENUPLOAD-219

Here is an overview of the issue:
-
Key: MAVENUPLOAD-219
Summary: Upload request for updated StatCvs plugin release
   Type: Task

 Status: Open

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

Project: maven-upload-requests

   Assignee: Carlos Sanchez
   Reporter: Steffen Pingel

Created: Fri, 24 Sep 2004 7:53 AM
Updated: Fri, 1 Oct 2004 7:07 AM

Description:
http://statcvs-xml.berlios.de 
http://statcvs-xml.berlios.de/team-list.html 

The plugin has an updated dependency for the (new) StatCvs 2.4 release which has 
already been uploaded to ibiblio.


-
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Closed: (MAVENUPLOAD-219) Upload request for updated StatCvs plugin release

2004-10-01 Thread jira
Message:

   The following issue has been closed.

   Resolver: Carlos Sanchez
   Date: Fri, 1 Oct 2004 7:14 AM

You can see where they have been deployed at 
http://maven.ozacc.com/search?keyword=statcvs
-
View the issue:
  http://jira.codehaus.org/browse/MAVENUPLOAD-219

Here is an overview of the issue:
-
Key: MAVENUPLOAD-219
Summary: Upload request for updated StatCvs plugin release
   Type: Task

 Status: Closed
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

Project: maven-upload-requests

   Assignee: Carlos Sanchez
   Reporter: Steffen Pingel

Created: Fri, 24 Sep 2004 7:53 AM
Updated: Fri, 1 Oct 2004 7:14 AM

Description:
http://statcvs-xml.berlios.de 
http://statcvs-xml.berlios.de/team-list.html 

The plugin has an updated dependency for the (new) StatCvs 2.4 release which has 
already been uploaded to ibiblio.


-
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: cvs commit: maven/src/test/java/org/apache/maven/project RepositoryTest.java

2004-10-01 Thread Brett Porter
this should have been deleted and moved to the changelog plugin - I'll 
take a look.

Cheers,
Brett
[EMAIL PROTECTED] wrote:
dion2004/09/30 23:00:40
 Modified:src/test/java/org/apache/maven/project RepositoryTest.java
 Log:
 Code doesn't compile.
 
 maven clean test also fails
 
 Revision  ChangesPath
 1.5   +4 -4  maven/src/test/java/org/apache/maven/project/RepositoryTest.java
 
 Index: RepositoryTest.java
 ===
 RCS file: /home/cvs/maven/src/test/java/org/apache/maven/project/RepositoryTest.java,v
 retrieving revision 1.4
 retrieving revision 1.5
 diff -u -r1.4 -r1.5
 --- RepositoryTest.java	21 Sep 2004 13:46:01 -	1.4
 +++ RepositoryTest.java	1 Oct 2004 06:00:40 -	1.5
 @@ -25,10 +25,10 @@
  public void testSplitScmConnection()
  {
  String con = scm:cvs:pserver:[EMAIL PROTECTED]:/home/cvspublic:module;
 -String[] tokens = RepositoryUtils.splitSCMConnection(con);
 -assertEquals(Wrong number of tokens split, 6, tokens.length);
 +//String[] tokens = RepositoryUtils.splitSCMConnection(con);
 +//assertEquals(Wrong number of tokens split, 6, tokens.length);
  con = scm|svn|http://svn.apache.org/repos;;
 -tokens = RepositoryUtils.splitSCMConnection(con);
 -assertEquals(Wrong number of tokens split, 3, tokens.length);
 +//tokens = RepositoryUtils.splitSCMConnection(con);
 +//assertEquals(Wrong number of tokens split, 3, tokens.length);
  }
  }
 
 
 

-
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]