Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] Ant dependencies

Mike Norman wrote:
Guy Pelletier wrote:
EclipseLink developers,
 
As an FYI, I just ran into couple issues while trying to build-test on my machine.
 
1 - Apparently we have a dependency on ant 1.7.1, so if you are still using 1.6.5, you will need to update your ant version. By not upgrading, ant build-test no longer works since dbws.test requires jdk 1.6+ and ant 1.6.5 knows nothing beyond jdk 1.5.
 
2 - Also, you'll need to comment out line 168 from the trunk build.xml if you are not using mysql. dbws.test currently has a dependency/assumption that you are using mysql and if you are not, you'll get other unexpected errors.
 
Cheers,
Guy
To be precise - Ant 1.7.0 is the minimum
and I'm fixing the dbws.test stuff as I type ...
Done.

In trunk/build.xml
 - during 'build-core-test', only the common DBWS test classes are compiled (the tests are not run)
 - added new target 'test-dbws' that runs the DBWS 'core' tests

dbws/eclipselink.dbws.test/build.xml
 - test condition ${db.platform} must be set, and its value must match "org.eclipse.persistence.platform.database.MySQLPlatform"
   otherwise, the tests don't run

ToDo
 - add 'test-dbws' to automated build's list of tests
   - Q: How to get DBWS JUnit output part of nightly report?
- support 'test-dbws' on platforms other than MySQL


--
Oracle Email Signature Logo
Mike Norman | Principal Software Designer | 613.288.4638
Oracle Server Technologies | EclipseLink Product
45 O'Connor Street, Suite 400 | Ottawa, ON K1P 1A4 | (fax) 613.238.2818


Back to the top