Hello,

Could you please send me your Ant script and your .ipr file?

Best regards,
Anton Katilin
-----------------------------------------------------------
IntelliJ Software, "Develop with pleasure"
http://www.intellij.com/
-----------------------------------------------------------


----- Original Message -----
From: "Vestal, Rick" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 06, 2001 5:04 PM
Subject: [Eap-list] bug report: ant from Idea doesn't show all errors
correctly


> Windows 2000, build 531
>
> I just ran into a case where ant as executed from Idea doesn't output the
> exact error in a compilation.  If I spawn ant from a command line, it
shows
> up fine.
>
> I'll put some detail here...if you need or want more, let me know what you
> need.
>
>
> The line in question is (note it doesn't do a return as it should):
>
> String getSuite()
> {
> (String[]) m_vectCases.toArray( new String[m_vectCases.size()] );
> }
>
>
> >From the command line, I get the following error:
>
> framework:
>     [javac] Compiling 1 source file to N:\utestfwk\lib
>     [javac] N:\utestfwk\com\vignette\testFramework\gui\GUIRunner.java:127:
> Inval
> id expression statement.
>     [javac]                     (String[]) m_vectCases.toArray( new
> String[m_vec
> tCases.size()] );
>     [javac]                     ^
>     [javac] 1 error
>
> BUILD FAILED
>
>
> >From Idea's spawn of ant, the verbose text is:
>
>
> <snip>
>
> Using classic compiler
> Compilation args: -d N:\utestfwk\lib -classpath
>
"N:\utestfwk\lib;N:\utestfwk\thirdparty\ibm\websphere.jar;N:\utestfwk\shared
>
\java\auth\ptree\lib\vgnwsrealm.jar;N:\utestfwk\thirdparty\bea\weblogic\lib\
>
weblogic.jar;N:\utestfwk\shared\java\auth\ptree\lib\vgnauthn.jar;N:\utestfwk
>
\shared\java\translator\ptree\lib\vgnxmltran.jar;N:\utestfwk\thirdparty\xml-
>
xerces\xerces.jar;N:\utestfwk\shared\java\util\ptree\lib\vgnutil.jar;C:\bea\
> jdk131\lib\tools.jar;C:\Program Files\idea\idea531\lib\idea.jar;C:\Program
> Files\idea\idea531\lib\ant.jar;C:\Program
> Files\idea\idea531\lib\optional.jar;C:\Program
> Files\idea\idea531\lib\junit.jar;C:\Program
> Files\idea\idea531\lib\jaxp.jar;C:\Program
> Files\idea\idea531\lib\crimson.jar" -sourcepath N:\utestfwk -g
> File to be compiled:
>     N:\utestfwk\com\vignette\testFramework\gui\GUIRunner.java
>
> ^
> 1 error
> N:\utestfwk\build.xml:54: Compile failed, messages should have been
> provided.
> at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:559)
> at org.apache.tools.ant.Task.perform(Task.java:217)
>
> <snip>
>
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to