On 7/18/01 9:32 AM, "Alfred Waas" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> The mentioned lines are in the
> <turbine-installation-directory>\webapps\newapp\WEB-INF\build\build.xml file
>
> I commented these lines out, as the intended formatting task doesn't seem to
> have an effect on building the example application.
Yes, they do. You have set something up incorrectly. I run the sample
app at least 10 times a day and the formatting task works fine. You've
changed something. And you are using an alpha TDK. Please state which
TDK you are using because the 2.2a series will soon become 3.0 and
there is absolutely NO backward compatibility guaranteed between
these releases. We are going to try and bridge the final 3.0 with
2.1 apps. I don't recommend using the 2.2/3.0 alpha series TDKs for
your apps.
> My configuration is Windows 2k + Ant 1.3 + TDK 2.2.1a, and after disabling
> those lines I was able to build and run the sample application.
Something else in your setup is wrong, or it might be a windows thing
as I only run the sample app on my Linux machine. Would be nice if
you could track down the problem.
> -Alfred
>
>
> ----- Original Message -----
> From: "Mikael Petersson" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 18, 2001 2:57 PM
> Subject: SV: "Ant init" on test application failed
>
>
>> Hi
>> *where* do you disable it?
>> /Miky
>>
>> -----Ursprungligt meddelande-----
>> Fr�n: Alfred Waas [mailto:[EMAIL PROTECTED]]
>> Skickat: den 18 juli 2001 11:51
>> Till: [EMAIL PROTECTED]
>> �mne: Re: "Ant init" on test application failed
>>
>>
>> Hi Dragomir,
>>
>> Yes, I had the same problem. I solved it by disabling the following
>> target :
>>
>>
>> <format-source>
>> <fileset dir="${src.dir}/${targetDirectory}">
>> <include name="**/*.java"/>
>> </fileset>
>> </format-source>
>>
>>
>> Regards,
>> -Alfred
>>
>>
>>
>> ----- Original Message -----
>> From: "Dragomir Nikolov" <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Sent: Wednesday, July 18, 2001 12:22 PM
>> Subject: "Ant init" on test application failed
>>
>>
>>> Hello!
>>> I am trying to set up the test application in the tdk on Win2k
>> machine. My
>>> Mysql deamon is on Linux machime. After performing the "ant init" into
>> the
>> build
>>> directory I've got the following action during the build process.
>>>
>>> D:\Java\tdk_win\tdk\webapps\newapp\WEB-INF\build\build.xml:199: Failed
>> to
>> copy D
>>>
>>>
>> :\Java\tdk_win\tdk\webapps\newapp\WEB-INF\src\java\org\mycompany\newapp\
>> om\R
>> dfPe
>>>
>>> er.java to
>> D:\Java\tdk_win\tdk\webapps\newapp\WEB-INF\build\RdfPeer.java
>> due to
>>> null
>>> --- Nested Exception ---
>>> java.lang.NullPointerException
>>> at jstyle.JSBeautifier.format(JSBeautifier.java:385)
>>> at jstyle.FormatTask.format(FormatTask.java:354)
>>> at jstyle.FormatTask.doFileOperations(FormatTask.java:332)
>>> at jstyle.FormatTask.execute(FormatTask.java:184)
>>> at
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:124)
>>> at org.apache.tools.ant.Target.execute(Target.java:153)
>>> at org.apache.tools.ant.Project.runTarget(Project.java:898)
>>> at
>> org.apache.tools.ant.Project.executeTarget(Project.java:536)
>>> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
>>> at
>> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:103)
>>>
>>> at org.apache.tools.ant.Target.execute(Target.java:153)
>>> at org.apache.tools.ant.Project.runTarget(Project.java:898)
>>> at
>> org.apache.tools.ant.Project.executeTarget(Project.java:536)
>>> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
>>> at
>> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:103)
>>>
>>> at org.apache.tools.ant.Target.execute(Target.java:153)
>>> at org.apache.tools.ant.Project.runTarget(Project.java:898)
>>> at
>> org.apache.tools.ant.Project.executeTarget(Project.java:536)
>>> at
>> org.apache.tools.ant.Project.executeTargets(Project.java:510)
>>> at org.apache.tools.ant.Main.runBuild(Main.java:421)
>>> at org.apache.tools.ant.Main.main(Main.java:149)
>>>
>>> Does anybody expirienced the same problem.
>>>
>>> Greetings Dragomir
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
jvz.
Jason van Zyl
http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]