-
Oct 19th, 2010, 09:11 AM
#1
The booking-faces sample does not build in new Webflow 2.2.0 Release ?
Hi, have downloaded the latest 2.2.0 release with an interest in Primefaces (integration) and have attempted the build (ant jar) the booking faces demo app but am seeing ivy unresolved dependencies, see below;
Have tried adding these across from the SWF2.2.0.RELEASE distribution but then IVY seems unable to resolve the primefaces jar nor the com.sun.faces jsf jars.
Anybody else having troubles with booking-faces on SWF 2.2.0 ?
<code>
C:\spring-webflow-2.2.0.RELEASE\projects\spring-webflow-samples\booking-faces>ant jar
Buildfile: build.xml
Trying to override old definition of task dist-jar
ivy.init:
ivy.file.exists:
resolve.init:
resolve.compile:
[ivy:cachepath] :: Ivy 2.0.0 - 20090108225011 :: http://ant.apache.org/ivy/ ::
:: loading settings :: file = C:\spring-webflow-2.2.0.RELEASE\projects\build-spr
ing-webflow\ivysettings.xml
[ivy:cachepath] [2.2.0.RELEASE] org.springframework.webflow#org.springfr
amework.js;latest.integration
[ivy:cachepath] [2.2.0.RELEASE] org.springframework.webflow#org.springfr
amework.webflow;latest.integration
[ivy:cachepath] [2.2.0.RELEASE] org.springframework.webflow#org.springfr
amework.faces;latest.integration
[ivy:cachepath]
[ivy:cachepath] :: problems summary ::
[ivy:cachepath] :::: ERRORS
[ivy:cachepath] org.springframework.webflow#org.springframework.js ;2.2.0
.RELEASE!org.springframework.js-sources.jar(src) origin location must be absolut
e: /home/rossen/dev/sources/springframework-svn/swf/tags/spring-webflow-2.2.0.RE
LEASE/spring-webflow/../integration-repo/org.springframework.webflow/org.springf
ramework.js/2.2.0.RELEASE/org.springframework.js-sources-2.2.0.RELEASE.jar
[ivy:cachepath]
[ivy:cachepath] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
BUILD FAILED
C:\spring-webflow-2.2.0.RELEASE\projects\spring-build\common\common.xml:91: impo
ssible to resolve dependencies:
java.lang.IllegalArgumentException: org.springframework.webflow#org.spri
ngframework.js;2.2.0.RELEASE!org.springframework.j s-sources.jar(src) origin loca
tion must be absolute: /home/rossen/dev/sources/springframework-svn/swf/tags/spr
ing-webflow-2.2.0.RELEASE/spring-webflow/../integration-repo/org.springframework
.webflow/org.springframework.js/2.2.0.RELEASE/org.springframework.js-sources-2.2
.0.RELEASE.jar
</code>
-
Oct 19th, 2010, 02:56 PM
#2
reran 'ant jar' in build-spring-webflow to fix
run 'ant jar' in build-spring-webflow which restored the missing (probably inadvertedly moved) directories, then 'ant jar' in booking faces works...
-
Oct 19th, 2010, 10:11 PM
#3
I am also running in to the same issue, so ran the build as you suggested :-
I now get 2 errors and build failed. Below are the errors :-
[s:javac] 811. ERROR in C:\mydev\spring\spring-webflow-2.2.0.RELEASE\projects\spring-webflow\src\main\java\org\springframework\webflow\ upgrade\WebFlowUpgrader.java (at line 34)
[s:javac] import com.sun.org.apache.xml.internal.serializer.OutputP ropertiesFactory;
[s:javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[s:javac] The import com.sun.org.apache.xml.internal.serializer cannot be resolved
[s:javac] ----------
[s:javac] 812. ERROR in C:\mydev\spring\spring-webflow-2.2.0.RELEASE\projects\spring-webflow\src\main\java\org\springframework\webflow\ upgrade\WebFlowUpgrader.java (at line 87)
[s:javac] transformer.setOutputProperty(OutputPropertiesFact ory.S_KEY_INDENT_AMOUNT, "4");
[s:javac] ^^^^^^^^^^^^^^^^^^^^^^^
[s:javac] OutputPropertiesFactory cannot be resolved
-
Oct 19th, 2010, 10:39 PM
#4
I ran in to the above issue because I was using IBM JDK. Changing to SUN jDK resolves the issue.
There is already a bug logged in for this issue (defect)
I also found a related FAQ on SUN's site : http://java.sun.com/products/jdk/faq...-packages.html
-
Oct 24th, 2010, 08:42 PM
#5
I modified \org\springframework\webflow\upgrade\WebFlowUpgrad er.java to remove references to com.sun.org.apache.xml.internal.serializer.OutputP ropertiesFactory
I didn't think this class has any role to play during runtime, I just had get pass the compilation error with ibm jdk.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules