Thank you,

It solves that error.



Best regards,

Tomasz

2010/2/23 Bob Schellink <[email protected]>:
> Hi Tomasz,
>
> This came up yesterday as well, so I'll just paste my reply below:
>
>
> The project-quick-start target is missing a Task definition. I've checked in
> a fix to trunk but you can patch your local copy of
> <click-distribution>/build/build.xml as follows:
>
>  <target name="project-quick-start" description="build application
> template">
>    <!--
>    Task Definitions
>    -->
>    <taskdef name="package"
>             classname="org.apache.click.tools.devtasks.PackageTask"
>             classpath="lib/click-dev-tasks-1.1.jar"/>
>
>    ...
>  </target>
>
> Hope this helps.
>
> kind regards
>
> bob
>
> On 23/02/2010 04:10 PM, tomasz bandura wrote:
>>
>> Hello,
>>
>> I,ve just tried to use quickstart from "8.2  Running Quickstart
>> chapter" but it cannot generate template.
>> The required variables  are set correctly and libraries are downloaded .
>>
>> My env: java: 1.6.0_17-b04, OS: Linux
>>
>>
>> The full log is below:
>>
>> $ ant project-quick-start
>> Buildfile: /home/tomasz/Tools/java/click-2.1.0/build/build.xml
>>
>> project-quick-start:
>>     [input] Please enter the project name (e.g. quickstart): [quickstart]
>>
>>     [input] Please enter the root package name (e.g. com.quickstart):
>> [com.quickstart]
>>
>>     [input] Please enter the web app context path: [quickstart]
>>
>>     [input] The directory '/home/tomasz/Tools/java/quickstart' will be
>> deleted. Continue (y/n)? (y, n)
>> y
>>    [delete] Deleting directory /home/tomasz/Tools/java/quickstart
>>
>> BUILD FAILED
>> /home/tomasz/Tools/java/click-2.1.0/build/build.xml:950: Problem:
>> failed to create task or type package
>> 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.
>>
>>
>> Total time: 4 seconds
>>
>>
>> What should i do to run it?
>>
>> Best regards
>>
>> Tomasz
>>
>
>

Reply via email to