I was able to fix the issue by adding the spring-test dependency in the
main dependencies like that:
<dependency org="org.springframework" name="spring-test"
rev="3.1.1.RELEASE" transitive="false">
<include type="jar" />
</dependency>
But after that, still I can't build the project in Eclipse, I get this
error from the Eclipse Ivy plugin:
Some projects fail to be resolved
Failed to configure Ivy for ivy.xml[*] in 3.0.xError while resolving the
ivy instance for ivy.xml[*] in '3.0.x':
Unrecognized variables in the Ivy settings file
${workspace_loc:Openmeetings 3.0.x/ivysettings.xml}
Error while resolving the ivy instance for ivy.xml[*] in '3.0.x':
Unrecognized variables in the Ivy settings file
${workspace_loc:Openmeetings 3.0.x/ivysettings.xml}
Failed to configure Ivy for build/red5/server/ivy.xml[default, java6] in
3.0.xError while resolving the ivy instance for
build/red5/server/ivy.xml[default, java6] in '3.0.x':
Unrecognized variables in the Ivy settings file
${workspace_loc:Openmeetings 3.0.x}/build/red5/server/ivysettings.xml
Error while resolving the ivy instance for
build/red5/server/ivy.xml[default, java6] in '3.0.x':
Unrecognized variables in the Ivy settings file
${workspace_loc:Openmeetings 3.0.x}/build/red5/server/ivysettings.xml
So yeah, I can build the sources now with that fix in the ivy.xml but I
have no idea how to fix the Ivy IDE issues.
Sebastian
2013-12-25 Maxim Solodovnik <[email protected]>:
> Where you able to fix this issue?
>
>
> On Wed, Dec 18, 2013 at 7:36 PM, Maxim Solodovnik <[email protected]
> >wrote:
>
> > Could you please check if you have
> > build/lib/junit/spring-test-jar-3.1.1.RELEASE.jar
> >
> > Additionally what is the output of "svn status" command?
> >
> >
> > On Wed, Dec 18, 2013 at 11:21 AM, [email protected] <
> > [email protected]> wrote:
> >
> >> I am using:
> >>
> >> java version "1.6.0_65"
> >> Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
> >> Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
> >> +
> >> Apache Ant(TM) version 1.9.0 compiled on March 5 2013
> >>
> >> Well that sounds a lot like an environment issue on my Mac, however I
> >> don't
> >> know what else shall be different on my machine.
> >> I also deleted the .m2 and .ivy cache directories manually and rebuild.
> >> But
> >> same error in the end.
> >>
> >> Sebastian
> >>
> >>
> >> 2013/12/18 Vasiliy Degtyarev <[email protected]>
> >>
> >> > Hello,
> >> >
> >> > I have built latest version without error: ANT 1.8.4, java 1.7.
> >> >
> >> > Vasiliy.
> >> >
> >> >
> >> >
> >> > On 18.12.2013 10:17, [email protected] wrote:
> >> >
> >> >> The only difference I see between my env and Jenkins is that I am
> using
> >> >> ANT
> >> >> 1.9.0.
> >> >> I also have Java Version 1.6
> >> >> And there is no dependency error shown for me when Ivy retrieves the
> >> >> libraries.
> >> >> Jenkins does not have ANT 1.9.0 available so I cannot really test
> that.
> >> >>
> >> >> What's your ANT version ?
> >> >>
> >> >> Sebastian
> >> >>
> >> >>
> >> >> 2013/12/18 [email protected] <[email protected]>
> >> >>
> >> >> I even run ant clean.ivy
> >> >>> and then ant -Ddb=mysql -Dwicket.mode=DEVELOPMENT dist
> >> >>>
> >> >>> And still got the same error.
> >> >>>
> >> >>> Sebastian
> >> >>>
> >> >>>
> >> >>> 2013/12/18 Maxim Solodovnik <[email protected]>
> >> >>>
> >> >>> just have checked, works for me as expected
> >> >>>>
> >> >>>>
> >> >>>> On Wed, Dec 18, 2013 at 7:41 AM, Maxim Solodovnik <
> >> [email protected]
> >> >>>>
> >> >>>>> wrote:
> >> >>>>> weird :(
> >> >>>>> perform clean rebuild ~5 times for the last 10 hours, will try to
> >> >>>>>
> >> >>>> perform
> >> >>>>
> >> >>>>> full rebuild right now
> >> >>>>>
> >> >>>>>
> >> >>>>> On Wed, Dec 18, 2013 at 7:37 AM, [email protected] <
> >> >>>>> [email protected]> wrote:
> >> >>>>>
> >> >>>>> Hi,
> >> >>>>>>
> >> >>>>>> I deleted the folder "build" and re-run ant dist or ant dist-bin
> >> >>>>>>
> >> >>>>>> but I always receive the following exception:
> >> >>>>>>
> >> >>>>>> prepare.mkdir:
> >> >>>>>> [echo] Compile main to
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/build/classes/openmeetings
> >> >>>>
> >> >>>>> [javac] Compiling 493 source files to
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/build/classes/openmeetings
> >> >>>>
> >> >>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:26:
> >> >>>>
> >> >>>>> package org.springframework.test.context does not exist
> >> >>>>>> [javac] import
> >> >>>>>>
> >> >>>>> org.springframework.test.context.ContextConfiguration;
> >> >>>>
> >> >>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:27:
> >> >>>>
> >> >>>>> package org.springframework.test.context does not exist
> >> >>>>>> [javac] import
> >> >>>>>> org.springframework.test.context.TestExecutionListeners;
> >> >>>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:28:
> >> >>>>
> >> >>>>> package org.springframework.test.context.junit4 does not exist
> >> >>>>>> [javac] import
> >> >>>>>>
> >> >>>>>> org.springframework.test.context.junit4.
> >> >>>> AbstractJUnit4SpringContextTests;
> >> >>>>
> >> >>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:29:
> >> >>>>
> >> >>>>> package org.springframework.test.context.junit4 does not exist
> >> >>>>>> [javac] import
> >> >>>>>> org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
> >> >>>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:34:
> >> >>>>
> >> >>>>> cannot find symbol
> >> >>>>>> [javac] symbol: class AbstractJUnit4SpringContextTests
> >> >>>>>> [javac] public abstract class AbstractSpringTest extends
> >> >>>>>> AbstractJUnit4SpringContextTests {
> >> >>>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:32:
> >> >>>>
> >> >>>>> cannot find symbol
> >> >>>>>> [javac] symbol: class TestExecutionListeners
> >> >>>>>> [javac] @TestExecutionListeners({})
> >> >>>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:33:
> >> >>>>
> >> >>>>> cannot find symbol
> >> >>>>>> [javac] symbol: class ContextConfiguration
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> @ContextConfiguration(locations={"classpath:openmeetings-
> >> >>>> applicationContext.xml"},
> >> >>>>
> >> >>>>> inheritLocations = true)
> >> >>>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:31:
> >> >>>>
> >> >>>>> cannot find symbol
> >> >>>>>> [javac] symbol: class SpringJUnit4ClassRunner
> >> >>>>>> [javac] @RunWith(SpringJUnit4ClassRunner.class)
> >> >>>>>> [javac] ^
> >> >>>>>> [javac] Note: Starting OpenJPA Annotation Processor for
> >> Metamodel
> >> >>>>>> Generation
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:26:
> >> >>>>
> >> >>>>> package org.springframework.test.context does not exist
> >> >>>>>> [javac] import
> >> >>>>>>
> >> >>>>> org.springframework.test.context.ContextConfiguration;
> >> >>>>
> >> >>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:27:
> >> >>>>
> >> >>>>> package org.springframework.test.context does not exist
> >> >>>>>> [javac] import
> >> >>>>>> org.springframework.test.context.TestExecutionListeners;
> >> >>>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:28:
> >> >>>>
> >> >>>>> package org.springframework.test.context.junit4 does not exist
> >> >>>>>> [javac] import
> >> >>>>>>
> >> >>>>>> org.springframework.test.context.junit4.
> >> >>>> AbstractJUnit4SpringContextTests;
> >> >>>>
> >> >>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:29:
> >> >>>>
> >> >>>>> package org.springframework.test.context.junit4 does not exist
> >> >>>>>> [javac] import
> >> >>>>>> org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
> >> >>>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:34:
> >> >>>>
> >> >>>>> cannot find symbol
> >> >>>>>> [javac] symbol: class AbstractJUnit4SpringContextTests
> >> >>>>>> [javac] public abstract class AbstractSpringTest extends
> >> >>>>>> AbstractJUnit4SpringContextTests {
> >> >>>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:32:
> >> >>>>
> >> >>>>> cannot find symbol
> >> >>>>>> [javac] symbol: class TestExecutionListeners
> >> >>>>>> [javac] @TestExecutionListeners({})
> >> >>>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:33:
> >> >>>>
> >> >>>>> cannot find symbol
> >> >>>>>> [javac] symbol: class ContextConfiguration
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> @ContextConfiguration(locations={"classpath:openmeetings-
> >> >>>> applicationContext.xml"},
> >> >>>>
> >> >>>>> inheritLocations = true)
> >> >>>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:31:
> >> >>>>
> >> >>>>> cannot find symbol
> >> >>>>>> [javac] symbol: class SpringJUnit4ClassRunner
> >> >>>>>> [javac] @RunWith(SpringJUnit4ClassRunner.class)
> >> >>>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:26:
> >> >>>>
> >> >>>>> package org.springframework.test.context does not exist
> >> >>>>>> [javac] import
> >> >>>>>>
> >> >>>>> org.springframework.test.context.ContextConfiguration;
> >> >>>>
> >> >>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:27:
> >> >>>>
> >> >>>>> package org.springframework.test.context does not exist
> >> >>>>>> [javac] import
> >> >>>>>> org.springframework.test.context.TestExecutionListeners;
> >> >>>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:28:
> >> >>>>
> >> >>>>> package org.springframework.test.context.junit4 does not exist
> >> >>>>>> [javac] import
> >> >>>>>>
> >> >>>>>> org.springframework.test.context.junit4.
> >> >>>> AbstractJUnit4SpringContextTests;
> >> >>>>
> >> >>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:29:
> >> >>>>
> >> >>>>> package org.springframework.test.context.junit4 does not exist
> >> >>>>>> [javac] import
> >> >>>>>> org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
> >> >>>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:34:
> >> >>>>
> >> >>>>> cannot find symbol
> >> >>>>>> [javac] symbol: class AbstractJUnit4SpringContextTests
> >> >>>>>> [javac] public abstract class AbstractSpringTest extends
> >> >>>>>> AbstractJUnit4SpringContextTests {
> >> >>>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:32:
> >> >>>>
> >> >>>>> cannot find symbol
> >> >>>>>> [javac] symbol: class TestExecutionListeners
> >> >>>>>> [javac] @TestExecutionListeners({})
> >> >>>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:33:
> >> >>>>
> >> >>>>> cannot find symbol
> >> >>>>>> [javac] symbol: class ContextConfiguration
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> @ContextConfiguration(locations={"classpath:openmeetings-
> >> >>>> applicationContext.xml"},
> >> >>>>
> >> >>>>> inheritLocations = true)
> >> >>>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> AbstractSpringTest.java:31:
> >> >>>>
> >> >>>>> cannot find symbol
> >> >>>>>> [javac] symbol: class SpringJUnit4ClassRunner
> >> >>>>>> [javac] @RunWith(SpringJUnit4ClassRunner.class)
> >> >>>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> selenium/AbstractTestDefaults.java:126:
> >> >>>>
> >> >>>>> cannot find symbol
> >> >>>>>> [javac] symbol : method getClass()
> >> >>>>>> [javac] location: class
> >> >>>>>> org.apache.openmeetings.test.selenium.AbstractTestDefaults
> >> >>>>>> [javac]
> >> >>>>>> SeleniumUtils.makeScreenShot(this.getClass().getSimpleName(), e,
> >> >>>>>> [javac] ^
> >> >>>>>> [javac]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> /Users/swagner/Documents/workspaces/openmeetings2/
> >> >>>> Openmeetings/src/test/java/org/apache/openmeetings/test/
> >> >>>> selenium/TestSignUp.java:115:
> >> >>>>
> >> >>>>> cannot find symbol
> >> >>>>>> [javac] symbol : method getClass()
> >> >>>>>> [javac] location: class
> >> >>>>>> org.apache.openmeetings.test.selenium.TestSignUp
> >> >>>>>> [javac]
> >> >>>>>> SeleniumUtils.makeScreenShot(this.getClass().getSimpleName(), e,
> >> >>>>>> [javac] ^
> >> >>>>>> [javac] Note: Some input files use or override a deprecated
> >> API.
> >> >>>>>> [javac] Note: Recompile with -Xlint:deprecation for details.
> >> >>>>>> [javac] 10 errors
> >> >>>>>>
> >> >>>>>> --
> >> >>>>>> Sebastian Wagner
> >> >>>>>> https://twitter.com/#!/dead_lock
> >> >>>>>> http://www.webbase-design.de
> >> >>>>>> http://www.wagner-sebastian.com
> >> >>>>>> [email protected]
> >> >>>>>>
> >> >>>>>>
> >> >>>>>
> >> >>>>> --
> >> >>>>> WBR
> >> >>>>> Maxim aka solomax
> >> >>>>>
> >> >>>>>
> >> >>>>
> >> >>>> --
> >> >>>> WBR
> >> >>>> Maxim aka solomax
> >> >>>>
> >> >>>>
> >> >>>
> >> >>> --
> >> >>> Sebastian Wagner
> >> >>> https://twitter.com/#!/dead_lock
> >> >>> http://www.webbase-design.de
> >> >>> http://www.wagner-sebastian.com
> >> >>> [email protected]
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >
> >>
> >>
> >> --
> >> Sebastian Wagner
> >> https://twitter.com/#!/dead_lock
> >> http://www.webbase-design.de
> >> http://www.wagner-sebastian.com
> >> [email protected]
> >>
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>
--
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
[email protected]