Hi Eitan,

This is deliberate, so that you can rerun a particular example without going through the whole compile/bind process. If you run ant without a target the output lists all the targets and tells the difference. Do you think this is a bad approach?

- Dennis

Eitan Suez wrote:

hi dennis,

  i noticed that the tutorial build.xml has a number of targets
  called runX to run each of the examples.

each depends on configX,run-example.

  the problem is that run-example does not depend on
  compile and run-bind so the runX targets cannot run
  successfully.  i mean, there is no way for example
  to compile a given example, say example 1, except
  of course, if you list multiple targets in order from the
  command line, as in:

ant config1 compile run-bind run1

  why not simply just make the two dependencies
  explicit, as in:

      <target name="run-bind" depends="compile" ..
      <target name="run-example" depends="run-bind" ..

( then, full-test can also simplify to depends="clean,run-example" .. )

just a suggestion.

thanks, eitan


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
jibx-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-users






-- Dennis M. Sosnoski Enterprise Java, XML, and Web Services Training and Consulting http://www.sosnoski.com Redmond, WA 425.885.7197




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
jibx-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to