Greeting Textpad fans!
I am trying to configure a Textpad tool to run my build via ant and jikes and make the compiler output clickable.
I've worked out the whole ant thing and I have it running my build. What I cannot seem to get is the "Regular Expression to Match Output"
I am using the following Regular expression to match output:
^[ ]+\([0-9]+\)
Registers:
File: Line: 1 Column:
I found this at http://www.cs.arizona.edu/~stepp/jikes.html
What do the File, Line, and Column values do?
Here is some output from a compile.
<pre>
[javac] Compiling 24 source files to C:\Tomcat 4.1\webapps\tsr\WEB-INF\classes
[javac] Found 1 semantic error compiling "C:/source/talisen/tsr/java/net/talisen/tsr/CreditCardUtil.java":
[javac] 6. import org.apache.log4j.Logger;
[javac] ^---------------------^
[javac] *** Semantic Error: The import "org/apache/log4j/Logger" is not valid, since it does not name a type in a package.
[javac] Found 1 semantic error compiling "C:/source/talisen/tsr/java/net/talisen/tsr/DBCmd.java":
[javac] 21. import org.apache.log4j.Logger;
[javac] ^---------------------^
[javac] *** Semantic Error: The import "org/apache/log4j/Logger" is not valid, since it does not name a type in a package.
[javac] Found 16 semantic errors compiling "C:/source/talisen/tsr/java/net/talisen/tsr/EmailUtil.java":
[javac] 5. import javax.mail.Message;
[javac] ^----------------^
[javac] *** Semantic Error: The import "javax/mail/Message" is not valid, since it does not name a type in a package.
</pre>
Thanks
Michael Holly
ant and jikes and Textpad oh my!
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
Ed
Re: ant and jikes and Textpad oh my!
Hi Michael
I think you want reg expression
^"\([^"]+".*$
File:1
then click on the line
"C:/source/talisen/tsr/java/net/talisen/tsr/CreditCardUtil.java":
to go to that file
Unfortunately, due to the layout of the error message it won't take you to the line and column.
Unless there's anyone who knows better...
I think you want reg expression
^"\([^"]+".*$
File:1
then click on the line
"C:/source/talisen/tsr/java/net/talisen/tsr/CreditCardUtil.java":
to go to that file
Unfortunately, due to the layout of the error message it won't take you to the line and column.
Unless there's anyone who knows better...
-
Michael Holly
Re: ant and jikes and Textpad oh my!
Ed
Thanks for the quick reply.
I tried this but it did not work... When I double click on the file name I get
a dialog that says unmatched '( or {'
Any ideas?
Thanks
Michael
Thanks for the quick reply.
I tried this but it did not work... When I double click on the file name I get
a dialog that says unmatched '( or {'
Any ideas?
Thanks
Michael
-
Ed
Re: ant and jikes and Textpad oh my!
So Sorry
It should be
^.*"\([^"]+\)".*$
That's non-Posix (if it does not work change your option somewhere under Config->pref
...well it was Christmas day - that's my excuse
It should be
^.*"\([^"]+\)".*$
That's non-Posix (if it does not work change your option somewhere under Config->pref
...well it was Christmas day - that's my excuse