velocity editor

581 views
Skip to first unread message

Burak Hamşioğlu

unread,
Jul 10, 2013, 7:31:01 AM7/10/13
to dot...@googlegroups.com
Hi,
Is there anyone know how to use velocity editor in eclipse ?
I found some editor on the net but there is no how to use guide
Thanks
Burak

Jason Tesser

unread,
Jul 10, 2013, 7:39:16 AM7/10/13
to dot...@googlegroups.com
most of them are old. I haven't found a great one that I like and haven't found them useful to be honest when developing for dotCMS



Burak

--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
Visit this group at http://groups.google.com/group/dotcms.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Burak Hamşioğlu

unread,
Jul 10, 2013, 7:46:30 AM7/10/13
to dot...@googlegroups.com
Where do you develop your dotcms codes and compile them ?

10 Temmuz 2013 Çarşamba 14:39:16 UTC+3 tarihinde LORDs_diakonos yazdı:

Jason Tesser

unread,
Jul 10, 2013, 7:49:30 AM7/10/13
to dot...@googlegroups.com
Well velocity code doesn't compile. 

I develop dotCMS in Eclipse. For Plugins and work on dotCMS core. 

For Velocity I use WebDav and a Text editor BBEdit for me.

Thanks,
Jason S. Tesser
Director, Support Services
dotCMS, Inc.
T: 305.858.1422 x7003
http://twitter.com/dotCMS
www.dotcms.com

Burak Hamşioğlu

unread,
Jul 10, 2013, 7:55:55 AM7/10/13
to dot...@googlegroups.com, jason....@dotcms.com
How do you develop code in webdav ?, I know that webdav is used for file transfer
You develop dotcms in eclipse I think is it because dotcms based on Java

10 Temmuz 2013 Çarşamba 14:49:30 UTC+3 tarihinde Jason Tesser yazdı:

Jason Tesser

unread,
Jul 10, 2013, 8:22:06 AM7/10/13
to dot...@googlegroups.com, Jason Tesser
Well Velocity are files to dotCMS so I am not sure what your actual question is

Burak Hamşioğlu

unread,
Jul 10, 2013, 8:31:10 AM7/10/13
to dot...@googlegroups.com, Jason Tesser
I downloaded veloeclipse but don't know how to use it in eclipse

10 Temmuz 2013 Çarşamba 15:22:06 UTC+3 tarihinde LORDs_diakonos yazdı:

Falzone, Chris

unread,
Jul 10, 2013, 8:51:05 AM7/10/13
to dot...@googlegroups.com, Jason Tesser
I have been using Sublime Text 2 for editing VTL files and widgets.  There is a nice syntax highlighter and code completion plugin for it.  

The multiple cursor deal in sublime is what won me over.  However, in the long run, use whatever code editor works best for you.  Anyone can make an argument as to what works best for them, but you just have to try and see what works best for you.  I like vi, sublime, and BBEdit personally, but you might find that using eclipse's text editor works better for you.

After you choose which works best for you, if you want to use webdav to edit all of the code on site(s), then all of your code needs to be in .vtl files that you parse in the containers and widgets.  Then you can hook up a webdav client (sublime has one built-in) to your dotcms instance.  Now you can pull up the vtl file in the editor of your choice, modify and save it back to webdav.  

It really only works well when you have all of your code in vtl files.  On our site we have a mix of vtl files and widgets/contentlets that have the code directly in them.  For the ones that do not use vtl files I either make it a vtl file or I copy/paste from the dotCMS editor to sublime, modify what I need, and then copy/paste back.  A bit of a hassle.

Another tip I can offer is to make sure your vtl files are well organized.  Having one folder with 100s of vtl files will be really slow in webdav so organize them into folders or whatever works for you.

Hope it helps. 

Christopher Falzone

Interactive Developer


A Q U E N T

Digital, Creative, and Marketing Talent


aquent.com

cfal...@aquent.com

Stephen Bell

unread,
Jul 10, 2013, 11:00:33 AM7/10/13
to dot...@googlegroups.com
If you're looking for a free option and are on Mac OS X, Textmate 2 (which is now free and open-source) has a nice Velocity + HTML syntax highlighting mode that's quite nice.

  http://macromates.com/

-- 
Stephen Bell, MBA
Director of Web Marketing
Oklahoma Christian University

Mark Pitely

unread,
Jul 10, 2013, 11:11:10 AM7/10/13
to dot...@googlegroups.com
We're all coming out of the woodwork here.
You can use Emacs/XEmacs as well:
http://wiki.apache.org/velocity/EmacsVtlMode


Though I second Sublime Text. I can write an entire program in Sublime Text before Eclipse even finishes starting up.


Mark Pitely
Marywood University

Kivi Shapiro

unread,
Jul 10, 2013, 12:03:49 PM7/10/13
to dot...@googlegroups.com
If you're just on Windows, it's worth looking at Notepad++.  Similar feature set to Sublime Text and it's free.

Kivi Shapiro
Qualicom Innovations

Nathan Keiter

unread,
Jul 10, 2013, 12:11:18 PM7/10/13
to dot...@googlegroups.com
Yes, Notepad++ is definitely a great text editor. I do all my velocity in it with the language setting set to HTML.

I like it so much I have it running in a wine wrapper on my Mac as well.

Nathan

Nathan I. Keiter
Lead Network Applications Programmer
DataSystems
Gettysburg College
Campus Box 2453
717-337-6993

Measure your success by the level of service you provide.
Si hoc legere scis nimium eruditionis habes.


