[
http://jira.jboss.com/jira/browse/JBPORTAL-1361?page=all ]
Thomas Heute resolved JBPORTAL-1361.
------------------------------------
Fix Version/s: (was: 3.2 Final)
Resolution: Rejected
Assignee: Thomas Heute (was: Julien Viet)
This part is used to launch the testsuite.
If you use build.sh or build.bat instead of ant directly it will work out of the box.
The other option is to copy:
tools/lib/ant-junit.jar
to you ant lib directory then you can use ant directly
error in buildmagic.ent
-----------------------
Key: JBPORTAL-1361
URL:
http://jira.jboss.com/jira/browse/JBPORTAL-1361
Project: JBoss Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Portal Core
Affects Versions: 3.2 Final
Environment: eclipse 3.2.2 , ant
Reporter: Luca Stancapiano
Assigned To: Thomas Heute
Attachments: buildmagic.ent
I'm using jbossportal taken from
http://anonsvn.jboss.org/repos/portal/trunk
when I compile through build.xml into build project of jbossportal, I have this error:
Buildfile: /root/workspace_portal_trunk/build/build.xml
check.inhibit.downloads:
createthirdparty:
_buildmagic:init:
Trying to override old definition of task property
_buildmagic:init:module-local-properties:
_buildmagic:init:project-local-properties:
_buildmagic:init:buildlog:
BUILD FAILED
/root/workspace_portal_trunk/tools/etc/buildfragments/buildmagic.ent:152: taskdef A class
needed by class org.jboss.portal.common.junit.ant.ConfigurableJUnitTask cannot be found:
junit/framework/Test
Total time: 1 second
in buildmagic.ent : 152 I have this code:
<path id="junit_.task.classpath">
<pathelement location="${project.tools}/lib/explode.jar"/>
</path>
<taskdef
name="junit_"
classname="org.jboss.portal.common.junit.ant.ConfigurableJUnitTask"
classpathref="junit_.task.classpath"/>
I don't know what is its usefulness but if I comment the entire block, build succeed.
I send you buildmagic.ent with commented block
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira