Seems, that the problems are only due to path problems, so don't worry about
this post.

FresnelUtilities.read(ontoRepo, "file://" + onto.getAbsolutePath(),
"RDFXML"); 

Doesn't work on a windows (XP) machine. Instead the URl has to become sth.
like file:///C:/... Which can be achieved by using the onto.toURL.getPath()
method. There should be a better way though, since this is deprecated.

Jan



-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Jan Polowinski
Gesendet: Donnerstag, 26. April 2007 15:01
An: [EMAIL PROTECTED]
Betreff: tests fail after mvn package (fresnel engine)

Hello,

I downloaded the fresnel project via subversion and would like to know if I
have a chance of working with it, as long as the unit tests fail. Everything
seems to be correctly downloaded to the maven repository. Here is the
message:
Jan


C:\EigeneDateien2\Projekte\Diplomarbeit\Downloads\Subversionsites\Fresnel\fr
esnel\trunk>mvn -e package
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building SIMILE Fresnel Engine
[INFO]    task-segment: [package]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory:
C:\EigeneDateien2\Projekte\Diplomarbeit\Downloads\Subversionsites\Fresnel\fr
esnel\trunk\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running edu.mit.simile.fresnel.tests.InstanceSelectionTest
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 7.29 sec <<<
FAILURE!
Running edu.mit.simile.fresnel.tests.FSLSelectionTest
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec <<<
FAILURE!

Results :

Failed tests:
  testParsing(edu.mit.simile.fresnel.tests.InstanceSelectionTest)
  testSelection(edu.mit.simile.fresnel.tests.InstanceSelectionTest)
  testParsing(edu.mit.simile.fresnel.tests.FSLSelectionTest)
  testSelection(edu.mit.simile.fresnel.tests.FSLSelectionTest)

Tests run: 4, Failures: 4, Errors: 0, Skipped: 0

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
cycleExecutor.java:560)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:480)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec
ycleExecutor.java:459)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail
ures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa
ultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
Executor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test
failures.
        at
org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:
425)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage
r.java:420)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
cycleExecutor.java:539)
        ... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 12 seconds
[INFO] Finished at: Wed Apr 25 11:51:34 CEST 2007
[INFO] Final Memory: 6M/12M
[INFO]
------------------------------------------------------------------------

C:\EigeneDateien2\Projekte\Diplomarbeit\Downloads\Subversionsites\Fresnel\fr
esnel\trunk>




_______________________________________________
Developers mailing list
[EMAIL PROTECTED]
http://simile.mit.edu/mailman/listinfo/developers


_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to