The following issue has been updated:

    Updater: Martin Poeschl (mailto:[EMAIL PROTECTED])
       Date: Thu, 21 Aug 2003 12:39 AM
    Comment:
updated patch to use torque-3.1-beta1
    Changes:
             Attachment changed to torque.diff
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-690&page=history

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-690


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-690
    Summary: Torque plugin woes
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin-torque
   Fix Fors:
             1.1
   Versions:
             1.0-beta-10

   Assignee: 
   Reporter: dion gillard

    Created: Mon, 18 Aug 2003 8:21 PM
    Updated: Thu, 21 Aug 2003 12:39 AM

Description:
Hi,

I seem to be the only one actually using this plugin. Or everyone else
never really rebuilds maven from scratch and keeps old plugins laying
around so that some pathes and / or jar dependencies work by accident.

The following patch is needed for me to get the maven-torque-plugin
functional again in the MAVEN_RC1_STABLE branch when building maven
into a fresh $MAVEN_HOME from scratch. Please apply.

- correct the dependency names for xml-apis and torque:torque-gen
  (didn't load before, worked by accident if the project had the same
   jars on its classpath.)

- Load the plugin.properties from the _right_ path.  The plugin is under
  3.2-SNAPSHOT, not 3.1

- The "latest and greatest" Velocity-1.4-dev seems to have huge problems
  loading its templates from the classpath. Go back to 1.3.1 which works
  fine.

With this patch, I'm actually able to build the current Turbine base again
with a current maven. All changes are obvious. Please apply.

                 Regards
                                 Henning


diff -urb maven/src/plugins-build/torque/plugin.jelly 
/home/henning/.maven/plugins/maven-torque-plugin-3.2-SNAPSHOT/plugin.jelly
--- maven/src/plugins-build/torque/plugin.jelly          2003-08-07 19:00:54.000000000 
+0200
+++ /home/henning/.maven/plugins/maven-torque-plugin-3.2-SNAPSHOT/plugin.jelly         
  2003-08-18 23:42:00.000000000 +0200
@@ -31,8 +31,8 @@
       <pathelement path="${plugin.getDependencyPath('velocity')}"/>
       <pathelement path="${plugin.getDependencyPath('village')}"/>
       <pathelement path="${plugin.getDependencyPath('xercesImpl')}"/>
-      <pathelement path="${plugin.getDependencyPath('xmlParserAPIs')}"/>
-      <pathelement path="${plugin.getDependencyPath('torque-gen')}"/>
+      <pathelement path="${plugin.getDependencyPath('xml-apis')}"/>
+      <pathelement path="${plugin.getDependencyPath('torque:torque-gen')}"/>
       <pathelement path="${pom.getDependencyClasspath()}"/>
       <path refid="maven.dependency.classpath"/>
     </path>
@@ -42,7 +42,7 @@
 
          Note: I have no idea why this file is not already processed by the plugin..
       -->
-    <property file="${maven.plugin.dir}/maven-torque-plugin-3.1/plugin.properties"/>
+    <property 
file="${maven.plugin.dir}/maven-torque-plugin-3.2-SNAPSHOT/plugin.properties"/>
 
     <!-- Define all of the tasks -->
     <taskdef
diff -urb maven/src/plugins-build/torque/project.xml 
/home/henning/.maven/plugins/maven-torque-plugin-3.2-SNAPSHOT/project.xml
--- maven/src/plugins-build/torque/project.xml           2003-07-25 08:35:27.000000000 
+0200
+++ /home/henning/.maven/plugins/maven-torque-plugin-3.2-SNAPSHOT/project.xml          
  2003-08-18 23:41:28.000000000 +0200
@@ -123,7 +123,7 @@
     </dependency>
     <dependency>
       <id>velocity</id>
-      <version>1.4-dev</version>
+      <version>1.3.1</version>
       <properties>
         <classloader>root</classloader>
       </properties>
-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
[EMAIL PROTECTED]        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire

"Dominate!! Dominate!! Eat your young and aggregate! I have grotty silicon!" 
      -- AOL CD when played backwards  (User Friendly - 200-10-15)

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




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

Reply via email to