Ah, sorry.  that should just be "ant simple" instead of "example.simple".

So, i'm not familiar with any "RSA" with which you can do what you
describe.  what is that?  what file structure did it create for the
web application?  i'm guessing that the files you copied over didn't
end up in the right places.  though, really i'm totally guessing since
i don't know what RSA is...

On Thu, Nov 20, 2008 at 11:16 AM, Radhika V <[EMAIL PROTECTED]> wrote:
> Hi
> I am new to velocity and web application development. I was following the 
> "building web application" guide. I did the following -
>  - Download the Velocity Tools project source, unzipped to a folder
> - when i ran the ant command in the folder,  "ant example.simple" , it gave 
> me the error :
> BUILD FAILED
> Target "example.simple" does not exist in the project "velocity-tools".
>
> so i just ran the ant command and it built the whole velocity-tools project.
>
> Now, i created a new dynamic web application in RSA and imported the jars  
> (common*, velocity*, oro*) and copied the index.vm from the sample code. i 
> also copied the toolbox.xml to the web-inf folder. I copied the web.xml, and 
> created a java file in a package and copied the contents of ToyTool.java. 
> Build and run, the vm page did not seem to get the $ references. it displayed 
> them like text, like this -
> Here we use a custom tool: $toytool.message
>
>
>
> Let's play with a hashmap:
> first add foo: $map.put("foo",$foo)
> then add bar: $map.put("bar",$bar)
>
> and that gives us $map
>
> Here we get the date from the DateTool:  $date.medium
> Any pointer on what went wrong? thanks
>
>
>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to