Issue Details (XML | Word | Printable)

Key: RIO-193
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Dennis Reedy
Reporter: Jeff Ramsdale
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Rio

JUnit version incorrect for examples

Created: 05/Aug/09 01:00 AM   Updated: 05/Aug/09 03:38 PM
Component/s: Examples
Affects Version/s: 4.0 M2
Fix Version/s: 4.0 M3

Time Tracking:
Not Specified


 Description  « Hide
The version of JUnit referenced in the example build.xmls is incorrect. Should be 4.5 instead of 4.4.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jeff Ramsdale added a comment - 05/Aug/09 01:02 AM
Can Jira be configured to allow attachments? It would seem I don't have the privs, if the feature exists...

Patch enclosed. This also svn:ignores Eclipse metadata and other build artifacts:

      1. Eclipse Workspace Patch 1.0
        #P rio

Property changes on: examples\springbean
___________________________________________________________________
Added: svn:ignore
+ build
lib

Property changes on: examples\events
___________________________________________________________________
Added: svn:ignore
+ build
lib

Index: examples/calculator/build.xml
===================================================================
— examples/calculator/build.xml (revision 1828)
+++ examples/calculator/build.xml (working copy)
@@ -19,7 +19,7 @@
<path id="project.classpath">
<pathelement location="${classes}"/>
<path refid="bootstrap.jars"/>
- <pathelement location="${rio.lib}/junit/junit-4.4.jar"/>
+ <pathelement location="${rio.lib}/junit/junit-4.5.jar"/>
</path>

<target name="prepare"

Property changes on: examples\tutorial\jini-example
___________________________________________________________________
Added: svn:ignore
+ build
lib



Property changes on: .
___________________________________________________________________
Modified: svn:ignore
- target

+ target
.settings
.classpath
.project


Index: examples/bean/build.xml
===================================================================
— examples/bean/build.xml (revision 1828)
+++ examples/bean/build.xml (working copy)
@@ -19,7 +19,7 @@
<path id="project.classpath">
<pathelement location="${classes}"/>
<path refid="bootstrap.jars"/>

  • <pathelement location="${rio.lib}/junit/junit-4.4.jar"/>
    + <pathelement location="${rio.lib}/junit/junit-4.5.jar"/>
    </path>

<target name="prepare"

Property changes on: examples\calculator
___________________________________________________________________
Added: svn:ignore
+ build
lib

Property changes on: examples\tutorial\compute-grid
___________________________________________________________________
Added: svn:ignore
+ build
lib


Jeff Ramsdale added a comment - 05/Aug/09 01:18 AM
Doesn't look like I can change my report once it's entered. This error occurs with fresh SVN checkout (M3), not M2 (well, maybe it does--I didn't check).

Dennis Reedy added a comment - 05/Aug/09 03:38 PM
Didnt use the patch, build.xml files fixed.