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 Graham Leggett <mi...@sharp.fm> on 2003/07/15 16:27:06 UTC

Equivalent of "make clean" for torque

Hi all,

I am trying to create a new project skeleton for a new project, based on 
an existing working project.

Having copied the required files over to the new project, and made what 
I can see are the required changes, I have asked torque to generate my 
OM files for me - which it stubbornly refuses to do.

Each time I run torque, it tells me my files are up to date, even though 
I have run maven clean, and deleted the report.* files that torque 
generates.

Yet when I run torque, it still insists on doing nothing, saying 
everything is "up to date". Is there a way of overriding this and 
forcing OM file generation?

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."


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


Re: Equivalent of "make clean" for torque

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Graham Leggett <mi...@sharp.fm> writes:

> Graham Leggett wrote:
> 
> > Yet when I run torque, it still insists on doing nothing, saying
> > everything is "up to date". Is there a way of overriding this and
> > forcing OM file generation?
> 
> 
> Doh! Turns out my schema file was called mydb.schema.xml instead of
> mydb-schema.xml.
> 
> 
> Is it possible to get torque to log a message saying "A file matching
> **/*-schema.xml could not be found", instead of just being silent
> about it, as it is now?

You could add that to the existing Task implementation, or write a new
Task which performs this check to hook into the supplied Ant build
file.  It definitely sounds like a reasonable enhancement.
-- 

Daniel Rall

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


Re: Equivalent of "make clean" for torque

Posted by Graham Leggett <mi...@sharp.fm>.
Graham Leggett wrote:

> Yet when I run torque, it still insists on doing nothing, saying 
> everything is "up to date". Is there a way of overriding this and 
> forcing OM file generation?

Doh! Turns out my schema file was called mydb.schema.xml instead of 
mydb-schema.xml.

Is it possible to get torque to log a message saying "A file matching 
**/*-schema.xml could not be found", instead of just being silent about 
it, as it is now?

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."


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