db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <fisc...@seitenbau.net>
Subject Re: Torque test project can't find torque-gen-templates-3.2-rc3-dev.jar
Date Fri, 07 Oct 2005 07:04:38 GMT




Hi,

Running Maven in the "templates" directory is the "official" way to create
the Templates jar. If the "trunks" directory is used, one can also run
"maven multiproject:install" in the trunks directory to build all Torque
components at once .

By the way, last time I tried it, Torque did not work with Derby and the
network driver. The problem was that the network driver in the meta-info
declared all columns to be read-only, which causes a library used
internally in Torque (village) to refuse to write any datasets into the
table. The problem is described in the Bug DERBY-142 in Derby's Jira.

However, in future releases of Torque, it is quite probable that village is
removed, so this will not be problematic any longer.

         Thomas

"Jean T. Anderson" <jta@bristowhill.com> schrieb am 06.10.2005 21:16:22:

> this way worked -- thanks!
>
> -jean
>
>
> Hilco Wijbenga wrote:
> > I ran into this too.
> >
> > My solution was to just run Maven in the 'templates' directory. It will
> > create the torque-gen-templates-3.2-rc3-dev.jar file in the target
> > directory. This is assuming you've checked out the sources, of
course...
> >
> > After it's been created just copy it to .maven/repository/torque/jars.
> >
> > I don't know if there is a smarter way to do it. :-)
> >
> > On Thu, 2005-10-06 at 11:36 -0700, Jean T. Anderson wrote:
> >
> >>Greetings, all, I'm working on running the Torque test project
> >>(http://db.apache.org/torque/tests.html) with Derby 10.1.1.0 and the
> >>Derby Network Client.
> >>
> >>References to torque-3.2-rc3-dev.jar and torque-gen-3.2-rc3-dev.jar
> >>assembled from common/project.xml and generator/project.xml caused an
> >>initial failure, which I managed to resolve, but now the run fails on
an
> >>attempt to find torque-gen-templates-3.2-rc3-dev.jar :
> >>
> >>
> >>    [jta@gertie3 trunks]$ maven -Dtorque.test.profile=derby
> >>     __  __
> >>    |  \/  |__ _Apache__ ___
> >>    | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> >>    |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> >>
> >>    build:start:
> >>
> >>    ...
> >>
> >>    +----------------------------------------
> >>    | Executing multiproject:artifact-callback Torque generator
> >>    | Memory: 5M/8M
> >>    +----------------------------------------
> >>    Attempting to download torque-gen-templates-3.2-rc3-dev.jar.
> >>    WARNING: Failed to download torque-gen-templates-3.2-rc3-dev.jar.
> >>
> >>    BUILD FAILED
> >>    File......
> >>/home/jta/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly
> >>    Element... maven:reactor
> >>    Line...... 218
> >>    Column.... 9
> >>    The build cannot continue because of the following unsatisfied
> >>dependency:
> >>
> >>    torque-gen-templates-3.2-rc3-dev.jar (try downloading from
> >>http://db.apache.org/torque/generator/templates/)
> >>
> >>    Total time: 5 seconds
> >>    Finished at: Thu Oct 06 11:25:04 PDT 2005
> >>
> >>
> >>I tried going to http://db.apache.org/torque/generator/templates/ , but

> >>that page gets a 404 not found error. Any suggestions on how I should
> >>fix this?
> >>
> >>thanks,
> >>
> >>  -jean
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
> >>For additional commands, e-mail: torque-dev-help@db.apache.org
> >>
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
> > For additional commands, e-mail: torque-dev-help@db.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-dev-help@db.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message