You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by "Alfonso Perez R." <ap...@kynesoft.com> on 2004/06/02 16:53:51 UTC

Veltag

Hello

I'm new at Velocity, I'm trying to use Veltag but I can't build it 
because I can't find it at the distribution (src) of velocity (1.4 or 
1.3.1) neather the one of taglib (version of 20040531)

Where should I look for?

thanks a lot
alfonso


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Re: Veltag - location in cvs

Posted by Geir Magnusson Jr <ge...@4quarters.com>.
Get it from CVS - we don't include it in the distro.

Look here :

http://cvs.apache.org/viewcvs.cgi/jakarta-velocity/contrib/temporary/ 
veltag/

Easier is to do a checkout of the cvs.  See the Velocity homepage for a  
link.

geir

On Jun 2, 2004, at 11:15 AM, Alfonso Perez R. wrote:

> Thanks Tim
> But what I mean is that, when I unzip the velocity-1.4.tar.gz what I  
> just see in the velocity-1.4/src/java/org/apache/velocity is:
> drwxr-xr-x    2 root     root         4096 Jun  2 10:19 anakia
> drwxr-xr-x    4 root     root         4096 Jun  2 10:19 app
> drwxr-xr-x    2 root     root         4096 Jun  2 10:19 context
> drwxr-xr-x    2 root     root         4096 Jun  2 10:19 convert
> drwxr-xr-x    2 root     root         4096 Jun  2 10:19 exception
> drwxr-xr-x    2 root     root         4096 Jun  2 10:19 io
> drwxr-xr-x   11 root     root         4096 Jun  2 10:19 runtime
> drwxr-xr-x    2 root     root         4096 Jun  2 10:19 servlet
> -rw-r--r--    1 root     root         8604 Apr 14 08:26 Template.java
> drwxr-xr-x    5 root     root         4096 Jun  2 10:19 test
> drwxr-xr-x    5 root     root         4096 Jun  2 10:19 texen
> drwxr-xr-x    3 root     root         4096 Jun  2 10:19 util
> -rw-r--r--    1 root     root         5144 Apr 14 08:26  
> VelocityContext.java
>
> and the root dir contains
> drwxr-xr-x    4 root     root         4096 Jun  2 10:19 build
> drwxr-xr-x    2 root     root         4096 Jun  2 10:19 convert
> drwxr-xr-x   12 root     root         4096 Jun  2 10:19 examples
> -rw-r--r--    1 root     root        11356 Apr 14 08:26 LICENSE
> -rw-r--r--    1 root     root          102 Apr 14 08:26 NOTICE
> -rw-r--r--    1 root     root         3654 Apr 14 08:26 README.txt
> drwxr-xr-x    3 root     root         4096 Apr 14 08:26 src
> drwxr-xr-x   12 root     root         4096 Apr 14 08:26 test
> -rw-r--r--    1 root     root       361173 Apr 14 08:26  
> velocity-1.4.jar
> -rw-r--r--    1 root     root       517761 Apr 14 08:26  
> velocity-dep-1.4.jar
> drwxr-xr-x    5 root     root         4096 Jun  2 10:19 xdocs
>
> there is no contrib directory on the file!
>
> What file do I need?
>
> thanks
> alfonso
>
> Tim Colson wrote:
>
>>> I'm new at Velocity, I'm trying to use Veltag but I can't build it  
>>> because I can't find it at the distribution (src) of velocity (1.4  
>>> or 1.3.1) neather the one of taglib (version of 20040531)
>>>
>>
>> You know, this is a great question really. :-)
>>
>> Veltag is buried in the src tree -- specifically this directory:
>>
>> jakarta-velocity\contrib\temporary\veltag
>>
>> I've been thinking for a long time that it should be pulled into the
>> Velocity Tools project and turned into a first-class citizen. ;-)
>>
>> Cheers,
>> Timo
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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: Veltag - location in cvs

Posted by Tim Colson <tc...@cisco.com>.
> But what I mean is that, when I unzip the velocity-1.4.tar.gz what I 
> just see in the velocity-1.4/src/java/org/apache/velocity is:
> there is no contrib directory on the file!
> What file do I need?
> >>I'm new at Velocity, I'm trying to use Veltag but I can't build it 
> >>because I can't find it at the distribution (src) of 
> velocity 

Alfonso -- say dude... 

velocity-1.4.tar.gz is the _binary_ distribution... it is not the src. 

src is in CVS.
http://jakarta.apache.org/site/cvsindex.html 

You've gotta check out the Velocity module and compile the veltag stuff.

Cheers,
Timo


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Re: Veltag - location in cvs

