You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by Thomas Fischer <fi...@seitenbau.net> on 2005/03/28 20:57:03 UTC
bean creation and runtimetest
Hi,
I have committed changes into cvs which allow automatic creation of beans
from data objects and vice versa. To test this, I have also added a test
case to the runtime testwhich tests the new functionality.
To be able to run the runtimetest again, you have to install the new
version of the maven plugin. To do this, run "maven plugin:install" from
the src/maven directory of your local copy of the Torque cvs.
Also, in your profile, you have to set the property
torque.generateBeans = true.
I did that in all generic profiles, but I did not want to change people's
personal profiles.
Also, I am not quite sure where I should have put the additional runtime
properties. I have searched in the property files for "basePrefix" and
everywhere where I found this I have put the two additional properties
"generateBeans" and "beanSuffix".
I found them in the following files:
src/generator/src/conf/build.properties
src/generator/src/conf/default.properties
src/maven-plugin/plugin.properties
can anyone with a larger knowledge please shed some light on what the
different files are needed for ?
Thanks,
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org
Re: bean creation and runtimetest
Posted by Thomas Fischer <tf...@apache.org>.
In addition to installing a new version of the maven plugin, a new version
of the generator also has to be installed
cd src/generator
maven clean
maven jar:install
Thomas
On Mon, 28 Mar 2005, Thomas Fischer wrote:
>
>
>
>
> Hi,
>
> I have committed changes into cvs which allow automatic creation of beans
> from data objects and vice versa. To test this, I have also added a test
> case to the runtime testwhich tests the new functionality.
>
> To be able to run the runtimetest again, you have to install the new
> version of the maven plugin. To do this, run "maven plugin:install" from
> the src/maven directory of your local copy of the Torque cvs.
>
> Also, in your profile, you have to set the property
> torque.generateBeans = true.
> I did that in all generic profiles, but I did not want to change people's
> personal profiles.
>
> Also, I am not quite sure where I should have put the additional runtime
> properties. I have searched in the property files for "basePrefix" and
> everywhere where I found this I have put the two additional properties
> "generateBeans" and "beanSuffix".
> I found them in the following files:
> src/generator/src/conf/build.properties
> src/generator/src/conf/default.properties
> src/maven-plugin/plugin.properties
>
> can anyone with a larger knowledge please shed some light on what the
> different files are needed for ?
>
> Thanks,
>
> Thomas
>
>
> ---------------------------------------------------------------------
> 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