« Return to Thread: problem running or building JSP application after upgrade to 6.7

RE: problem running or building JSP application after upgrade to 6.7

by Dobson, Paul L CTR USAF AFMC 416 SCMS/OBN :: Rate this Message:

Reply to Author | View in Thread

Forgive my ignorance.  I do not know much about Ant except that Netbeans
generally does a good job at integrating it.  I do know that my
project.properties file has the fillowing line:

build.web.dir=${build.dir}/web

Is this what you are referring to? If not, could you tell me where else
I should be looking. I am not sure where my antlib.xml or the properties
file should be.

Thanks!
Paul Dobson

-----Original Message-----
From: Melongo Annabel [mailto:melongo_annabel@...]
Sent: Tuesday, June 30, 2009 7:54 PM
To: nbusers@...
Subject: Re: [nbusers] problem running or building JSP application after
upgrade to 6.7

Does your antlib.xml has a properties file? I think that's the file
missing. The system is trying to find the value of ${build.web.dir} but
it doesn't seem to see where it's defined.


________________________________

From: "Dobson, Paul L CTR USAF AFMC 416 SCMS/OBN"
<Paul.Dobson@...>
To: nbusers@...
Sent: Tuesday, June 30, 2009 3:28:42 PM
Subject: [nbusers] problem running or building JSP application after
upgrade to 6.7



I have a JSP application which I manage.  I upgraded from 6.0 to 6.7 and
get the following error if I try to run/compile the program:

 

-----------------------------------------------------------------------

Could not load definitions from resource
org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml. It could
not be found.

init:

deps-module-jar:

deps-ear-jar:

deps-jar:

library-inclusion-in-archive:

C:\Users\Paul.Dobson\Documents\NB
Projecs\WebTool\nbproject\build-impl.xml:531: 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.

------------------------------------------------------------------------
-----------

 

 

The following is a snippet from my build-impl.xml line 531:

 

 

<target depends="init" name="library-inclusion-in-archive"
unless="dist.ear.dir">

        <copyfiles files="${file.reference.jcifs-1.1.0.jar}"
todir="${build.web.dir}/WEB-INF/lib"/>   (This is line 531)

        <copyfiles files="${file.reference.jcommon-1.0.9.jar}"
todir="${build.web.dir}/WEB-INF/lib"/>

        <copyfiles files="${file.reference.jfreechart-1.0.5.jar}"
todir="${build.web.dir}/WEB-INF/lib"/>

 

Thank you in advance for any ideas on how to resolve  the error.


 « Return to Thread: problem running or building JSP application after upgrade to 6.7