From: Kivi Shapiro <kivi.s...@gmail.com<mailto:kivi.s...@gmail.com>>
Reply-To: "dot...@googlegroups.com<mailto:dot...@googlegroups.com>" <dot...@googlegroups.com<mailto:dot...@googlegroups.com>>
Date: Wednesday, July 10, 2013 12:03 PM
To: "dot...@googlegroups.com<mailto:dot...@googlegroups.com>" <dot...@googlegroups.com<mailto:dot...@googlegroups.com>>
Subject: [BULK] Re: [dotcms] velocity editor

If you're just on Windows, it's worth looking at Notepad++. Similar feature set to Sublime Text and it's free.

Kivi Shapiro
Qualicom Innovations

On Wednesday, 10 July 2013 11:11:10 UTC-4, Mark Pitely wrote:
We're all coming out of the woodwork here.
You can use Emacs/XEmacs as well:
http://wiki.apache.org/velocity/EmacsVtlMode


Though I second Sublime Text. I can write an entire program in Sublime Text before Eclipse even finishes starting up.


Mark Pitely
Marywood University


On Wed, Jul 10, 2013 at 11:00 AM, Stephen Bell <stephe...@oc.edu<javascript:>> wrote:
If you're looking for a free option and are on Mac OS X, Textmate 2 (which is now free and open-source) has a nice Velocity + HTML syntax highlighting mode that's quite nice.

http://macromates.com/

--
Stephen Bell, MBA
Director of Web Marketing
Oklahoma Christian University
(405)425-5133
http://www.oc.edu


On Jul 10, 2013, at 7:51 AM, Falzone, Chris wrote:

I have been using Sublime Text 2 for editing VTL files and widgets. There is a nice syntax highlighter and code completion plugin for it.
http://www.sublimetext.com/2
https://github.com/ishmaelAhmed/Sublime-Text-2-Velocity-syntax-files

The multiple cursor deal in sublime is what won me over. However, in the long run, use whatever code editor works best for you. Anyone can make an argument as to what works best for them, but you just have to try and see what works best for you. I like vi, sublime, and BBEdit personally, but you might find that using eclipse's text editor works better for you.

After you choose which works best for you, if you want to use webdav to edit all of the code on site(s), then all of your code needs to be in .vtl files that you parse in the containers and widgets. Then you can hook up a webdav client (sublime has one built-in) to your dotcms instance. Now you can pull up the vtl file in the editor of your choice, modify and save it back to webdav.

It really only works well when you have all of your code in vtl files. On our site we have a mix of vtl files and widgets/contentlets that have the code directly in them. For the ones that do not use vtl files I either make it a vtl file or I copy/paste from the dotCMS editor to sublime, modify what I need, and then copy/paste back. A bit of a hassle.

Another tip I can offer is to make sure your vtl files are well organized. Having one folder with 100s of vtl files will be really slow in webdav so organize them into folders or whatever works for you.

Hope it helps.


On Wed, Jul 10, 2013 at 8:22 AM, Jason Tesser <jason...@gmail.com<javascript:>> wrote:
Well Velocity are files to dotCMS so I am not sure what your actual question is


On Wed, Jul 10, 2013 at 7:55 AM, Burak Hamşioğlu <bhams...@gmail.com<javascript:>> wrote:
How do you develop code in webdav ?, I know that webdav is used for file transfer
You develop dotcms in eclipse I think is it because dotcms based on Java

10 Temmuz 2013 Çarşamba 14:49:30 UTC+3 tarihinde Jason Tesser yazdı:
Well velocity code doesn't compile.

I develop dotCMS in Eclipse. For Plugins and work on dotCMS core.

For Velocity I use WebDav and a Text editor BBEdit for me.

Thanks,
Jason S. Tesser
Director, Support Services
dotCMS, Inc.
T: 305.858.1422 x7003
http://twitter.com/dotCMS
www.dotcms.com<http://www.dotcms.com/>


On Wed, Jul 10, 2013 at 7:46 AM, Burak Hamşioğlu <bhams...@gmail.com> wrote:
Where do you develop your dotcms codes and compile them ?

10 Temmuz 2013 Çarşamba 14:39:16 UTC+3 tarihinde LORDs_diakonos yazdı:
most of them are old. I haven't found a great one that I like and haven't found them useful to be honest when developing for dotCMS


On Wed, Jul 10, 2013 at 7:31 AM, Burak Hamşioğlu <bhams...@gmail.com> wrote:
Hi,
Is there anyone know how to use velocity editor in eclipse ?
I found some editor on the net but there is no how to use guide
Thanks

Burak

--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.

Visit this group at http://groups.google.com/group/dotcms.
For more options, visit https://groups.google.com/groups/opt_out.




--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
Visit this group at http://groups.google.com/group/dotcms.
For more options, visit https://groups.google.com/groups/opt_out.




--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com<javascript:>.
To post to this group, send email to dot...@googlegroups.com<javascript:>.
Visit this group at http://groups.google.com/group/dotcms.
For more options, visit https://groups.google.com/groups/opt_out.




--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com<javascript:>.
To post to this group, send email to dot...@googlegroups.com<javascript:>.
Visit this group at http://groups.google.com/group/dotcms.
For more options, visit https://groups.google.com/groups/opt_out.





--
Christopher Falzone
Interactive Developer

A Q U E N T
Digital, Creative, and Marketing Talent

aquent.com<http://aquent.com/>
cfal...@aquent.com<javascript:>

--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com<javascript:>.
To post to this group, send email to dot...@googlegroups.com<javascript:>.
Visit this group at http://groups.google.com/group/dotcms.
For more options, visit https://groups.google.com/groups/opt_out.




--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com<javascript:>.
To post to this group, send email to dot...@googlegroups.com<javascript:>.
Visit this group at http://groups.google.com/group/dotcms.
For more options, visit https://groups.google.com/groups/opt_out.




--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com<mailto:dotcms+un...@googlegroups.com>.
To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com>.
Reply all
Reply to author
Forward
0 new messages