Posted by "Alfonso Perez R." <ap...@kynesoft.com>.
Thanks Tim
But what I mean is that, when I unzip the velocity-1.4.tar.gz what I 
just see in the velocity-1.4/src/java/org/apache/velocity is:
drwxr-xr-x    2 root     root         4096 Jun  2 10:19 anakia
drwxr-xr-x    4 root     root         4096 Jun  2 10:19 app
drwxr-xr-x    2 root     root         4096 Jun  2 10:19 context
drwxr-xr-x    2 root     root         4096 Jun  2 10:19 convert
drwxr-xr-x    2 root     root         4096 Jun  2 10:19 exception
drwxr-xr-x    2 root     root         4096 Jun  2 10:19 io
drwxr-xr-x   11 root     root         4096 Jun  2 10:19 runtime
drwxr-xr-x    2 root     root         4096 Jun  2 10:19 servlet
-rw-r--r--    1 root     root         8604 Apr 14 08:26 Template.java
drwxr-xr-x    5 root     root         4096 Jun  2 10:19 test
drwxr-xr-x    5 root     root         4096 Jun  2 10:19 texen
drwxr-xr-x    3 root     root         4096 Jun  2 10:19 util
-rw-r--r--    1 root     root         5144 Apr 14 08:26 VelocityContext.java

and the root dir contains
drwxr-xr-x    4 root     root         4096 Jun  2 10:19 build
drwxr-xr-x    2 root     root         4096 Jun  2 10:19 convert
drwxr-xr-x   12 root     root         4096 Jun  2 10:19 examples
-rw-r--r--    1 root     root        11356 Apr 14 08:26 LICENSE
-rw-r--r--    1 root     root          102 Apr 14 08:26 NOTICE
-rw-r--r--    1 root     root         3654 Apr 14 08:26 README.txt
drwxr-xr-x    3 root     root         4096 Apr 14 08:26 src
drwxr-xr-x   12 root     root         4096 Apr 14 08:26 test
-rw-r--r--    1 root     root       361173 Apr 14 08:26 velocity-1.4.jar
-rw-r--r--    1 root     root       517761 Apr 14 08:26 velocity-dep-1.4.jar
drwxr-xr-x    5 root     root         4096 Jun  2 10:19 xdocs

there is no contrib directory on the file!

What file do I need?

thanks
alfonso

Tim Colson wrote:

>>I'm new at Velocity, I'm trying to use Veltag but I can't build it 
>>because I can't find it at the distribution (src) of velocity (1.4 or 
>>1.3.1) neather the one of taglib (version of 20040531)
>>    
>>
>
>You know, this is a great question really. :-)
>
>Veltag is buried in the src tree -- specifically this directory:
>
>jakarta-velocity\contrib\temporary\veltag
>
>I've been thinking for a long time that it should be pulled into the
>Velocity Tools project and turned into a first-class citizen. ;-)
>
>Cheers,
>Timo
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>  
>

Re: Veltag - location in cvs

Posted by Nathan Bubna <na...@esha.com>.
Tim Colson said:
...
> Speaking of the wiki -- howabout a link from the Velocity and VelocityTools
> projects to the wiki (so folks have some chance at seeing there is a FAQ
> now.) ?
...

+1  I won't have time today and am leaving for the weekend, but i'll put a FAQ
link on the Tools page next week.

Nathan Bubna
nathan@esha.com


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Re: Veltag - location in cvs

Posted by Nathan Bubna <na...@esha.com>.
Tim Colson said:
> > "velocity tool" in some sense, it doesn't have much to do
> > with the present VelocityTools codebase.
> Heh heh, but it has even less to do with core velocity stuff... hence the
> contrib/temporary/please/go/away status it has today. <grin>
>
> > and are there any Veltag users out there that would be
> > interested in stepping up to [help] take care of this code?
>
> Hah. I've used it to sneak in Velocity, and then some of those pages were
> never 'upgraded' after VelocityViewServlet became available... so I guess
> I'm still a Veltag 'user'.

do i hear you volunteering? :)

> The code hasn't seen much (any?) change in uh...
> a couple of years?

not in CVS, but i posted some changes in the following thread to make it work
with a ServletToolboxManager.

http://marc.theaimsgroup.com/?t=108212363800008&r=1&w=2

> If it didn't live in such a hidden place, maybe more folks would try it out
> and would help maintain it. Maybe.
...

maybe.

Nathan Bubna
nathan@esha.com


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Re: Veltag - location in cvs

Posted by Geir Magnusson Jr <ge...@4quarters.com>.
On Jun 2, 2004, at 1:09 PM, Tim Colson wrote:

