Hi Tony and Hiroki, Sorry. I failed to realize that there is an extra step to getting the maven repository in order. There is a licensing restriction on a jar file and you must download and install it manually as well as getting the rest of the dependencies. I've updated the instructions on the wiki. http://www.telscenter.org/confluence/display/SAIL/Getting+started+with+Java+portal+development#GettingstartedwithJavaportaldevelopment-Step8
Please have another try. I appreciate your patience in setting up your environment. It's complicated to create a working app server and database. Cynick Hiroki Terashima wrote: > I get the problem in the same place. Although the confluence page > didn't specify, I assumed that the command "ant db.create" was > supposed to be executed in the [eclipse-workspace]/webapp, where > build.xml is at, because if you execute it anywhere else, it gives you > a "cannot find build.xml" error. > > Opening build.xml in Eclipse yields a yellow underline under this > chunk of code: > > <taskdef name="hibernatetool" > classname="org.hibernate.tool.ant.HibernateToolTask " > classpathref="lib.hibernate-tools" > /> > > Eclipse lists this as a "Warning" with the message "taskdef class > org.hibernate.tool.ant.HibernateToolTask cannot be found" > > > Here's the output from my execution of "ant db.create": > aperritanos-powerbook-g4-12:~/EclipseWorkspace.32.test/webapp/trunk > hiroki$ ant db.create > Buildfile: build.xml > > BUILD FAILED > /Users/hiroki/EclipseWorkspace.32.test/webapp/trunk/build.xml:121: > taskdef class org.hibernate.tool.ant.HibernateToolTask cannot be found > > Total time: 1 second > > Thanks, > Hiroki > > > On 2/3/07, *Anthony Perritano* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > in the getting started doc: > > > Create and initialize a working database. > > 1. Create the necessary directories where your sail database > will reside (specified in /settings.xml/ previously). > 2. Use ant to create a working database. > > ant db.create > ant db.init > > > i get the following: > Buildfile: build.xml > > BUILD FAILED > /Users/aperritano/dev/workspaces/pSpace/webapp/build.xml:121: > taskdef class org.hibernate.tool.ant.HibernateToolTask cannot be found > > Total time: 0 seconds > > my maven entries > > M2_HOME=/Users/aperritano/dev/maven-2.0/bin > M2_REPO=/Users/aperritano/.m2/repository > > i tried this with the ant tool in eclipse also, same result. > > cynick, what do u make of this? > > -Tony > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SAIL-Dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/SAIL-Dev?hl=en -~----------~----~----~----~------~----~------~--~---
