You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Stephen Haberman <st...@chase3000.com> on 2002/10/31 04:47:05 UTC

[patch] fulcrum with torque-3.0-rc2-dev

Hi,

I'm updating an app to torque-3.0-rc2-dev that also uses Fulcrum, so I
had to sync Fulcrum against  3.0-rc2. A few simple changes are listed
below.

Also, how do we keep the snapshots on biblio up to date? Is there a
policy in place or should we just send new jars to the maven people
every once in awhile?

Thanks,
Stephen


cvs diff project.xml project.properties
src\java\org\apache\fulcrum\schedule\JobEntry.java (in directory
C:\cvs\fulcrum\)
Index: project.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-fulcrum/project.xml,v
retrieving revision 1.52
diff -u -r1.52 project.xml
--- project.xml	16 Oct 2002 11:51:26 -0000	1.52
+++ project.xml	31 Oct 2002 03:42:28 -0000
@@ -186,7 +186,7 @@
     </dependency>
     <dependency>
       <id>torque</id>
-      <version>SNAPSHOT</version>
+      <version>3.0-rc2-dev</version>
       <url>http://jakarta.apache.org/turbine/torque/</url>
     </dependency>
     <dependency>
Index: project.properties
===================================================================
RCS file: /home/cvs/jakarta-turbine-fulcrum/project.properties,v
retrieving revision 1.5
diff -u -r1.5 project.properties
--- project.properties	27 Sep 2002 05:31:24 -0000	1.5
+++ project.properties	31 Oct 2002 03:42:29 -0000
@@ -33,6 +33,7 @@
 addIntakeRetrievable=true
 basePrefix=Base
 torque.saveException = Exception
+torque.retrievableInterface = org.apache.fulcrum.intake.Retrievable
 
 schemaDirectory=.
 
Index: src/java/org/apache/fulcrum/schedule/JobEntry.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-fulcrum/src/java/org/apache/fulcrum/schedule/J
obEntry.java,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 JobEntry.java
--- src/java/org/apache/fulcrum/schedule/JobEntry.java	30 May 2002
02:27:27 -0000	1.1.1.1
+++ src/java/org/apache/fulcrum/schedule/JobEntry.java	31 Oct 2002
03:42:29 -0000
@@ -155,9 +155,7 @@
         int result = -1;
         if (je instanceof JobEntry)
         {
-            result = getJobId().getBigDecimal()
-            .compareTo(
-                ((JobEntry)je).getJobId().getBigDecimal());
+            result = getJobId() - ((JobEntry)je).getJobId();
         }
         return result;
     }


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [patch] fulcrum with torque-3.0-rc2-dev

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Stephen, let us know when the JAR is there -- I'd be happy to apply
the patch.  We'd all like to see Torque go 3.0 final.

"Stephen Haberman" <st...@chase3000.com> writes:

> Hi,
> 
> I'm updating an app to torque-3.0-rc2-dev that also uses Fulcrum, so I
> had to sync Fulcrum against  3.0-rc2. A few simple changes are listed
> below.
> 
> Also, how do we keep the snapshots on biblio up to date? Is there a
> policy in place or should we just send new jars to the maven people
> every once in awhile?
> 
> Thanks,
> Stephen
> 
> 
> cvs diff project.xml project.properties
> src\java\org\apache\fulcrum\schedule\JobEntry.java (in directory
> C:\cvs\fulcrum\)
> Index: project.xml
> ===================================================================
> RCS file: /home/cvs/jakarta-turbine-fulcrum/project.xml,v
> retrieving revision 1.52
> diff -u -r1.52 project.xml
> --- project.xml	16 Oct 2002 11:51:26 -0000	1.52
> +++ project.xml	31 Oct 2002 03:42:28 -0000
> @@ -186,7 +186,7 @@
>      </dependency>
>      <dependency>
>        <id>torque</id>
> -      <version>SNAPSHOT</version>
> +      <version>3.0-rc2-dev</version>
>        <url>http://jakarta.apache.org/turbine/torque/</url>
>      </dependency>
>      <dependency>
> Index: project.properties
> ===================================================================
> RCS file: /home/cvs/jakarta-turbine-fulcrum/project.properties,v
> retrieving revision 1.5
> diff -u -r1.5 project.properties
> --- project.properties	27 Sep 2002 05:31:24 -0000	1.5
> +++ project.properties	31 Oct 2002 03:42:29 -0000
> @@ -33,6 +33,7 @@
>  addIntakeRetrievable=true
>  basePrefix=Base
>  torque.saveException = Exception
> +torque.retrievableInterface = org.apache.fulcrum.intake.Retrievable
>  
>  schemaDirectory=.
>  
> Index: src/java/org/apache/fulcrum/schedule/JobEntry.java
> ===================================================================
> RCS file:
> /home/cvs/jakarta-turbine-fulcrum/src/java/org/apache/fulcrum/schedule/J
> obEntry.java,v
> retrieving revision 1.1.1.1
> diff -u -r1.1.1.1 JobEntry.java
> --- src/java/org/apache/fulcrum/schedule/JobEntry.java	30 May 2002
> 02:27:27 -0000	1.1.1.1
> +++ src/java/org/apache/fulcrum/schedule/JobEntry.java	31 Oct 2002
> 03:42:29 -0000
> @@ -155,9 +155,7 @@
>          int result = -1;
>          if (je instanceof JobEntry)
>          {
> -            result = getJobId().getBigDecimal()
> -            .compareTo(
> -                ((JobEntry)je).getJobId().getBigDecimal());
> +            result = getJobId() - ((JobEntry)je).getJobId();
>          }
>          return result;
>      }

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [patch] fulcrum with torque-3.0-rc2-dev

Posted by Scott Eade <se...@backstagetech.com.au>.
> From: "Stephen Haberman" <st...@chase3000.com>
> 
> Also, how do we keep the snapshots on biblio up to date? Is there a
> policy in place or should we just send new jars to the maven people
> every once in awhile?

Hi Stephen,

That seems to be the process for the moment.  I usually ask for an update on
maven-user without providing the file and someone (usually Jason) requests
that I send them the file offline.  There are some obvious security issues
here that have been discussed already (solutions are planned for the longer
term).

Cheers,

Scott
-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>