>
>> "velocity tool" in some sense, it doesn't have much to do
>> with the present VelocityTools codebase.
> Heh heh, but it has even less to do with core velocity stuff... hence 
> the
> contrib/temporary/please/go/away status it has today. <grin>
>
>> and are there any Veltag users out there that would be
>> interested in stepping up to [help] take care of this code?
> Hah. I've used it to sneak in Velocity, and then some of those pages 
> were
> never 'upgraded' after VelocityViewServlet became available... so I 
> guess
> I'm still a Veltag 'user'. The code hasn't seen much (any?) change in 
> uh...
> a couple of years?
>
> If it didn't live in such a hidden place, maybe more folks would try 
> it out
> and would help maintain it. Maybe.
>
> Heck, is there even a documentation page for Veltag?

http://jakarta.apache.org/velocity/veltag.html

>
> If no -- I could throw the basic info onto a wiki page and point to it 
> from
> the new FAQ.
>
> Speaking of the wiki -- howabout a link from the Velocity and 
> VelocityTools
> projects to the wiki (so folks have some chance at seeing there is a 
> FAQ
> now.) ?
>
> Cheers,
> Timo
>
>
> ---------------------------------------------------------------------
> 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: Veltag - location in cvs

Posted by Tim Colson <tc...@cisco.com>.
> "velocity tool" in some sense, it doesn't have much to do 
> with the present VelocityTools codebase.
Heh heh, but it has even less to do with core velocity stuff... hence the
contrib/temporary/please/go/away status it has today. <grin>

> and are there any Veltag users out there that would be 
> interested in stepping up to [help] take care of this code?
Hah. I've used it to sneak in Velocity, and then some of those pages were
never 'upgraded' after VelocityViewServlet became available... so I guess
I'm still a Veltag 'user'. The code hasn't seen much (any?) change in uh...
a couple of years? 

If it didn't live in such a hidden place, maybe more folks would try it out
and would help maintain it. Maybe. 

Heck, is there even a documentation page for Veltag?  

If no -- I could throw the basic info onto a wiki page and point to it from
the new FAQ.

Speaking of the wiki -- howabout a link from the Velocity and VelocityTools
projects to the wiki (so folks have some chance at seeing there is a FAQ
now.) ?

Cheers,
Timo


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Re: Veltag - location in cvs

Posted by Nathan Bubna <na...@esha.com>.
Tim Colson said:
...
> Veltag is buried in the src tree -- specifically this directory:
>
> jakarta-velocity\contrib\temporary\veltag
>
> I've been thinking for a long time that it should be pulled into the
> Velocity Tools project and turned into a first-class citizen. ;-)

+0

i'm not opposed to the idea, but it doesn't excite me either.  while it is a
"velocity tool" in some sense, it doesn't have much to do with the present
VelocityTools codebase.

i could go either way.  on the one hand, i'll probably never use it, and so i
don't really want any responsibility for maintaining it.  on the other hand,
if we do clean it up and get it to work with the toolbox stuff, it might bring
in more help with those things.  that's kinda what i was thinking during this
thread:

http://marc.theaimsgroup.com/?t=108212363800008&r=1&w=2

but i'm not sure if that would happen.  what do actual Veltag users think?
and are there any Veltag users out there that would be interested in stepping
up to [help] take care of this code?

Nathan Bubna
nathan@esha.com


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


RE: Slimfast and Velocity

Posted by Tim Colson <tc...@cisco.com>.
 > > Well, DVSL is already not part of the core.  It's separate.
Heh heh... I'm obviously not all that good of keeping track. ;-)

On the homepage, they fall under "Tools" heading... So I meant that they
should be pulled out into "Tools" instead of the core, not necessarily
"VelocityTools"... which is itself under Tools. Yeah, that's what I meant.
<grin>

Heck, maybe there should be a "Related Projects" area instead.

> > velocity.jar
> > velocity-anakia.jar
> > velocity-texen.jar

+1 

(Although, I can't recall many questions about Anakia or Texen on the
Velocity lists... almost wonder if they shouldn't be separate projects and
produce anakia.jar and texen.jar. Almost. )

Cheers,
Timo




---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Re: Veltag - location in cvs

Posted by Nathan Bubna <na...@esha.com>.
Geir Magnusson Jr said:
> On Jun 2, 2004, at 12:58 PM, Tim Colson wrote:
> >> Speaking as a possibly-typical velocity/struts user, I have
> >> no use for  veltag.
> >>   I don't see the need to add it into velocity-tools.
> >
> > Actually -- I suggest for Velocity 2.0 that Anakia, Texen, DVSL, and of
> > course VelServlet all move into the Tools project... to slim down the
> > 'core'.
> >
>
> Well, DVSL is already not part of the core.  It's separate.
>
> We could easily separate into
>
> velocity.jar
> velocity-anakia.jar
> velocity-texen.jar
>
> which actually makes some sense to me...

