|
From: Steven D. <ste...@gm...> - 2005-07-09 09:16:46
|
Hi all, I really need to build SWF ASAP but there seems to be a problem with the lib repos, I get 404'ed all the time on a number of libs. This is one of the URLs that bounces: http://www.jayasoft.fr/org/ivyrep/ognl/ognl/ivy-2.7.xml This is the complete list: WARN: :::::::::::::::::::::::::::::::::::::::::::::: WARN: :: UNRESOLVED DEPENDENCIES :: WARN: :::::::::::::::::::::::::::::::::::::::::::::: WARN: :: springframework/spring-binding-1.0: not found WARN: :: ognl/ognl-2.7: not found WARN: :: springframework/spring-ioc-1.2.2: not found WARN: :: springframework/spring-core-1.2.2: not found WARN: :: springframework/spring-web-1.2.2: not found WARN: :: springframework/spring-mock-1.2.1: not found WARN: :::::::::::::::::::::::::::::::::::::::::::::: Please advice. Steven --=20 "If you want to be a different fish, you gotta jump out of the school." -- Captain Beefheart |
|
From: Colin S. <col...@ex...> - 2005-07-09 12:38:17
|
Ok, here's the story. You're trying to build the wrong source. All the
current spring-binding and spring-webflow related stuff is under
spring-projects. The older top-level modules need to be pruned.
You need to pull out spring-projects, then you can go into
spring-binding and do an
ant publish
to build an integration version of it and publish it to the local repo,
then can go into spring-weblfow and do an
ant dist
or
ant publish
to build that. If you want to build all of spring-webflow including
samples, you can go into build-spring-webflow and do
ant publish
which will build all the spring-webflow related stuff (but not binding,
that's separate).
That said, this is going to break right now because it looks like Keith
and/or Erwin forgot to check some stuff in. I haven't been in the soure
since early this week, when it was ok, but now there is some stuff missing.
I've checked in spring-context-1.2.2.jar in the repo inside
spring-projects, but spring-binding still doesn't build due to an error:
[javac] Compiling 4 source files to
D:\src\open\spring-colin\spring-projects
\spring-binding\target\classes
[javac]
D:\src\open\spring-colin\spring-projects\spring-binding\src\java\org
\springframework\binding\expression\ExpressionFactory.java:38: cannot
find symbo
l
[javac] symbol : method
isInstanceOf(java.lang.Class,org.springframework.bi
nding.expression.Expression,java.lang.String)
[javac] location: class org.springframework.binding.support.Assert
[javac] Assert.isInstanceOf(PropertyExpression.class,
evaluator,
"The expression evaluator is not a PropertyExpressionEvaluator");
[javac] ^
[javac] 1 error
Without binding, you can't build SWF. I may or may not have time now to
look at this. Depends when the kids wake up :-)
Colin
Steven Devijver wrote:
>Hi all,
>
>I really need to build SWF ASAP but there seems to be a problem with
>the lib repos, I get 404'ed all the time on a number of libs. This is
>one of the URLs that bounces:
>
>http://www.jayasoft.fr/org/ivyrep/ognl/ognl/ivy-2.7.xml
>
>This is the complete list:
>
> WARN: ::::::::::::::::::::::::::::::::::::::::::::::
> WARN: :: UNRESOLVED DEPENDENCIES ::
> WARN: ::::::::::::::::::::::::::::::::::::::::::::::
> WARN: :: springframework/spring-binding-1.0: not found
> WARN: :: ognl/ognl-2.7: not found
> WARN: :: springframework/spring-ioc-1.2.2: not found
> WARN: :: springframework/spring-core-1.2.2: not found
> WARN: :: springframework/spring-web-1.2.2: not found
> WARN: :: springframework/spring-mock-1.2.1: not found
> WARN: ::::::::::::::::::::::::::::::::::::::::::::::
>
>Please advice.
>
>Steven
>
>
>
--
Colin Sampaleanu
Interface21 Principal Consultant
Spring Training, Consulting and Support - "From the Source"
http://www.springframework.com
|
|
From: Colin S. <col...@ex...> - 2005-07-09 13:02:40
|
Ok, I take that back. Once I added spring-context-1.2.2.jar to the static repository I was able to properly build and publish spring-binding from ant. Erwin did make the spring-binding eclipse project dependent on the spring project, which is a no-no (it shoudl be dependent only on the static jars), so I've backed that out. Also, the numberguess and sellitem SWF samples were not building as for some reason Keith had added spurious (unneeded) dependencies on an older version of Spring. All the SWF samples just need to depend on spring-webflow, and it's transitive dependencies on spring jars pulls in all the needed spring stuff. So everything (spring-binding, spring-webflow, and all the spring web flow samples) should build now, if you follow the steps below. Colin Colin Sampaleanu wrote: > Ok, here's the story. You're trying to build the wrong source. All the > current spring-binding and spring-webflow related stuff is under > spring-projects. The older top-level modules need to be pruned. > > You need to pull out spring-projects, then you can go into > spring-binding and do an > ant publish > to build an integration version of it and publish it to the local > repo, then can go into spring-weblfow and do an > ant dist > or > ant publish > to build that. If you want to build all of spring-webflow including > samples, you can go into build-spring-webflow and do > ant publish > which will build all the spring-webflow related stuff (but not > binding, that's separate). > > That said, this is going to break right now because it looks like > Keith and/or Erwin forgot to check some stuff in. I haven't been in > the soure since early this week, when it was ok, but now there is some > stuff missing. > > I've checked in spring-context-1.2.2.jar in the repo inside > spring-projects, but spring-binding still doesn't build due to an error: > > [javac] Compiling 4 source files to > D:\src\open\spring-colin\spring-projects > \spring-binding\target\classes > [javac] > D:\src\open\spring-colin\spring-projects\spring-binding\src\java\org > \springframework\binding\expression\ExpressionFactory.java:38: cannot > find symbo > l > [javac] symbol : method > isInstanceOf(java.lang.Class,org.springframework.bi > nding.expression.Expression,java.lang.String) > [javac] location: class org.springframework.binding.support.Assert > [javac] Assert.isInstanceOf(PropertyExpression.class, > evaluator, > "The expression evaluator is not a PropertyExpressionEvaluator"); > [javac] ^ > [javac] 1 error > > Without binding, you can't build SWF. I may or may not have time now > to look at this. Depends when the kids wake up :-) > > Colin > > > Steven Devijver wrote: > >> Hi all, >> >> I really need to build SWF ASAP but there seems to be a problem with >> the lib repos, I get 404'ed all the time on a number of libs. This is >> one of the URLs that bounces: >> >> http://www.jayasoft.fr/org/ivyrep/ognl/ognl/ivy-2.7.xml >> >> This is the complete list: >> >> WARN: :::::::::::::::::::::::::::::::::::::::::::::: >> WARN: :: UNRESOLVED DEPENDENCIES :: >> WARN: :::::::::::::::::::::::::::::::::::::::::::::: >> WARN: :: springframework/spring-binding-1.0: not found >> WARN: :: ognl/ognl-2.7: not found >> WARN: :: springframework/spring-ioc-1.2.2: not found >> WARN: :: springframework/spring-core-1.2.2: not found >> WARN: :: springframework/spring-web-1.2.2: not found >> WARN: :: springframework/spring-mock-1.2.1: not found >> WARN: :::::::::::::::::::::::::::::::::::::::::::::: >> >> Please advice. >> >> Steven >> >> >> > > -- Colin Sampaleanu Interface21 Principal Consultant Spring Training, Consulting and Support - "From the Source" http://www.springframework.com |
|
From: Erwin V. <erw...@er...> - 2005-07-09 13:22:37
|
> Erwin did make the spring-binding eclipse project dependent on the spring > project, which is a no-no (it shoudl be dependent only on the static > jars), so I've backed that out. Did I do that??? Anyway, the reason is the have the Spring source code available in the IDE, as we discussed with Keith the other day. Erwin |
|
From: Colin S. <col...@ex...> - 2005-07-09 13:49:21
|
Erwin Vervaet wrote: >> Erwin did make the spring-binding eclipse project dependent on the >> spring project, which is a no-no (it shoudl be dependent only on the >> static jars), so I've backed that out. > > > Did I do that??? > Anyway, the reason is the have the Spring source code available in the > IDE, as we discussed with Keith the other day. > I understand the desire, :-), but tha's not the way to do it since the module builds against a static Spring version, which (as in this case) does not stay in sync with the chaning live source. I'm going to try to work on a setup for getting the sources in there too. Colin -- Colin Sampaleanu Interface21 Principal Consultant Spring Training, Consulting and Support - "From the Source" http://www.springframework.com |
|
From: Erwin V. <erw...@er...> - 2005-07-09 13:25:21
|
> That said, this is going to break right now because it looks like Keith > and/or Erwin forgot to check some stuff in. I haven't been in the soure > since early this week, when it was ok, but now there is some stuff > missing. > > I've checked in spring-context-1.2.2.jar in the repo inside > spring-projects The reason that that jar was not in CVS was because of the heinous CVS error we got the other day (assertion failed...). If you were able to check it in the SF people must have fixed it. Great! Erwin |