Hello Bas! > I have an ant build file which also tries to execute junit tests. When I run > this from the command line, it works correctly. However when I run the task > from IDEA I get multiple error messages from ant: > > "Could not create task of type: junit. Common solutions are to use taskdef > to declare your task or if this is an optional task to put the optional.jar > in the lib directory of your ant installation (ANT_HOME)." > > As optional.jar is in the IDEA classpath, this seems to be a bug? What do I > do?
Please open Ant build properties dialog and make sure that junit.jar is included to the additional classpath. -- Best regards, Anton Katilin --------------------------------------------------------- JetBrains, Inc / IntelliJ Software http://www.intellij.com "Develop with pleasure!" "Bas Leijdekkers" <[EMAIL PROTECTED]> wrote in message aghmrm$83n$[EMAIL PROTECTED]">news:aghmrm$83n$[EMAIL PROTECTED]... > Hi, > > I have an ant build file which also tries to execute junit tests. When I run > this from the command line, it works correctly. However when I run the task > from IDEA I get multiple error messages from ant: > > "Could not create task of type: junit. Common solutions are to use taskdef > to declare your task or if this is an optional task to put the optional.jar > in the lib directory of your ant installation (ANT_HOME)." > > As optional.jar is in the IDEA classpath, this seems to be a bug? What do I > do? > > Also, I tried to copy the error message directly from the message window, > but that didn't work. Instead of the error message something else was in the > clipboard. E.g. when I ctrl-select two messages and copy them to the > clipboard and then paste in notepad the following appears: > > <html><body><ol> > <li>null > <li>null > </ol></body></html> > > When I past in IDEA nothing happens, and when I past in Outlook Express it > creates a list. If I select only one message nothing appears when pasting in > notepad, but a list with a single null element appears in Outlook Express. > Very strange... > > -- > Bas Leijdekkers > Carp Technologies BV > http://www.carp-technologies.com > tel. +31 53 4836382, fax: +31 53 4836383 > > _______________________________________________ Eap-bugs mailing list [EMAIL PROTECTED] http://lists.jetbrains.com/mailman/listinfo/eap-bugs