+1

makes sense to me too.  especially as the VelocityServlet will also be pulled
out, so the core is already being slimmed down.

Nathan Bubna
nathan@esha.com


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Re: Veltag - location in cvs

Posted by Geir Magnusson Jr <ge...@4quarters.com>.
On Jun 2, 2004, at 12:58 PM, Tim Colson wrote:

>> Speaking as a possibly-typical velocity/struts user, I have
>> no use for  veltag.
>>   I don't see the need to add it into velocity-tools.
>
> Actually -- I suggest for Velocity 2.0 that Anakia, Texen, DVSL, and of
> course VelServlet all move into the Tools project... to slim down the
> 'core'.
>

Well, DVSL is already not part of the core.  It's separate.

We could easily separate into

velocity.jar
velocity-anakia.jar
velocity-texen.jar

which actually makes some sense to me...


> Cheers,
> Timo
>
>
>
>
>
> ---------------------------------------------------------------------
> 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: Veltag - location in cvs

Posted by Nathan Bubna <na...@esha.com>.
Tim Colson said:
> > Speaking as a possibly-typical velocity/struts user, I have
> > no use for  veltag.
> >   I don't see the need to add it into velocity-tools.
> Heh heh... well, you might find a need for Veltag if you find yourself on a
> project where they say, "JSP is Standard. We only use standards. Therefore
> we will only use JSP."
>
> Seriously, there are times when Veltag comes in handy, and it comes up on
> the list every few weeks. Velocity Tools is the place for things that are
> not 'core velocity' and so this seems like a reasonable thing to put over
> there.

I'd say VelocityTools is *a* place for things that are not 'core velocity',
but I would rather it did not become *the* place.

> Actually -- I suggest for Velocity 2.0 that Anakia, Texen, DVSL, and of
> course VelServlet all move into the Tools project... to slim down the
> 'core'.

-1

I really don't think we should be bundling so many disparate things into one
package.  That is sure to cause headaches if/when one
unused/neglected/buggy/unpleasant component is holding up a release of the
rest.  and, as Geir said, DVSL is already not part of the core.
<not-an-actual-recommendation>if anything, Anakia and Texen might be more at
home with DVSL than Tools   They are at least vaguely in the same problem
space..</n-a-a-r>

Nathan Bubna
nathan@esha.com


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


RE: Veltag - location in cvs

Posted by Tim Colson <tc...@cisco.com>.
> Speaking as a possibly-typical velocity/struts user, I have 
> no use for  veltag.   
>   I don't see the need to add it into velocity-tools.
Heh heh... well, you might find a need for Veltag if you find yourself on a
project where they say, "JSP is Standard. We only use standards. Therefore
we will only use JSP."

Seriously, there are times when Veltag comes in handy, and it comes up on
the list every few weeks. Velocity Tools is the place for things that are
not 'core velocity' and so this seems like a reasonable thing to put over
there. 

Actually -- I suggest for Velocity 2.0 that Anakia, Texen, DVSL, and of
course VelServlet all move into the Tools project... to slim down the
'core'. 

Cheers,
Timo





---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Re: Veltag - location in cvs

Posted by Mike Kienenberger <mk...@alaska.net>.
Tim Colson <tc...@cisco.com> wrote:
> > I'm new at Velocity, I'm trying to use Veltag but I can't build it 
> > because I can't find it at the distribution (src) of velocity (1.4 or 
> > 1.3.1) neather the one of taglib (version of 20040531)
> 
> You know, this is a great question really. :-)
> 
> Veltag is buried in the src tree -- specifically this directory:
> 
> jakarta-velocity\contrib\temporary\veltag
> 
> I've been thinking for a long time that it should be pulled into the
> Velocity Tools project and turned into a first-class citizen. ;-)

Speaking as a possibly-typical velocity/struts user, I have no use for 
veltag.   I decided on Velocity because I didn't want to deal with jsp tags. 
  I don't see the need to add it into velocity-tools.

However, I'm only one data point -- perhaps I'm not as typical as I think.

-Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


RE: Veltag - location in cvs

Posted by Tim Colson <tc...@cisco.com>.
> I'm new at Velocity, I'm trying to use Veltag but I can't build it 
> because I can't find it at the distribution (src) of velocity (1.4 or 
> 1.3.1) neather the one of taglib (version of 20040531)

You know, this is a great question really. :-)

Veltag is buried in the src tree -- specifically this directory:

jakarta-velocity\contrib\temporary\veltag

I've been thinking for a long time that it should be pulled into the
Velocity Tools project and turned into a first-class citizen. ;-)

Cheers,
Timo



---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org