ant and jikes and Textpad oh my!
Posted: Tue Dec 24, 2002 10:24 pm
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
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