You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by George Hester <he...@hotmail.com> on 2004/02/25 07:54:16 UTC
Building Velocity 1.3.1 Examples?
Velocity 1.3.1 built fine I believe. Sun SDK JVM 1.4.2-b28 Windows 2000 Server SP3 with Tomcat 4.1.29. I tried building using ant jar-dep but it didn't seem to work right. The velocity-dep-1.3.1.jar was made but it turned out that jdom was NOT included in this jar. I can work around that.
I went to the examples subfolder and Ant'd that. That seemed to go OK.
Then according to this page:
http://jakarta.apache.org/velocity/anakia.html
I need to go into the anakia\build subfolder and Ant'd that. So I did and this was the result:
C:\velocity\examples\anakia\build>ant
Buildfile: build.xml
prepare:
prepare-error:
docs:
[anakia] Transforming into: C:\velocity\examples\anakia\docs
BUILD SUCCESSFUL
Total time: 13 seconds
Any ideas how to fix this successful error? Thanks.
--
George Hester
__________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Building Velocity 1.3.1 Examples?
Posted by George Hester <he...@hotmail.com>.
Ah thanks I see now where this was coming from. I'm at peace with it and now know where to check in the future if something similar happens. Thanks geir.
--
George Hester
__________________________________
"Geir Magnusson Jr" <ge...@4quarters.com> wrote in message news:592FF7B6-6856-11D8-82FC-000A95A01192@4quarters.com...
>
> On Feb 26, 2004, at 1:23 AM, George Hester wrote:
>
> > Well I hope the next time I see "error" using ANT it really doesn't
> > mean "error." But means who knows? I sure don't. For error means
> > error but in ANT error means means means...a "dependent target" gosh
> > almighty.
> >
>
>
> Here's the target in the build.xml :
>
> <target depends="prepare" name="prepare-error"
> unless="AnakiaTask.present">
> <echo>
> AnakiaTask is not present! Please check to make sure that
> velocity.jar is in your classpath.
> </echo>
> </target>
>
> so ya, maybe it could be renamed, but once you get used to ant and it's
> processing of targets, you won't be fooled in the future.
>
> And we'll just rename it too :)
>
> geir
>
> > --
> > George Hester
> > __________________________________
> > "Geir Magnusson Jr" <ge...@4quarters.com> wrote in message
> > news:546A4D40-6808-11D8-82FC-000A95A01192@4quarters.com...
> >>
> >> On Feb 25, 2004, at 5:59 PM, George Hester wrote:
> >>
> >>> Oh OK thanks. Normally when I see something that says something
> >>> like:
> >>>
> >>> prepare-error:
> >>>
> >>> that looks to me like an error. Funny me. OK I guess that's normal
> >>> then.
> >>
> >> That's just the name of a dependent target...
> >>
> >>>
> >>> --
> >>> George Hester
> >>> __________________________________
> >>> "Dave Newton" <da...@solaraccess.com> wrote in message
> >>> news:1077716245.16581.47.camel@fastasdell.localhost.localdomain...
> >>>> On Wed, 2004-02-25 at 07:32, Geir Magnusson Jr wrote:
> >>>>> On Feb 25, 2004, at 1:54 AM, George Hester wrote:
> >>>>>> C:\velocity\examples\anakia\build>ant
> >>>>>> Buildfile: build.xml
> >>>>>>
> >>>>>> prepare:
> >>>>>>
> >>>>>> prepare-error:
> >>>>>>
> >>>>>> docs:
> >>>>>> [anakia] Transforming into: C:\velocity\examples\anakia\docs
> >>>>>>
> >>>>>> Any ideas how to fix this successful error? Thanks.
> >>>>>
> >>>>> What error do you want fixed?
> >>>>
> >>>> I think he just doesn't know that "prepare-error" is an executed ant
> >>>> target; he thought it was an error.
> >>>>
> >>>> George, that's an ant target, not an error message.
> >>>>
> >>>> Dave
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> >>> For additional commands, e-mail:
> >>> velocity-user-help@jakarta.apache.org
> >>>
> >>>
> >> --
> >> Geir Magnusson Jr 203-247-1713(m)
> >> geir@4quarters.com
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> >
> >
> --
> Geir Magnusson Jr 203-247-1713(m)
> geir@4quarters.com
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Building Velocity 1.3.1 Examples?
Posted by Geir Magnusson Jr <ge...@4quarters.com>.
On Feb 26, 2004, at 1:23 AM, George Hester wrote:
> Well I hope the next time I see "error" using ANT it really doesn't
> mean "error." But means who knows? I sure don't. For error means
> error but in ANT error means means means...a "dependent target" gosh
> almighty.
>
Here's the target in the build.xml :
<target depends="prepare" name="prepare-error"
unless="AnakiaTask.present">
<echo>
AnakiaTask is not present! Please check to make sure that
velocity.jar is in your classpath.
</echo>
</target>
so ya, maybe it could be renamed, but once you get used to ant and it's
processing of targets, you won't be fooled in the future.
And we'll just rename it too :)
geir
> --
> George Hester
> __________________________________
> "Geir Magnusson Jr" <ge...@4quarters.com> wrote in message
> news:546A4D40-6808-11D8-82FC-000A95A01192@4quarters.com...
>>
>> On Feb 25, 2004, at 5:59 PM, George Hester wrote:
>>
>>> Oh OK thanks. Normally when I see something that says something
>>> like:
>>>
>>> prepare-error:
>>>
>>> that looks to me like an error. Funny me. OK I guess that's normal
>>> then.
>>
>> That's just the name of a dependent target...
>>
>>>
>>> --
>>> George Hester
>>> __________________________________
>>> "Dave Newton" <da...@solaraccess.com> wrote in message
>>> news:1077716245.16581.47.camel@fastasdell.localhost.localdomain...
>>>> On Wed, 2004-02-25 at 07:32, Geir Magnusson Jr wrote:
>>>>> On Feb 25, 2004, at 1:54 AM, George Hester wrote:
>>>>>> C:\velocity\examples\anakia\build>ant
>>>>>> Buildfile: build.xml
>>>>>>
>>>>>> prepare:
>>>>>>
>>>>>> prepare-error:
>>>>>>
>>>>>> docs:
>>>>>> [anakia] Transforming into: C:\velocity\examples\anakia\docs
>>>>>>
>>>>>> Any ideas how to fix this successful error? Thanks.
>>>>>
>>>>> What error do you want fixed?
>>>>
>>>> I think he just doesn't know that "prepare-error" is an executed ant
>>>> target; he thought it was an error.
>>>>
>>>> George, that's an ant target, not an error message.
>>>>
>>>> Dave
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail:
>>> velocity-user-help@jakarta.apache.org
>>>
>>>
>> --
>> Geir Magnusson Jr 203-247-1713(m)
>> geir@4quarters.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
--
Geir Magnusson Jr 203-247-1713(m)
geir@4quarters.com
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Building Velocity 1.3.1 Examples?
Posted by "J. B. Rainsberger" <jb...@rogers.com>.
George Hester wrote:
> Well I hope the next time I see "error" using ANT it really doesn't mean "error." But means who knows? I sure don't. For error means error but in ANT error means means means...a "dependent target" gosh almighty.
In Ant, anything starting in column 1 and ending in a colon is the name
of a target. Don't blame Ant is someone names a target a way that you
don't like.
--
J. B. Rainsberger,
Diaspar Software Services
http://www.diasparsoftware.com :: +1 416 791-8603
Let's write software that people understand
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Building Velocity 1.3.1 Examples?
Posted by George Hester <he...@hotmail.com>.
Well I hope the next time I see "error" using ANT it really doesn't mean "error." But means who knows? I sure don't. For error means error but in ANT error means means means...a "dependent target" gosh almighty.
--
George Hester
__________________________________
"Geir Magnusson Jr" <ge...@4quarters.com> wrote in message news:546A4D40-6808-11D8-82FC-000A95A01192@4quarters.com...
>
> On Feb 25, 2004, at 5:59 PM, George Hester wrote:
>
> > Oh OK thanks. Normally when I see something that says something like:
> >
> > prepare-error:
> >
> > that looks to me like an error. Funny me. OK I guess that's normal
> > then.
>
> That's just the name of a dependent target...
>
> >
> > --
> > George Hester
> > __________________________________
> > "Dave Newton" <da...@solaraccess.com> wrote in message
> > news:1077716245.16581.47.camel@fastasdell.localhost.localdomain...
> >> On Wed, 2004-02-25 at 07:32, Geir Magnusson Jr wrote:
> >>> On Feb 25, 2004, at 1:54 AM, George Hester wrote:
> >>>> C:\velocity\examples\anakia\build>ant
> >>>> Buildfile: build.xml
> >>>>
> >>>> prepare:
> >>>>
> >>>> prepare-error:
> >>>>
> >>>> docs:
> >>>> [anakia] Transforming into: C:\velocity\examples\anakia\docs
> >>>>
> >>>> Any ideas how to fix this successful error? Thanks.
> >>>
> >>> What error do you want fixed?
> >>
> >> I think he just doesn't know that "prepare-error" is an executed ant
> >> target; he thought it was an error.
> >>
> >> George, that's an ant target, not an error message.
> >>
> >> Dave
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> >
> >
> --
> Geir Magnusson Jr 203-247-1713(m)
> geir@4quarters.com
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Building Velocity 1.3.1 Examples?
Posted by Geir Magnusson Jr <ge...@4quarters.com>.
On Feb 25, 2004, at 5:59 PM, George Hester wrote:
> Oh OK thanks. Normally when I see something that says something like:
>
> prepare-error:
>
> that looks to me like an error. Funny me. OK I guess that's normal
> then.
That's just the name of a dependent target...
>
> --
> George Hester
> __________________________________
> "Dave Newton" <da...@solaraccess.com> wrote in message
> news:1077716245.16581.47.camel@fastasdell.localhost.localdomain...
>> On Wed, 2004-02-25 at 07:32, Geir Magnusson Jr wrote:
>>> On Feb 25, 2004, at 1:54 AM, George Hester wrote:
>>>> C:\velocity\examples\anakia\build>ant
>>>> Buildfile: build.xml
>>>>
>>>> prepare:
>>>>
>>>> prepare-error:
>>>>
>>>> docs:
>>>> [anakia] Transforming into: C:\velocity\examples\anakia\docs
>>>>
>>>> Any ideas how to fix this successful error? Thanks.
>>>
>>> What error do you want fixed?
>>
>> I think he just doesn't know that "prepare-error" is an executed ant
>> target; he thought it was an error.
>>
>> George, that's an ant target, not an error message.
>>
>> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
--
Geir Magnusson Jr 203-247-1713(m)
geir@4quarters.com
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Building Velocity 1.3.1 Examples?
Posted by George Hester <he...@hotmail.com>.
Oh OK thanks. Normally when I see something that says something like:
prepare-error:
that looks to me like an error. Funny me. OK I guess that's normal then.
--
George Hester
__________________________________
"Dave Newton" <da...@solaraccess.com> wrote in message news:1077716245.16581.47.camel@fastasdell.localhost.localdomain...
> On Wed, 2004-02-25 at 07:32, Geir Magnusson Jr wrote:
> > On Feb 25, 2004, at 1:54 AM, George Hester wrote:
> > > C:\velocity\examples\anakia\build>ant
> > > Buildfile: build.xml
> > >
> > > prepare:
> > >
> > > prepare-error:
> > >
> > > docs:
> > > [anakia] Transforming into: C:\velocity\examples\anakia\docs
> > >
> > > Any ideas how to fix this successful error? Thanks.
> >
> > What error do you want fixed?
>
> I think he just doesn't know that "prepare-error" is an executed ant
> target; he thought it was an error.
>
> George, that's an ant target, not an error message.
>
> Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Building Velocity 1.3.1 Examples?
Posted by Dave Newton <da...@solaraccess.com>.
On Wed, 2004-02-25 at 07:32, Geir Magnusson Jr wrote:
> On Feb 25, 2004, at 1:54 AM, George Hester wrote:
> > C:\velocity\examples\anakia\build>ant
> > Buildfile: build.xml
> >
> > prepare:
> >
> > prepare-error:
> >
> > docs:
> > [anakia] Transforming into: C:\velocity\examples\anakia\docs
> >
> > Any ideas how to fix this successful error? Thanks.
>
> What error do you want fixed?
I think he just doesn't know that "prepare-error" is an executed ant
target; he thought it was an error.
George, that's an ant target, not an error message.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Building Velocity 1.3.1 Examples?
Posted by Geir Magnusson Jr <ge...@4quarters.com>.
On Feb 25, 2004, at 1:54 AM, George Hester wrote:
> Velocity 1.3.1 built fine I believe. Sun SDK JVM 1.4.2-b28 Windows
> 2000 Server SP3 with Tomcat 4.1.29. I tried building using ant
> jar-dep but it didn't seem to work right. The velocity-dep-1.3.1.jar
> was made but it turned out that jdom was NOT included in this jar. I
> can work around that.
It should be.
>
> I went to the examples subfolder and Ant'd that. That seemed to go OK.
>
> Then according to this page:
>
> http://jakarta.apache.org/velocity/anakia.html
>
> I need to go into the anakia\build subfolder and Ant'd that. So I did
> and this was the result:
>
> C:\velocity\examples\anakia\build>ant
> Buildfile: build.xml
>
> prepare:
>
> prepare-error:
>
> docs:
> [anakia] Transforming into: C:\velocity\examples\anakia\docs
>
> BUILD SUCCESSFUL
> Total time: 13 seconds
>
> Any ideas how to fix this successful error? Thanks.
>
What error do you want fixed?
What do you want to do, exactly?
--
Geir Magnusson Jr 203-247-1713(m)
geir@4quarters.com
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org