In fact, I face 2 different problems :
- Trying to run your test:
- "non fatal" log4j NPE in LogFilter.isLoggable (whereas there is
no explicit log4j reference in your test -> it seems to be called by
Eclipse)
- "fatal" OutOfMemoryError: PermGen space (?)
- The "com.google.common.base.Predicate not found" comes from a
simple Java program I've written, in order to simply run your generator
(without using Junit). I've created a new Java project for it, and I
guess I miss some runtime dependencies. => how did you resolve the
dependencies of your test project?
By the way, my initial problem was to print out current date => I've
just found that it is possible to use class ReportingUtil from
org.topcased.olc.reporting :
[import
org::topcased::ocl::reporting::utils::ReportingUtil/]
...
[let o : EObject = ...]
[o.getCurrentDate()/]
[/let]
Regards,
Thierry.
Topcased user list where issues are discussed a écrit :
Hi thierry.
you can remove any Log4j stuff, this is only for logging purpose
( i d'ont remember my example used it )
For Google predicate class, Acceleo requires it, but it should
be already present in your installation.
Go to "run configurations" then "plug-ins" tab, then click on
"Add required" to dd the missing plugins to your Eclipse runtime.
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users
|
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users