Geert,

I'm still trying to get AspectJ working with Rife. Atm, as far as joinpoints are in my projects it's ok. But when I try to define a poincut with some joinpoints in rife-1.3-snapshot-jdk15.jar, it doesn't work, with errors from inside rife jar...

So I tried to compile rife from svn repository. And then I get this error with build-1.5.xml:

precompileSqlTemplates:
    [echo] Precompiling sql templates:
    [java] The path '.project' is not a directory.

BUILD FAILED
C:\DEV\Rife\rife-svn\build-1.5.xml:347: Java returned: 1


I'm working with Eclipse+Subclipse under Windows XP.

Even if I add some "-e" parameter, I get System.exit from TemplateDeployer's ctor with file name as ".project". In fact TemplateDeployer checks directory names in its ctor, before the exclusion step in its execute function. May I suggest to replace the exit instructions in the ctor by continue ones (just keep the warnings).

Other issue: in target "precompileSqlTemplates", there is an include parameter,

           <arg value="-i"/>
           <arg value=".*.${dbdriver}.*"/>

This pattern becomes ".classpath" in TemplateDeployer.main. I don't really understand this behavior. May be because ${dbdriver}= "*", so the final pattern is equivalent to ".*"? Anyhow with the pattern ".classpath", none of the sql templates are found by TemplateException execute.

Is it at purpose, to avoid taking in account any sql files if no driver is specified?

Regards

Pierre


_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to