NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
TF338
Joined: 27 May 2012 Posts: 1
|
Posted: Sun May 27, 2012 11:37 am Post subject: Problem building old project |
|
|
I downloaded an example project but I have some problems when trying to build.
I get the following error:
| Code: | C:\Users\Thomas\Documents\NetBeansProjects\CustomerApp\CustomerApp-war\nbproject\build-impl.xml:693: Problem: failed to create task or type copyfiles
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.
BUILD FAILED (total time: 0 seconds) |
This is a snippet from the build-impl.xml file:
| Code: | <target depends="init" name="library-inclusion-in-archive" unless="dist.ear.dir">
<copyfiles files="${reference.CustomerApp-ejb.dist}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${libs.PrimeFaces2.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.javax.ejb.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.javax.servlet-3.0.0.v201103241009.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.myfaces-api-1.2.5.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.myfaces-api-2.0.0-alpha.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.org-netbeans-modules-java-j2seproject-copylibstask.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
</target> |
My guess is that he doesn't know what ${build.web.dir} is. But where and how do I have to define that variable? |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|