Author: alexsmirnov
Date: 2007-05-22 20:24:05 -0400 (Tue, 22 May 2007)
New Revision: 211
Added:
trunk/release.properties
Modified:
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/generator/ResourcesConfigGenerator.java
Log:
Work in progress for a
http://jira.jboss.com/jira/browse/RF-186 .
Fix AJSF-66 ( double // on resources URL ).
Modified:
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/generator/ResourcesConfigGenerator.java
===================================================================
---
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/generator/ResourcesConfigGenerator.java 2007-05-23
00:24:00 UTC (rev 210)
+++
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/generator/ResourcesConfigGenerator.java 2007-05-23
00:24:05 UTC (rev 211)
@@ -180,6 +180,10 @@
ResourcesConfigGeneratorBean configBean) {
String resolvedPath = resolveResourcePath(name, packageName);
+ // remove leading / from resource name.
+ if(name.startsWith("/")){
+ name = name.substring(1);
+ }
if (resolvedPath != null) {
configBean.addPathResource(name, resolvedPath);
} else {
Added: trunk/release.properties
===================================================================
--- trunk/release.properties (rev 0)
+++ trunk/release.properties 2007-05-23 00:24:05 UTC (rev 211)
@@ -0,0 +1,9 @@
+#release configuration
+#Wed May 16 16:30:33 PDT 2007
+preparationGoals=clean integration-test
+scm.commentPrefix=[maven-release-plugin]
+scm.username=alexsmirnov
+scm.password=2314do1a
+exec.additionalArguments=-P jboss
+completedPhase=check-poms
+scm.url=scm\:svn\:https\://svn.jboss.org/repos/ajax4jsf/trunk/