db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Bouschen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-641) javax.jdo.Enhancer fails to pass full path name for the file arguments
Date Thu, 15 Oct 2009 19:27:31 GMT

    [ https://issues.apache.org/jira/browse/JDO-641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766192#action_12766192
] 

Michael Bouschen commented on JDO-641:
--------------------------------------

I see the same result after applying the patch and run 'maven buid' on Windows. There is no
difference whether running jdk5 or jdk6.

Here is the test output, taken from EnhancerTest.txt:

Testsuite: javax.jdo.EnhancerTest
Tests run: 20, Failures: 1, Errors: 0, Time elapsed: 8,016 sec

Testcase: testDir(javax.jdo.EnhancerTest):	FAILED
Expected directory enhancer-test-dir in message from out:
Enhancer Processing -v.
Enhancer found JDOEnhancer of class javax.jdo.MockEnhancer.
Enhancer property key:VendorName value:Mock Enhancer.
Enhancer property key:VersionNumber value:2.3.0.
Enhancer property key:MockKey value:MockValue.
Enhancer enhanced 0 classes.
 with err:

junit.framework.AssertionFailedError: Expected directory enhancer-test-dir in message from
out:
Enhancer Processing -v.
Enhancer found JDOEnhancer of class javax.jdo.MockEnhancer.
Enhancer property key:VendorName value:Mock Enhancer.
Enhancer property key:VersionNumber value:2.3.0.
Enhancer property key:MockKey value:MockValue.
Enhancer enhanced 0 classes.
 with err:

	at javax.jdo.EnhancerTest.testDir(EnhancerTest.java:250)
	at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:195)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
	at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
	at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:116)
	at org.apache.maven.werkz.Goal.fire(Goal.java:691)
	at org.apache.maven.werkz.Goal.attain(Goal.java:623)
	at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
	at org.apache.maven.werkz.Goal.attain(Goal.java:621)
	at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
	at org.apache.maven.werkz.Goal.attain(Goal.java:621)
	at org.apache.maven.werkz.WerkzProject.attainGoal(WerkzProject.java:209)
	at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:115)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
	at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:116)
	at org.apache.maven.werkz.Goal.fire(Goal.java:691)
	at org.apache.maven.werkz.Goal.attain(Goal.java:623)
	at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:712)
	at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
	at org.apache.maven.cli.App.doMain(App.java:307)
	at org.apache.maven.cli.App.main(App.java:217)
	at com.werken.forehead.Forehead.run(Forehead.java:551)
	at com.werken.forehead.Forehead.main(Forehead.java:581)


> javax.jdo.Enhancer fails to pass full path name for the file arguments
> ----------------------------------------------------------------------
>
>                 Key: JDO-641
>                 URL: https://issues.apache.org/jira/browse/JDO-641
>             Project: JDO
>          Issue Type: Bug
>          Components: api2
>    Affects Versions: JDO 2 maintenance release 3
>            Reporter: Michelle Caisse
>            Assignee: Craig Russell
>             Fix For: JDO 2 maintenance release 3
>
>         Attachments: jdo-621.patch
>
>
> When a directory is supplied as an argument to the enhancer, javax.jdo.Enhancer does
not pass full path name to the implementation's enhancer, so the classes cannot be fouind.
> EnhancerTest needs to be updated to test this case.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message