[jira] [Commented] (MTOMCAT-118) tomcat7:run wont accept additionalClasspathDir arguments

2012-02-02 Thread Dave Lund (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/MTOMCAT-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13198657#comment-13198657
 ] 

Dave Lund commented on MTOMCAT-118:
---

apologizes mvn --version output attached to environment field

 tomcat7:run wont accept additionalClasspathDir arguments
 

 Key: MTOMCAT-118
 URL: https://issues.apache.org/jira/browse/MTOMCAT-118
 Project: Apache Tomcat Maven Plugin
  Issue Type: Bug
  Components: tomcat7
Affects Versions: 2.0-beta-1, 2.0
 Environment: Apache Maven 3.0 (r1004208; 2010-10-04 12:50:56+0100)
 Java version: 1.6.0_24
 Java home: C:\dev\java\java\jre
 Default locale: en_GB, platform encoding: Cp1252
 OS name: windows 7 version: 6.1 arch: amd64 Family: windows
Reporter: Dave Lund
Assignee: Olivier Lamy

 Using the below configuration, the following error is given:
 [ERROR] Failed to execute goal 
 org.apache.tomcat.maven:tomcat7-maven-plugin:2.0-SNAPSHOT:run (default-cli) 
 on project XXX: A type incompatibility occured while executing 
 org.apache.tomcat.maven:tomcat7-maven-plugin:2.0-SNAPSHOT:run: 
 java.lang.String cannot be cast to java.io.File
 Example taken from docs site 
 http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/run-mojo-features.html
 plugin
   groupIdorg.apache.tomcat.maven/groupId
   artifactIdtomcat7-maven-plugin/artifactId
   version2.0-SNAPSHOT/version
   configuration
   !-- http port --
   port9090/port
   path//path
   useTestClasspathfalse/useTestClasspath
   
 contextFilesrc/sandbox/tomcat/sandbox-context.xml/contextFile
   additionalClasspathDirs
   
 additionalClasspathDirsrc/test/resources/additionalClasspathDir
   /additionalClasspathDirs
   /configuration
   dependencies
   dependency
   groupIdmysql/groupId
   artifactIdmysql-connector-java/artifactId
   version${mysql.mysql-connector-java}/version
   /dependency
   dependency
   groupIdch.qos.logback/groupId
   artifactIdlogback-classic/artifactId
   version0.9.15/version
   /dependency
   /dependencies
 /plugin

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[jira] [Commented] (MTOMCAT-118) tomcat7:run wont accept additionalClasspathDir arguments

2012-02-02 Thread Dave Lund (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/MTOMCAT-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13198702#comment-13198702
 ] 

Dave Lund commented on MTOMCAT-118:
---

Thanks for the work around - I've no problem with upgrading maven anyway

 tomcat7:run wont accept additionalClasspathDir arguments
 

 Key: MTOMCAT-118
 URL: https://issues.apache.org/jira/browse/MTOMCAT-118
 Project: Apache Tomcat Maven Plugin
  Issue Type: Bug
  Components: tomcat7
Affects Versions: 2.0-beta-1, 2.0
 Environment: Apache Maven 3.0 (r1004208; 2010-10-04 12:50:56+0100)
 Java version: 1.6.0_24
 Java home: C:\dev\java\java\jre
 Default locale: en_GB, platform encoding: Cp1252
 OS name: windows 7 version: 6.1 arch: amd64 Family: windows
Reporter: Dave Lund
Assignee: Olivier Lamy
 Fix For: 2.0


 Using the below configuration, the following error is given:
 [ERROR] Failed to execute goal 
 org.apache.tomcat.maven:tomcat7-maven-plugin:2.0-SNAPSHOT:run (default-cli) 
 on project XXX: A type incompatibility occured while executing 
 org.apache.tomcat.maven:tomcat7-maven-plugin:2.0-SNAPSHOT:run: 
 java.lang.String cannot be cast to java.io.File
 Example taken from docs site 
 http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/run-mojo-features.html
 plugin
   groupIdorg.apache.tomcat.maven/groupId
   artifactIdtomcat7-maven-plugin/artifactId
   version2.0-SNAPSHOT/version
   configuration
   !-- http port --
   port9090/port
   path//path
   useTestClasspathfalse/useTestClasspath
   
 contextFilesrc/sandbox/tomcat/sandbox-context.xml/contextFile
   additionalClasspathDirs
   
 additionalClasspathDirsrc/test/resources/additionalClasspathDir
   /additionalClasspathDirs
   /configuration
   dependencies
   dependency
   groupIdmysql/groupId
   artifactIdmysql-connector-java/artifactId
   version${mysql.mysql-connector-java}/version
   /dependency
   dependency
   groupIdch.qos.logback/groupId
   artifactIdlogback-classic/artifactId
   version0.9.15/version
   /dependency
   /dependencies
 /plugin

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org