[Clanker-developers] SF.net SVN: clanker: [12] trunk/jemos-clanker
Status: Alpha
Brought to you by:
mtedone
|
From: <mt...@us...> - 2007-04-29 11:51:48
|
Revision: 12
http://clanker.svn.sourceforge.net/clanker/?rev=12&view=rev
Author: mtedone
Date: 2007-04-29 04:51:43 -0700 (Sun, 29 Apr 2007)
Log Message:
-----------
Modified Paths:
--------------
trunk/jemos-clanker/analysis-engine/project.xml
trunk/jemos-clanker/result-engine/src/java/uk/co/jemos/clanker/jelly/formatters/InterfacesTag.java
trunk/jemos-clanker/xdocs/known-limitations.xml
Modified: trunk/jemos-clanker/analysis-engine/project.xml
===================================================================
--- trunk/jemos-clanker/analysis-engine/project.xml 2007-03-22 01:28:28 UTC (rev 11)
+++ trunk/jemos-clanker/analysis-engine/project.xml 2007-04-29 11:51:43 UTC (rev 12)
@@ -53,18 +53,18 @@
<type>jar</type>
</dependency>
<dependency>
- <groupId>tools</groupId>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>2.0</version>
+ <type>jar</type>
+ </dependency>
+ <dependency>
+ <groupId>java</groupId>
<artifactId>tools</artifactId>
<version>5.0</version>
<type>jar</type>
<url>http://www.jemos.co.uk/maven/repository</url>
</dependency>
- <dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <version>2.0</version>
- <type>jar</type>
- </dependency>
</dependencies>
<reports>
<report>maven-javadoc-plugin</report>
Modified: trunk/jemos-clanker/result-engine/src/java/uk/co/jemos/clanker/jelly/formatters/InterfacesTag.java
===================================================================
--- trunk/jemos-clanker/result-engine/src/java/uk/co/jemos/clanker/jelly/formatters/InterfacesTag.java 2007-03-22 01:28:28 UTC (rev 11)
+++ trunk/jemos-clanker/result-engine/src/java/uk/co/jemos/clanker/jelly/formatters/InterfacesTag.java 2007-04-29 11:51:43 UTC (rev 12)
@@ -114,14 +114,18 @@
//A logging buffer
StringBuffer buff = new StringBuffer();
- if (null == this.getClasses() ||
- this.getClasses().isEmpty()) {
- buff.append("The ${classes} parameter must not be null and")
- .append(" it must contain at least one class.");
+ if (null == this.getClasses()) {
+ buff.append("The ${classes} parameter must not be null.");
LOG.severe(buff.toString());
throw new JellyTagException(buff.toString());
}
+ if (this.getClasses().isEmpty()) {
+ buff.append("No classes matched the selection criterias.")
+ .append("Returning without performing any activity.");
+ LOG.info(buff.toString());
+ }
+
//Validates the jelly Script
if (null == this.getJellyScript() || "".equals(this.getJellyScript())) {
buff.append("The ${jellyScript} parameter must be passed with")
Modified: trunk/jemos-clanker/xdocs/known-limitations.xml
===================================================================
--- trunk/jemos-clanker/xdocs/known-limitations.xml 2007-03-22 01:28:28 UTC (rev 11)
+++ trunk/jemos-clanker/xdocs/known-limitations.xml 2007-04-29 11:51:43 UTC (rev 12)
@@ -55,10 +55,11 @@
</tr>
<tr>
<td>Limitation</td>
- <td>Jelly output doesn't work with Java JDK 6.
- Although Clanker's analysis process fills the
- JavaBeans with no problems, when outputting
- through Jelly an exception is thrown.</td>
+ <td>Clanker doesn't work with JDK6. Since this
+ software relies heavily on the tools.jar file
+ of the JDK, the JDK5 version is not compatible
+ with JDK6, due to the change in the Scanner
+ and Parser classes in the tool package.</td>
<td>TBD</td>
</tr>
<tr>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|