RE: How to receive Data Object Transaction Events

2006-10-13 Thread DOMINGUEZ Felipe
Hello. I did find the solution. It is as simple as to enable event dispatching on the DataContext :-0 context.setTransactionEventsEnabled(true); then it works as it says in the documentation. I post it in case some one is having the same silly problem in the future. Cheers Felipe

Still problems to create Ant task

2006-10-13 Thread DOMINGUEZ Felipe
Hello. I am still having problems building an ant task that uses cayenne. I use the FileConfiguration class, FileConfiguration conf = new FileConfiguration(cayenne.xml); conf.addClassPath(pathToCayenneDir); Configuration.initializeSharedConfiguration(conf); but it throws a

Re: Still problems to create Ant task

2006-10-13 Thread Andrus Adamchik
I just created a small test project and it seems to work just fine. The jar path includes cayenne.jar, task.jar and driver.jar. Andrus public class TestTask extends Task { protected File cayenneProject; public void setCayenneProject(File cayenneProject) {