I have this goal defined:

  <goal name="test:db:prepare" prereqs="db:auto">
    <echo message="test.database is ${test.database}"/>
    <j:scope>
      <echo message="test.database is ${test.database}"/>
      <j:set var="repository.dir" value="${classes.dir}" />
      <attainGoal name="test:prepare:db:${test.database}" />
    </j:scope>
  </goal>

When I invoke it, I get:

test:db:prepare:
    [echo] test.database is hypersonic
    [echo] test.database is

The j:scope is blowing away the value of test.database!?!? That's set in
my project.properties.

I'm using the mainline as of 11/18.

I need the j:scope so that the 'repository.dir' I create doesn't muck up
the global namespace. But... the goal I'm trying to attain still needs
several other global properties.

Suggestions?

Thanks,
J




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

Reply via email to