[Gridsphere-users] Problem: failed to create task or type if
neha sood
coolcapri85 at gmail.com
Sat May 10 07:15:15 PDT 2008
hi all,
when i try to compile mcc portlet it gives me following error
i have tried to figure out given solutions..but error is there
BUILD FAILED
/usr/local/gridsphere-2.1.5/projects/mobilecommandcenter/build.xml:292:
Problem: failed to create task or type if
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
below is th part of build.xml file
<if>
<equals arg1="${use.jsr}" arg2="jsr"/>
<then>
<antcall target="copyjsr"/>
</then>
<else>
<antcall target="copygs"/>
</else>
</if>
both the target calls are defined ..
one more thing
in the following part of target call
there is no lib dir present in my ${project.webapp}/WEB-INF/"
f
<target name="copyjsr">
<copy todir="${project.webapp}/WEB-INF/lib">
<fileset dir="${build.lib}">
<include name="${project.name}-services.jar"/>
<include name="${project.name}-test.jar"/>
</fileset>
<fileset dir="lib">
<include name="*.jar"/>
</fileset>
</copy>
</target>
<copy todir="${project.webapp}/WEB-INF/lib">
--
Friends are flowers in the garden of life
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gridsphere.org/pipermail/gridsphere-users/attachments/20080510/86ba5fa3/attachment.html
More information about the Gridsphere-users
mailing list