Menu

SQLUnit 4.9 failure message with explanation

2006-02-21
2013-04-25
  • Mücahid Ali TUTAL

    I am using SQLUnit 4.9
    In command prompt I got this failure message when I write this on command prompt

    ant sqlunit -Dtestfile=test/postgresql/test.xml

    BUILD FAILED
    Target 'sqlunit' does not exist in this project

    I set classpath for ant and java

    What should I do to escape from this failure?

     
    • James Henderson

      James Henderson - 2006-02-21

      Hi,

      'sqlunit' is an invalid ant target.

      Try using 'sqlunit-nested' or 'sqlunit-flat' like so:

      ant sqlunit-flat -Dtestfile="test/postgresql/test.xml'

      or

      ant sqlunit-nested -Dtestdir="postgresql"

      To get a list of all valid targets type "ant" with no parameters in the sqlunit directory. 

      Hope this helps.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.