|
View:
New views
18 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (VELOCITY-724) Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?
-------------------------------------------------------------------------- Key: VELOCITY-724 URL: https://issues.apache.org/jira/browse/VELOCITY-724 Project: Velocity Issue Type: Bug Components: Testing Affects Versions: 1.6.2 Reporter: Aruna Venkataraman Priority: Trivial Fix For: 1.6.2 When i navigate to the build directory in Velocity 1.6.2 and invoke "ant" then the below error is got: Could not create task or type of type: junit. lib\test. Ant could not find the task or a class this task relies upon. Refer screenshot I deleted the junit-3.8.1.jar file from bin\test-lib as it was specified to be optional, but it gets created automatically. Do we need to remove the dependency on this junit-3.8.1.jar manually? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
[jira] Updated: (VELOCITY-724) Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?[ https://issues.apache.org/jira/browse/VELOCITY-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aruna Venkataraman updated VELOCITY-724: ---------------------------------------- Attachment: jnuit build failed.jpg > Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies? > -------------------------------------------------------------------------- > > Key: VELOCITY-724 > URL: https://issues.apache.org/jira/browse/VELOCITY-724 > Project: Velocity > Issue Type: Bug > Components: Testing > Affects Versions: 1.6.2 > Reporter: Aruna Venkataraman > Priority: Trivial > Fix For: 1.6.2 > > Attachments: jnuit build failed.jpg > > > When i navigate to the build directory in Velocity 1.6.2 and invoke "ant" then the below error is got: > Could not create task or type of type: junit. lib\test. > Ant could not find the task or a class this task relies upon. > Refer screenshot > I deleted the junit-3.8.1.jar file from bin\test-lib as it was specified to be optional, but it gets created automatically. > Do we need to remove the dependency on this junit-3.8.1.jar manually? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
[jira] Closed: (VELOCITY-724) Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?[ https://issues.apache.org/jira/browse/VELOCITY-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nathan Bubna closed VELOCITY-724. --------------------------------- Resolution: Invalid Fix Version/s: (was: 1.6.2) Arun. We have a user@... mailing list. Please use it for things like this, until such time as we've confirmed that it is indeed a bug and not something you are doing wrong. I appreciate your earnestness, but this bug tracker is ultimately for Velocity issues, not user issues. So please try to confirm that you have found a bug *before* opening JIRA issues. Take your problem here to the mailing list, and i will happily assist you there. > Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies? > -------------------------------------------------------------------------- > > Key: VELOCITY-724 > URL: https://issues.apache.org/jira/browse/VELOCITY-724 > Project: Velocity > Issue Type: Bug > Components: Testing > Affects Versions: 1.6.2 > Reporter: Aruna Venkataraman > Priority: Trivial > Attachments: jnuit build failed.jpg > > > When i navigate to the build directory in Velocity 1.6.2 and invoke "ant" then the below error is got: > Could not create task or type of type: junit. lib\test. > Ant could not find the task or a class this task relies upon. > Refer screenshot > I deleted the junit-3.8.1.jar file from bin\test-lib as it was specified to be optional, but it gets created automatically. > Do we need to remove the dependency on this junit-3.8.1.jar manually? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
[jira] Commented: (VELOCITY-724) Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?[ https://issues.apache.org/jira/browse/VELOCITY-724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715482#action_12715482 ] Aruna Venkataraman commented on VELOCITY-724: --------------------------------------------- As per your suggestion i posted this issue of Velocity build faling on ant command to ivy-user@... and our velocity users maling list. There are two solutions: 1. Copy junit.jar into ANT_HOME/lib directory (or) 2. Upgrade to the latest version of ant which includes junit.jar in it I just copied junit.jar into ANT_HOME/lib directory and the build is successful now. Suggestion: Can we change the required column from No to yes for junit.jar in jar dependencies.xml file as it is misleading from user perspective. Even build fails without junit.jar for velocity-1.6.2. Regards, Aruna > Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies? > -------------------------------------------------------------------------- > > Key: VELOCITY-724 > URL: https://issues.apache.org/jira/browse/VELOCITY-724 > Project: Velocity > Issue Type: Bug > Components: Testing > Affects Versions: 1.6.2 > Reporter: Aruna Venkataraman > Priority: Trivial > Attachments: jnuit build failed.jpg > > > When i navigate to the build directory in Velocity 1.6.2 and invoke "ant" then the below error is got: > Could not create task or type of type: junit. lib\test. > Ant could not find the task or a class this task relies upon. > Refer screenshot > I deleted the junit-3.8.1.jar file from bin\test-lib as it was specified to be optional, but it gets created automatically. > Do we need to remove the dependency on this junit-3.8.1.jar manually? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
[jira] Updated: (VELOCITY-724) Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?[ https://issues.apache.org/jira/browse/VELOCITY-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aruna Venkataraman updated VELOCITY-724: ---------------------------------------- Attachment: Build succeeds with junit.jar.jpg Refer Screenshot "Build succeeds with junit.jar" As per the suggestions from ivy-user@... group, the Velocity 1.6.2 build succeeds on copying junit.jar into ANT_HOME\lib directory. Please let me know if we change the required column from No to Yes for junit.jar in jar dependencies.xml file as it is misleading from user perspective. Even build fails without junit.jar for velocity-1.6.2. Thanks, Aruna > Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies? > -------------------------------------------------------------------------- > > Key: VELOCITY-724 > URL: https://issues.apache.org/jira/browse/VELOCITY-724 > Project: Velocity > Issue Type: Bug > Components: Testing > Affects Versions: 1.6.2 > Reporter: Aruna Venkataraman > Priority: Trivial > Attachments: Build succeeds with junit.jar.jpg, jnuit build failed.jpg > > > When i navigate to the build directory in Velocity 1.6.2 and invoke "ant" then the below error is got: > Could not create task or type of type: junit. lib\test. > Ant could not find the task or a class this task relies upon. > Refer screenshot > I deleted the junit-3.8.1.jar file from bin\test-lib as it was specified to be optional, but it gets created automatically. > Do we need to remove the dependency on this junit-3.8.1.jar manually? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
[jira] Commented: (VELOCITY-724) Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?[ https://issues.apache.org/jira/browse/VELOCITY-724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715490#action_12715490 ] Claude Brisson commented on VELOCITY-724: ----------------------------------------- Ant is fairly backward compatible. We could completely remove junit from dependancies. The "test" ant task could check on the version of ant and give an error. If you feel motivated, you can provide us with a patch for build.xml, there is already an example of using "ant.version" within. Attach here the "svn diff" (from the root directory), and we'll apply it. > Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies? > -------------------------------------------------------------------------- > > Key: VELOCITY-724 > URL: https://issues.apache.org/jira/browse/VELOCITY-724 > Project: Velocity > Issue Type: Bug > Components: Testing > Affects Versions: 1.6.2 > Reporter: Aruna Venkataraman > Priority: Trivial > Attachments: Build succeeds with junit.jar.jpg, jnuit build failed.jpg > > > When i navigate to the build directory in Velocity 1.6.2 and invoke "ant" then the below error is got: > Could not create task or type of type: junit. lib\test. > Ant could not find the task or a class this task relies upon. > Refer screenshot > I deleted the junit-3.8.1.jar file from bin\test-lib as it was specified to be optional, but it gets created automatically. > Do we need to remove the dependency on this junit-3.8.1.jar manually? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
[jira] Commented: (VELOCITY-724) Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?[ https://issues.apache.org/jira/browse/VELOCITY-724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715501#action_12715501 ] Aruna Venkataraman commented on VELOCITY-724: --------------------------------------------- Thanks for your input, Claude. Looking into buil.xml file now. Will come up with a patch soon. > Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies? > -------------------------------------------------------------------------- > > Key: VELOCITY-724 > URL: https://issues.apache.org/jira/browse/VELOCITY-724 > Project: Velocity > Issue Type: Bug > Components: Testing > Affects Versions: 1.6.2 > Reporter: Aruna Venkataraman > Priority: Trivial > Attachments: Build succeeds with junit.jar.jpg, jnuit build failed.jpg > > > When i navigate to the build directory in Velocity 1.6.2 and invoke "ant" then the below error is got: > Could not create task or type of type: junit. lib\test. > Ant could not find the task or a class this task relies upon. > Refer screenshot > I deleted the junit-3.8.1.jar file from bin\test-lib as it was specified to be optional, but it gets created automatically. > Do we need to remove the dependency on this junit-3.8.1.jar manually? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
[jira] Reopened: (VELOCITY-724) Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?[ https://issues.apache.org/jira/browse/VELOCITY-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aruna Venkataraman reopened VELOCITY-724: ----------------------------------------- This patch intimates the user that the build and compile was successful. The testing was halted since the user needs to upgrade to Apache Ant 1.7.x. Refer revised error message.PNG for the new error message output got. The current error message contains a lengthy error message outlining 6 possible causes for error (Refer current error message.PNG). This error message will no longer be thrown to the end user. The error message has been made more clear and short. Implementation: Need to apply this patch at line number 1182 in build.xml file. Refer svn diff.PNG for exact location for implementation and the single place of modification done. SVN Repository Location: http://svn.apache.org/repos/asf/velocity/engine/trunk/build/ Code: <!-- =================================================================== --> <!-- Halts the testing process if Apache 1.7.x version is not used --> <!-- =================================================================== --> <fail message="You are currently using ${ant.version}"> <condition> <or> <contains string="${ant.version}" substring="1.2"/> <contains string="${ant.version}" substring="1.3"/> <contains string="${ant.version}" substring="1.4"/> <contains string="${ant.version}" substring="1.5"/> <contains string="${ant.version}" substring="1.6"/> </or> </condition> Error: Build and compilation was successful. Testing failed. If you would like to test with junit, please upgrade to Apache Ant 1.7.x version. </fail> Please reply if you need anymore information/enhancement on this. Thanks, Aruna > Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies? > -------------------------------------------------------------------------- > > Key: VELOCITY-724 > URL: https://issues.apache.org/jira/browse/VELOCITY-724 > Project: Velocity > Issue Type: Bug > Components: Testing > Affects Versions: 1.6.2 > Reporter: Aruna Venkataraman > Priority: Trivial > Attachments: Build succeeds with junit.jar.jpg, jnuit build failed.jpg > > > When i navigate to the build directory in Velocity 1.6.2 and invoke "ant" then the below error is got: > Could not create task or type of type: junit. lib\test. > Ant could not find the task or a class this task relies upon. > Refer screenshot > I deleted the junit-3.8.1.jar file from bin\test-lib as it was specified to be optional, but it gets created automatically. > Do we need to remove the dependency on this junit-3.8.1.jar manually? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
[jira] Updated: (VELOCITY-724) Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?[ https://issues.apache.org/jira/browse/VELOCITY-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aruna Venkataraman updated VELOCITY-724: ---------------------------------------- Attachment: revised error message.PNG current error message.PNG svn diff.PNG Refer svn diff.PNG for the location to appy this patch in build.xml file. It is line number 1182. Refer current and revised error messages for a clear picture of modification done from user perspective. > Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies? > -------------------------------------------------------------------------- > > Key: VELOCITY-724 > URL: https://issues.apache.org/jira/browse/VELOCITY-724 > Project: Velocity > Issue Type: Bug > Components: Testing > Affects Versions: 1.6.2 > Reporter: Aruna Venkataraman > Priority: Trivial > Attachments: Build succeeds with junit.jar.jpg, current error message.PNG, jnuit build failed.jpg, revised error message.PNG, svn diff.PNG > > > When i navigate to the build directory in Velocity 1.6.2 and invoke "ant" then the below error is got: > Could not create task or type of type: junit. lib\test. > Ant could not find the task or a class this task relies upon. > Refer screenshot > I deleted the junit-3.8.1.jar file from bin\test-lib as it was specified to be optional, but it gets created automatically. > Do we need to remove the dependency on this junit-3.8.1.jar manually? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
[jira] Updated: (VELOCITY-724) [PATCH] Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?[ https://issues.apache.org/jira/browse/VELOCITY-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aruna Venkataraman updated VELOCITY-724: ---------------------------------------- Summary: [PATCH] Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies? (was: Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?) > [PATCH] Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies? > ---------------------------------------------------------------------------------- > > Key: VELOCITY-724 > URL: https://issues.apache.org/jira/browse/VELOCITY-724 > Project: Velocity > Issue Type: Bug > Components: Testing > Affects Versions: 1.6.2 > Reporter: Aruna Venkataraman > Priority: Trivial > Attachments: Build succeeds with junit.jar.jpg, current error message.PNG, jnuit build failed.jpg, revised error message.PNG, svn diff.PNG > > > When i navigate to the build directory in Velocity 1.6.2 and invoke "ant" then the below error is got: > Could not create task or type of type: junit. lib\test. > Ant could not find the task or a class this task relies upon. > Refer screenshot > I deleted the junit-3.8.1.jar file from bin\test-lib as it was specified to be optional, but it gets created automatically. > Do we need to remove the dependency on this junit-3.8.1.jar manually? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
[jira] Updated: (VELOCITY-724) [PATCH] Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?[ https://issues.apache.org/jira/browse/VELOCITY-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aruna Venkataraman updated VELOCITY-724: ---------------------------------------- Attachment: build.patch Created a patch build.patch containing the code to throw specific error to the user on the need to upgrade to Apache Ant 1.7.x when they test velocity-1.6.2 using ant command > [PATCH] Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies? > ---------------------------------------------------------------------------------- > > Key: VELOCITY-724 > URL: https://issues.apache.org/jira/browse/VELOCITY-724 > Project: Velocity > Issue Type: Bug > Components: Testing > Affects Versions: 1.6.2 > Reporter: Aruna Venkataraman > Priority: Trivial > Attachments: Build succeeds with junit.jar.jpg, build.patch, current error message.PNG, jnuit build failed.jpg, revised error message.PNG, svn diff.PNG > > > When i navigate to the build directory in Velocity 1.6.2 and invoke "ant" then the below error is got: > Could not create task or type of type: junit. lib\test. > Ant could not find the task or a class this task relies upon. > Refer screenshot > I deleted the junit-3.8.1.jar file from bin\test-lib as it was specified to be optional, but it gets created automatically. > Do we need to remove the dependency on this junit-3.8.1.jar manually? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
[jira] Updated: (VELOCITY-724) [PATCH] Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?[ https://issues.apache.org/jira/browse/VELOCITY-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aruna Venkataraman updated VELOCITY-724: ---------------------------------------- Component/s: (was: Testing) Build > [PATCH] Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies? > ---------------------------------------------------------------------------------- > > Key: VELOCITY-724 > URL: https://issues.apache.org/jira/browse/VELOCITY-724 > Project: Velocity > Issue Type: Bug > Components: Build > Affects Versions: 1.6.2 > Reporter: Aruna Venkataraman > Priority: Trivial > Attachments: Build succeeds with junit.jar.jpg, build.patch, current error message.PNG, jnuit build failed.jpg, revised error message.PNG, svn diff.PNG > > > When i navigate to the build directory in Velocity 1.6.2 and invoke "ant" then the below error is got: > Could not create task or type of type: junit. lib\test. > Ant could not find the task or a class this task relies upon. > Refer screenshot > I deleted the junit-3.8.1.jar file from bin\test-lib as it was specified to be optional, but it gets created automatically. > Do we need to remove the dependency on this junit-3.8.1.jar manually? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
[jira] Updated: (VELOCITY-724) [PATCH] Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?[ https://issues.apache.org/jira/browse/VELOCITY-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aruna Venkataraman updated VELOCITY-724: ---------------------------------------- Attachment: build.patch The previous patch attachment is not opening up. So attached another one. This patch resolves jar dependencies issue while building velocity 1.6.2 > [PATCH] Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies? > ---------------------------------------------------------------------------------- > > Key: VELOCITY-724 > URL: https://issues.apache.org/jira/browse/VELOCITY-724 > Project: Velocity > Issue Type: Bug > Components: Build > Affects Versions: 1.6.2 > Reporter: Aruna Venkataraman > Priority: Trivial > Attachments: Build succeeds with junit.jar.jpg, build.patch, build.patch, current error message.PNG, jnuit build failed.jpg, revised error message.PNG, svn diff.PNG > > > When i navigate to the build directory in Velocity 1.6.2 and invoke "ant" then the below error is got: > Could not create task or type of type: junit. lib\test. > Ant could not find the task or a class this task relies upon. > Refer screenshot > I deleted the junit-3.8.1.jar file from bin\test-lib as it was specified to be optional, but it gets created automatically. > Do we need to remove the dependency on this junit-3.8.1.jar manually? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
[jira] Updated: (VELOCITY-724) [PATCH] Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?[ https://issues.apache.org/jira/browse/VELOCITY-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aruna Venkataraman updated VELOCITY-724: ---------------------------------------- Attachment: (was: build.patch) > [PATCH] Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies? > ---------------------------------------------------------------------------------- > > Key: VELOCITY-724 > URL: https://issues.apache.org/jira/browse/VELOCITY-724 > Project: Velocity > Issue Type: Bug > Components: Build > Affects Versions: 1.6.2 > Reporter: Aruna Venkataraman > Priority: Trivial > Attachments: Build succeeds with junit.jar.jpg, build.patch, current error message.PNG, jnuit build failed.jpg, revised error message.PNG, svn diff.PNG > > > When i navigate to the build directory in Velocity 1.6.2 and invoke "ant" then the below error is got: > Could not create task or type of type: junit. lib\test. > Ant could not find the task or a class this task relies upon. > Refer screenshot > I deleted the junit-3.8.1.jar file from bin\test-lib as it was specified to be optional, but it gets created automatically. > Do we need to remove the dependency on this junit-3.8.1.jar manually? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
[jira] Updated: (VELOCITY-724) [PATCH] Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?[ https://issues.apache.org/jira/browse/VELOCITY-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Glass-Husain updated VELOCITY-724: --------------------------------------- Fix Version/s: 1.7 > [PATCH] Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies? > ---------------------------------------------------------------------------------- > > Key: VELOCITY-724 > URL: https://issues.apache.org/jira/browse/VELOCITY-724 > Project: Velocity > Issue Type: Bug > Components: Build > Affects Versions: 1.6.2 > Reporter: Aruna Venkataraman > Priority: Trivial > Fix For: 1.7 > > Attachments: Build succeeds with junit.jar.jpg, build.patch, current error message.PNG, jnuit build failed.jpg, revised error message.PNG, svn diff.PNG > > > When i navigate to the build directory in Velocity 1.6.2 and invoke "ant" then the below error is got: > Could not create task or type of type: junit. lib\test. > Ant could not find the task or a class this task relies upon. > Refer screenshot > I deleted the junit-3.8.1.jar file from bin\test-lib as it was specified to be optional, but it gets created automatically. > Do we need to remove the dependency on this junit-3.8.1.jar manually? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
[jira] Updated: (VELOCITY-724) [PATCH] Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?[ https://issues.apache.org/jira/browse/VELOCITY-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Glass-Husain updated VELOCITY-724: --------------------------------------- Attachment: ant17.patch upgrade requirements to ant 1.7 and drop junit download. > [PATCH] Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies? > ---------------------------------------------------------------------------------- > > Key: VELOCITY-724 > URL: https://issues.apache.org/jira/browse/VELOCITY-724 > Project: Velocity > Issue Type: Bug > Components: Build > Affects Versions: 1.6.2 > Reporter: Aruna Venkataraman > Priority: Trivial > Fix For: 1.7 > > Attachments: ant17.patch, Build succeeds with junit.jar.jpg, build.patch, current error message.PNG, jnuit build failed.jpg, revised error message.PNG, svn diff.PNG > > > When i navigate to the build directory in Velocity 1.6.2 and invoke "ant" then the below error is got: > Could not create task or type of type: junit. lib\test. > Ant could not find the task or a class this task relies upon. > Refer screenshot > I deleted the junit-3.8.1.jar file from bin\test-lib as it was specified to be optional, but it gets created automatically. > Do we need to remove the dependency on this junit-3.8.1.jar manually? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
[jira] Updated: (VELOCITY-724) [PATCH] Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?[ https://issues.apache.org/jira/browse/VELOCITY-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Glass-Husain updated VELOCITY-724: --------------------------------------- Attachment: (was: ant17.patch) > [PATCH] Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies? > ---------------------------------------------------------------------------------- > > Key: VELOCITY-724 > URL: https://issues.apache.org/jira/browse/VELOCITY-724 > Project: Velocity > Issue Type: Bug > Components: Build > Affects Versions: 1.6.2 > Reporter: Aruna Venkataraman > Priority: Trivial > Fix For: 1.7 > > Attachments: Build succeeds with junit.jar.jpg, build.patch, current error message.PNG, jnuit build failed.jpg, revised error message.PNG, svn diff.PNG > > > When i navigate to the build directory in Velocity 1.6.2 and invoke "ant" then the below error is got: > Could not create task or type of type: junit. lib\test. > Ant could not find the task or a class this task relies upon. > Refer screenshot > I deleted the junit-3.8.1.jar file from bin\test-lib as it was specified to be optional, but it gets created automatically. > Do we need to remove the dependency on this junit-3.8.1.jar manually? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
[jira] Resolved: (VELOCITY-724) [PATCH] Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?[ https://issues.apache.org/jira/browse/VELOCITY-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Glass-Husain resolved VELOCITY-724. ---------------------------------------- Resolution: Fixed Hi, It makes sense to me to upgrade to ant 1.7-- it's been out for a long time. (and the manual copying of junit lib is very confusing). I went ahead and upgraded to ant 1.7 but did not drop junit dependency. (changed the build file with your patch and the docs). It doesn't look like ant comes with junit. Instead, if it's in the app classpath, it uses it automatically (no need to copy to lib directory). Does this sound right? Go ahead and reopen the issue if you've further comments. Thanks for raising the issue. WILL > [PATCH] Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies? > ---------------------------------------------------------------------------------- > > Key: VELOCITY-724 > URL: https://issues.apache.org/jira/browse/VELOCITY-724 > Project: Velocity > Issue Type: Bug > Components: Build > Affects Versions: 1.6.2 > Reporter: Aruna Venkataraman > Priority: Trivial > Fix For: 1.7 > > Attachments: Build succeeds with junit.jar.jpg, build.patch, current error message.PNG, jnuit build failed.jpg, revised error message.PNG, svn diff.PNG > > > When i navigate to the build directory in Velocity 1.6.2 and invoke "ant" then the below error is got: > Could not create task or type of type: junit. lib\test. > Ant could not find the task or a class this task relies upon. > Refer screenshot > I deleted the junit-3.8.1.jar file from bin\test-lib as it was specified to be optional, but it gets created automatically. > Do we need to remove the dependency on this junit-3.8.1.jar manually? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
| Free embeddable forum powered by Nabble | Forum Help |