Solution found.  Developers, I hope you're listening.  (msegalla, I hope
you're listening too :).)

The "sql-classpath" target was being built instead of "sql-template".
Apparently, if sql-template is to be built, the useClassPath property must
be undefined (not just set to false) -- otherwise it will use the
sql-classpath target.

According to the Ant documentation, using "if" in a <target> executes the
target if the property is set, regardless of the value it is set to.  So the
target

<target name="sql-classpath" if="useClasspath">

executes if useClasspath is set _at all_.  A brief scan of the docs doesn't
describe this behavior.

-Thomas

-----Original Message-----
From: Thomas Wheeler [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 22, 2002 6:55 PM
To: '[EMAIL PROTECTED]'
Subject: templatePath


I'm getting the same error as msegalla, also under 3.0-b3: "The template
path needs to be defined if you are not using the classpath for locating
templates!"

I've verified that the 'templatePath' property is set... what else needs to
be done?

Thanks,
Thomas

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to