You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by "seba.wagner@gmail.com" <se...@gmail.com> on 2013/12/18 01:37:05 UTC

Exception when build trunk "package org.springframework.test.context does not exist"

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
seba.wagner@gmail.com

Re: Exception when build trunk "package org.springframework.test.context does not exist"

Posted by Maxim Solodovnik <so...@gmail.com>.
If you open .project file with text editor you will see:
"<name>Openmeetings 3.0.x</name>"
This name is referenced in ivy configuration in .classpath file


On Fri, Feb 7, 2014 at 10:12 AM, seba.wagner@gmail.com <
seba.wagner@gmail.com> wrote:

> The name of the eclipse project was also 3.0.x
> Maybe that was the reason why.
>
>
> 2014-02-07 16:09 GMT+13:00 Maxim Solodovnik <so...@gmail.com>:
>
> > Hello Sebastian,
> >
> > I'm currently using eclipse.4.3.1 with latest IvyDE (available on Apache
> > IvyDE update site)
> > jdk 1.7 (21, 45, 51)
> > ant 1.9.2
> >
> > my folder tree looks like follows:
> > /home/solomax/work/openmeetings/branches/3.0.x
> >
> > "Openmeetings 3.0.x" is the name of the Eclipse project (has nothing in
> > common with folder structure)
> >
> > I'm not sure what can be done here :(
> > I can pack my eclipse with svn and ivy cache and send it to you, but I'm
> > almost 100% sure it will not work for you (file are located in different
> > places in Ubuntu and Mac OS X :( )
> >
> > I guess this investigation might be stopped since you already have
> > workaround, and everything works as expected for everybody else
> >
> >
> >
> >
> > On Fri, Feb 7, 2014 at 9:31 AM, seba.wagner@gmail.com <
> > seba.wagner@gmail.com
> > > wrote:
> >
> > > I think I was able to resolve the building issues from Eclipse.
> > > The issue is that the checked out folder name has to be "Openmeetings
> > > 3.0.x"
> > > So you have to use:
> > > svn checkout
> > >
> >
> https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x/'Openmeetings
> > > 3.0.x'
> > >
> > > instead of: svn checkout
> > > https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x/ (that
> > would
> > > create a folder called 3.0.x)
> > >
> > > Somehow there is something compiled into the ivy.settings file that
> > points
> > > to a dir called "Openmeetings 3.0.x".
> > >
> > > Sebastian
> > >
> > >
> > >
> > > 2014-02-07 13:56 GMT+13:00 seba.wagner@gmail.com <
> seba.wagner@gmail.com
> > >:
> > >
> > > > What is your Eclipse and Ivy IDE version ?
> > > > It seems like Ivy in general behaves differently in my env.
> > > > Ivy IDE has an issue with the ivy.settings from the red5 project
> (cause
> > > > workspace_loc reference cannot be resolved). That is why Eclipse
> cannot
> > > > build the project.
> > > > And the ant build fails because the spring-test dependency is not
> > > resolved
> > > > when compiling the main project.
> > > >
> > > > Sebastian
> > > >
> > > >
> > > >
> > > >
> > > > 2014-02-07 8:11 GMT+13:00 seba.wagner@gmail.com <
> seba.wagner@gmail.com
> > >:
> > > >
> > > > Hi Maxim,
> > > >>
> > > >> it is just "ant prepare-eclipse" without the dist. And I have done
> > that.
> > > >> It does not fix it for me.
> > > >>
> > > >> "spring-test library is already in ivy.xml"
> > > >> => I know but somehow it is only attached to the conf "test->".
> > Somehow
> > > >> my Ivy version or Ant did not recognize that and did not resolve
> that
> > > >> dependency when building the code.
> > > >>
> > > >> Sebastian
> > > >>
> > > >>
> > > >> 2014-02-06 20:40 GMT+13:00 Maxim Solodovnik <so...@gmail.com>:
> > > >>
> > > >> spring-test library is already in ivy.xml
> > > >>>
> > > >>> you need to run "ant dist prepare-eclipse" before opening project
> in
> > > >>> eclipse
> > > >>>
> > > >>>
> > > >>> On Thu, Feb 6, 2014 at 12:24 PM, seba.wagner@gmail.com <
> > > >>> seba.wagner@gmail.com> wrote:
> > > >>>
> > > >>> > 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 <so...@gmail.com>:
> > > >>> >
> > > >>> > > Where you able to fix this issue?
> > > >>> > >
> > > >>> > >
> > > >>> > > On Wed, Dec 18, 2013 at 7:36 PM, Maxim Solodovnik <
> > > >>> solomax666@gmail.com
> > > >>> > > >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, seba.wagner@gmail.com <
> > > >>> > > > seba.wagner@gmail.com> 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 <va...@unipro.ru>
> > > >>> > > >>
> > > >>> > > >> > Hello,
> > > >>> > > >> >
> > > >>> > > >> > I have built latest version without error: ANT 1.8.4, java
> > > 1.7.
> > > >>> > > >> >
> > > >>> > > >> > Vasiliy.
> > > >>> > > >> >
> > > >>> > > >> >
> > > >>> > > >> >
> > > >>> > > >> > On 18.12.2013 10:17, seba.wagner@gmail.com 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 seba.wagner@gmail.com <se...@gmail.com>
> > > >>> > > >> >>
> > > >>> > > >> >>  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 <so...@gmail.com>
> > > >>> > > >> >>>
> > > >>> > > >> >>>  just have checked, works for me as expected
> > > >>> > > >> >>>>
> > > >>> > > >> >>>>
> > > >>> > > >> >>>> On Wed, Dec 18, 2013 at 7:41 AM, Maxim Solodovnik <
> > > >>> > > >> solomax666@gmail.com
> > > >>> > > >> >>>>
> > > >>> > > >> >>>>> 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,
> seba.wagner@gmail.com<
> > > >>> > > >> >>>>> seba.wagner@gmail.com> 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
> > > >>> > > >> >>>>>> seba.wagner@gmail.com
> > > >>> > > >> >>>>>>
> > > >>> > > >> >>>>>>
> > > >>> > > >> >>>>>
> > > >>> > > >> >>>>> --
> > > >>> > > >> >>>>> 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
> > > >>> > > >> >>> seba.wagner@gmail.com
> > > >>> > > >> >>>
> > > >>> > > >> >>>
> > > >>> > > >> >>
> > > >>> > > >> >>
> > > >>> > > >> >
> > > >>> > > >>
> > > >>> > > >>
> > > >>> > > >> --
> > > >>> > > >> Sebastian Wagner
> > > >>> > > >> https://twitter.com/#!/dead_lock
> > > >>> > > >> http://www.webbase-design.de
> > > >>> > > >> http://www.wagner-sebastian.com
> > > >>> > > >> seba.wagner@gmail.com
> > > >>> > > >>
> > > >>> > > >
> > > >>> > > >
> > > >>> > > >
> > > >>> > > > --
> > > >>> > > > 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
> > > >>> > seba.wagner@gmail.com
> > > >>> >
> > > >>>
> > > >>>
> > > >>>
> > > >>> --
> > > >>> WBR
> > > >>> Maxim aka solomax
> > > >>>
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> Sebastian Wagner
> > > >> https://twitter.com/#!/dead_lock
> > > >> http://www.webbase-design.de
> > > >> http://www.wagner-sebastian.com
> > > >> seba.wagner@gmail.com
> > > >>
> > > >
> > > >
> > > >
> > > > --
> > > > Sebastian Wagner
> > > > https://twitter.com/#!/dead_lock
> > > > http://www.webbase-design.de
> > > > http://www.wagner-sebastian.com
> > > > seba.wagner@gmail.com
> > > >
> > >
> > >
> > >
> > > --
> > > Sebastian Wagner
> > > https://twitter.com/#!/dead_lock
> > > http://www.webbase-design.de
> > > http://www.wagner-sebastian.com
> > > seba.wagner@gmail.com
> > >
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>



-- 
WBR
Maxim aka solomax

Re: Exception when build trunk "package org.springframework.test.context does not exist"

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
The name of the eclipse project was also 3.0.x
Maybe that was the reason why.


2014-02-07 16:09 GMT+13:00 Maxim Solodovnik <so...@gmail.com>:

> Hello Sebastian,
>
> I'm currently using eclipse.4.3.1 with latest IvyDE (available on Apache
> IvyDE update site)
> jdk 1.7 (21, 45, 51)
> ant 1.9.2
>
> my folder tree looks like follows:
> /home/solomax/work/openmeetings/branches/3.0.x
>
> "Openmeetings 3.0.x" is the name of the Eclipse project (has nothing in
> common with folder structure)
>
> I'm not sure what can be done here :(
> I can pack my eclipse with svn and ivy cache and send it to you, but I'm
> almost 100% sure it will not work for you (file are located in different
> places in Ubuntu and Mac OS X :( )
>
> I guess this investigation might be stopped since you already have
> workaround, and everything works as expected for everybody else
>
>
>
>
> On Fri, Feb 7, 2014 at 9:31 AM, seba.wagner@gmail.com <
> seba.wagner@gmail.com
> > wrote:
>
> > I think I was able to resolve the building issues from Eclipse.
> > The issue is that the checked out folder name has to be "Openmeetings
> > 3.0.x"
> > So you have to use:
> > svn checkout
> >
> https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x/'Openmeetings
> > 3.0.x'
> >
> > instead of: svn checkout
> > https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x/ (that
> would
> > create a folder called 3.0.x)
> >
> > Somehow there is something compiled into the ivy.settings file that
> points
> > to a dir called "Openmeetings 3.0.x".
> >
> > Sebastian
> >
> >
> >
> > 2014-02-07 13:56 GMT+13:00 seba.wagner@gmail.com <seba.wagner@gmail.com
> >:
> >
> > > What is your Eclipse and Ivy IDE version ?
> > > It seems like Ivy in general behaves differently in my env.
> > > Ivy IDE has an issue with the ivy.settings from the red5 project (cause
> > > workspace_loc reference cannot be resolved). That is why Eclipse cannot
> > > build the project.
> > > And the ant build fails because the spring-test dependency is not
> > resolved
> > > when compiling the main project.
> > >
> > > Sebastian
> > >
> > >
> > >
> > >
> > > 2014-02-07 8:11 GMT+13:00 seba.wagner@gmail.com <seba.wagner@gmail.com
> >:
> > >
> > > Hi Maxim,
> > >>
> > >> it is just "ant prepare-eclipse" without the dist. And I have done
> that.
> > >> It does not fix it for me.
> > >>
> > >> "spring-test library is already in ivy.xml"
> > >> => I know but somehow it is only attached to the conf "test->".
> Somehow
> > >> my Ivy version or Ant did not recognize that and did not resolve that
> > >> dependency when building the code.
> > >>
> > >> Sebastian
> > >>
> > >>
> > >> 2014-02-06 20:40 GMT+13:00 Maxim Solodovnik <so...@gmail.com>:
> > >>
> > >> spring-test library is already in ivy.xml
> > >>>
> > >>> you need to run "ant dist prepare-eclipse" before opening project in
> > >>> eclipse
> > >>>
> > >>>
> > >>> On Thu, Feb 6, 2014 at 12:24 PM, seba.wagner@gmail.com <
> > >>> seba.wagner@gmail.com> wrote:
> > >>>
> > >>> > 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 <so...@gmail.com>:
> > >>> >
> > >>> > > Where you able to fix this issue?
> > >>> > >
> > >>> > >
> > >>> > > On Wed, Dec 18, 2013 at 7:36 PM, Maxim Solodovnik <
> > >>> solomax666@gmail.com
> > >>> > > >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, seba.wagner@gmail.com <
> > >>> > > > seba.wagner@gmail.com> 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 <va...@unipro.ru>
> > >>> > > >>
> > >>> > > >> > Hello,
> > >>> > > >> >
> > >>> > > >> > I have built latest version without error: ANT 1.8.4, java
> > 1.7.
> > >>> > > >> >
> > >>> > > >> > Vasiliy.
> > >>> > > >> >
> > >>> > > >> >
> > >>> > > >> >
> > >>> > > >> > On 18.12.2013 10:17, seba.wagner@gmail.com 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 seba.wagner@gmail.com <se...@gmail.com>
> > >>> > > >> >>
> > >>> > > >> >>  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 <so...@gmail.com>
> > >>> > > >> >>>
> > >>> > > >> >>>  just have checked, works for me as expected
> > >>> > > >> >>>>
> > >>> > > >> >>>>
> > >>> > > >> >>>> On Wed, Dec 18, 2013 at 7:41 AM, Maxim Solodovnik <
> > >>> > > >> solomax666@gmail.com
> > >>> > > >> >>>>
> > >>> > > >> >>>>> 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, seba.wagner@gmail.com<
> > >>> > > >> >>>>> seba.wagner@gmail.com> 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
> > >>> > > >> >>>>>> seba.wagner@gmail.com
> > >>> > > >> >>>>>>
> > >>> > > >> >>>>>>
> > >>> > > >> >>>>>
> > >>> > > >> >>>>> --
> > >>> > > >> >>>>> 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
> > >>> > > >> >>> seba.wagner@gmail.com
> > >>> > > >> >>>
> > >>> > > >> >>>
> > >>> > > >> >>
> > >>> > > >> >>
> > >>> > > >> >
> > >>> > > >>
> > >>> > > >>
> > >>> > > >> --
> > >>> > > >> Sebastian Wagner
> > >>> > > >> https://twitter.com/#!/dead_lock
> > >>> > > >> http://www.webbase-design.de
> > >>> > > >> http://www.wagner-sebastian.com
> > >>> > > >> seba.wagner@gmail.com
> > >>> > > >>
> > >>> > > >
> > >>> > > >
> > >>> > > >
> > >>> > > > --
> > >>> > > > 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
> > >>> > seba.wagner@gmail.com
> > >>> >
> > >>>
> > >>>
> > >>>
> > >>> --
> > >>> WBR
> > >>> Maxim aka solomax
> > >>>
> > >>
> > >>
> > >>
> > >> --
> > >> Sebastian Wagner
> > >> https://twitter.com/#!/dead_lock
> > >> http://www.webbase-design.de
> > >> http://www.wagner-sebastian.com
> > >> seba.wagner@gmail.com
> > >>
> > >
> > >
> > >
> > > --
> > > Sebastian Wagner
> > > https://twitter.com/#!/dead_lock
> > > http://www.webbase-design.de
> > > http://www.wagner-sebastian.com
> > > seba.wagner@gmail.com
> > >
> >
> >
> >
> > --
> > Sebastian Wagner
> > https://twitter.com/#!/dead_lock
> > http://www.webbase-design.de
> > http://www.wagner-sebastian.com
> > seba.wagner@gmail.com
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Exception when build trunk "package org.springframework.test.context does not exist"

Posted by Maxim Solodovnik <so...@gmail.com>.
Hello Sebastian,

I'm currently using eclipse.4.3.1 with latest IvyDE (available on Apache
IvyDE update site)
jdk 1.7 (21, 45, 51)
ant 1.9.2

my folder tree looks like follows:
/home/solomax/work/openmeetings/branches/3.0.x

"Openmeetings 3.0.x" is the name of the Eclipse project (has nothing in
common with folder structure)

I'm not sure what can be done here :(
I can pack my eclipse with svn and ivy cache and send it to you, but I'm
almost 100% sure it will not work for you (file are located in different
places in Ubuntu and Mac OS X :( )

I guess this investigation might be stopped since you already have
workaround, and everything works as expected for everybody else




On Fri, Feb 7, 2014 at 9:31 AM, seba.wagner@gmail.com <seba.wagner@gmail.com
> wrote:

> I think I was able to resolve the building issues from Eclipse.
> The issue is that the checked out folder name has to be "Openmeetings
> 3.0.x"
> So you have to use:
> svn checkout
> https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x/'Openmeetings
> 3.0.x'
>
> instead of: svn checkout
> https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x/ (that would
> create a folder called 3.0.x)
>
> Somehow there is something compiled into the ivy.settings file that points
> to a dir called "Openmeetings 3.0.x".
>
> Sebastian
>
>
>
> 2014-02-07 13:56 GMT+13:00 seba.wagner@gmail.com <se...@gmail.com>:
>
> > What is your Eclipse and Ivy IDE version ?
> > It seems like Ivy in general behaves differently in my env.
> > Ivy IDE has an issue with the ivy.settings from the red5 project (cause
> > workspace_loc reference cannot be resolved). That is why Eclipse cannot
> > build the project.
> > And the ant build fails because the spring-test dependency is not
> resolved
> > when compiling the main project.
> >
> > Sebastian
> >
> >
> >
> >
> > 2014-02-07 8:11 GMT+13:00 seba.wagner@gmail.com <se...@gmail.com>:
> >
> > Hi Maxim,
> >>
> >> it is just "ant prepare-eclipse" without the dist. And I have done that.
> >> It does not fix it for me.
> >>
> >> "spring-test library is already in ivy.xml"
> >> => I know but somehow it is only attached to the conf "test->". Somehow
> >> my Ivy version or Ant did not recognize that and did not resolve that
> >> dependency when building the code.
> >>
> >> Sebastian
> >>
> >>
> >> 2014-02-06 20:40 GMT+13:00 Maxim Solodovnik <so...@gmail.com>:
> >>
> >> spring-test library is already in ivy.xml
> >>>
> >>> you need to run "ant dist prepare-eclipse" before opening project in
> >>> eclipse
> >>>
> >>>
> >>> On Thu, Feb 6, 2014 at 12:24 PM, seba.wagner@gmail.com <
> >>> seba.wagner@gmail.com> wrote:
> >>>
> >>> > 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 <so...@gmail.com>:
> >>> >
> >>> > > Where you able to fix this issue?
> >>> > >
> >>> > >
> >>> > > On Wed, Dec 18, 2013 at 7:36 PM, Maxim Solodovnik <
> >>> solomax666@gmail.com
> >>> > > >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, seba.wagner@gmail.com <
> >>> > > > seba.wagner@gmail.com> 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 <va...@unipro.ru>
> >>> > > >>
> >>> > > >> > Hello,
> >>> > > >> >
> >>> > > >> > I have built latest version without error: ANT 1.8.4, java
> 1.7.
> >>> > > >> >
> >>> > > >> > Vasiliy.
> >>> > > >> >
> >>> > > >> >
> >>> > > >> >
> >>> > > >> > On 18.12.2013 10:17, seba.wagner@gmail.com 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 seba.wagner@gmail.com <se...@gmail.com>
> >>> > > >> >>
> >>> > > >> >>  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 <so...@gmail.com>
> >>> > > >> >>>
> >>> > > >> >>>  just have checked, works for me as expected
> >>> > > >> >>>>
> >>> > > >> >>>>
> >>> > > >> >>>> On Wed, Dec 18, 2013 at 7:41 AM, Maxim Solodovnik <
> >>> > > >> solomax666@gmail.com
> >>> > > >> >>>>
> >>> > > >> >>>>> 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, seba.wagner@gmail.com <
> >>> > > >> >>>>> seba.wagner@gmail.com> 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
> >>> > > >> >>>>>> seba.wagner@gmail.com
> >>> > > >> >>>>>>
> >>> > > >> >>>>>>
> >>> > > >> >>>>>
> >>> > > >> >>>>> --
> >>> > > >> >>>>> 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
> >>> > > >> >>> seba.wagner@gmail.com
> >>> > > >> >>>
> >>> > > >> >>>
> >>> > > >> >>
> >>> > > >> >>
> >>> > > >> >
> >>> > > >>
> >>> > > >>
> >>> > > >> --
> >>> > > >> Sebastian Wagner
> >>> > > >> https://twitter.com/#!/dead_lock
> >>> > > >> http://www.webbase-design.de
> >>> > > >> http://www.wagner-sebastian.com
> >>> > > >> seba.wagner@gmail.com
> >>> > > >>
> >>> > > >
> >>> > > >
> >>> > > >
> >>> > > > --
> >>> > > > 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
> >>> > seba.wagner@gmail.com
> >>> >
> >>>
> >>>
> >>>
> >>> --
> >>> WBR
> >>> Maxim aka solomax
> >>>
> >>
> >>
> >>
> >> --
> >> Sebastian Wagner
> >> https://twitter.com/#!/dead_lock
> >> http://www.webbase-design.de
> >> http://www.wagner-sebastian.com
> >> seba.wagner@gmail.com
> >>
> >
> >
> >
> > --
> > Sebastian Wagner
> > https://twitter.com/#!/dead_lock
> > http://www.webbase-design.de
> > http://www.wagner-sebastian.com
> > seba.wagner@gmail.com
> >
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>



-- 
WBR
Maxim aka solomax

Re: Exception when build trunk "package org.springframework.test.context does not exist"

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
I think I was able to resolve the building issues from Eclipse.
The issue is that the checked out folder name has to be "Openmeetings 3.0.x"
So you have to use:
svn checkout https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x/'Openmeetings
3.0.x'

instead of: svn checkout
https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x/ (that would
create a folder called 3.0.x)

Somehow there is something compiled into the ivy.settings file that points
to a dir called "Openmeetings 3.0.x".

Sebastian



2014-02-07 13:56 GMT+13:00 seba.wagner@gmail.com <se...@gmail.com>:

> What is your Eclipse and Ivy IDE version ?
> It seems like Ivy in general behaves differently in my env.
> Ivy IDE has an issue with the ivy.settings from the red5 project (cause
> workspace_loc reference cannot be resolved). That is why Eclipse cannot
> build the project.
> And the ant build fails because the spring-test dependency is not resolved
> when compiling the main project.
>
> Sebastian
>
>
>
>
> 2014-02-07 8:11 GMT+13:00 seba.wagner@gmail.com <se...@gmail.com>:
>
> Hi Maxim,
>>
>> it is just "ant prepare-eclipse" without the dist. And I have done that.
>> It does not fix it for me.
>>
>> "spring-test library is already in ivy.xml"
>> => I know but somehow it is only attached to the conf "test->". Somehow
>> my Ivy version or Ant did not recognize that and did not resolve that
>> dependency when building the code.
>>
>> Sebastian
>>
>>
>> 2014-02-06 20:40 GMT+13:00 Maxim Solodovnik <so...@gmail.com>:
>>
>> spring-test library is already in ivy.xml
>>>
>>> you need to run "ant dist prepare-eclipse" before opening project in
>>> eclipse
>>>
>>>
>>> On Thu, Feb 6, 2014 at 12:24 PM, seba.wagner@gmail.com <
>>> seba.wagner@gmail.com> wrote:
>>>
>>> > 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 <so...@gmail.com>:
>>> >
>>> > > Where you able to fix this issue?
>>> > >
>>> > >
>>> > > On Wed, Dec 18, 2013 at 7:36 PM, Maxim Solodovnik <
>>> solomax666@gmail.com
>>> > > >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, seba.wagner@gmail.com <
>>> > > > seba.wagner@gmail.com> 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 <va...@unipro.ru>
>>> > > >>
>>> > > >> > Hello,
>>> > > >> >
>>> > > >> > I have built latest version without error: ANT 1.8.4, java 1.7.
>>> > > >> >
>>> > > >> > Vasiliy.
>>> > > >> >
>>> > > >> >
>>> > > >> >
>>> > > >> > On 18.12.2013 10:17, seba.wagner@gmail.com 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 seba.wagner@gmail.com <se...@gmail.com>
>>> > > >> >>
>>> > > >> >>  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 <so...@gmail.com>
>>> > > >> >>>
>>> > > >> >>>  just have checked, works for me as expected
>>> > > >> >>>>
>>> > > >> >>>>
>>> > > >> >>>> On Wed, Dec 18, 2013 at 7:41 AM, Maxim Solodovnik <
>>> > > >> solomax666@gmail.com
>>> > > >> >>>>
>>> > > >> >>>>> 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, seba.wagner@gmail.com <
>>> > > >> >>>>> seba.wagner@gmail.com> 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
>>> > > >> >>>>>> seba.wagner@gmail.com
>>> > > >> >>>>>>
>>> > > >> >>>>>>
>>> > > >> >>>>>
>>> > > >> >>>>> --
>>> > > >> >>>>> 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
>>> > > >> >>> seba.wagner@gmail.com
>>> > > >> >>>
>>> > > >> >>>
>>> > > >> >>
>>> > > >> >>
>>> > > >> >
>>> > > >>
>>> > > >>
>>> > > >> --
>>> > > >> Sebastian Wagner
>>> > > >> https://twitter.com/#!/dead_lock
>>> > > >> http://www.webbase-design.de
>>> > > >> http://www.wagner-sebastian.com
>>> > > >> seba.wagner@gmail.com
>>> > > >>
>>> > > >
>>> > > >
>>> > > >
>>> > > > --
>>> > > > 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
>>> > seba.wagner@gmail.com
>>> >
>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>>
>> --
>> Sebastian Wagner
>> https://twitter.com/#!/dead_lock
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> seba.wagner@gmail.com
>>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Exception when build trunk "package org.springframework.test.context does not exist"

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
What is your Eclipse and Ivy IDE version ?
It seems like Ivy in general behaves differently in my env.
Ivy IDE has an issue with the ivy.settings from the red5 project (cause
workspace_loc reference cannot be resolved). That is why Eclipse cannot
build the project.
And the ant build fails because the spring-test dependency is not resolved
when compiling the main project.

Sebastian




2014-02-07 8:11 GMT+13:00 seba.wagner@gmail.com <se...@gmail.com>:

> Hi Maxim,
>
> it is just "ant prepare-eclipse" without the dist. And I have done that.
> It does not fix it for me.
>
> "spring-test library is already in ivy.xml"
> => I know but somehow it is only attached to the conf "test->". Somehow my
> Ivy version or Ant did not recognize that and did not resolve that
> dependency when building the code.
>
> Sebastian
>
>
> 2014-02-06 20:40 GMT+13:00 Maxim Solodovnik <so...@gmail.com>:
>
> spring-test library is already in ivy.xml
>>
>> you need to run "ant dist prepare-eclipse" before opening project in
>> eclipse
>>
>>
>> On Thu, Feb 6, 2014 at 12:24 PM, seba.wagner@gmail.com <
>> seba.wagner@gmail.com> wrote:
>>
>> > 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 <so...@gmail.com>:
>> >
>> > > Where you able to fix this issue?
>> > >
>> > >
>> > > On Wed, Dec 18, 2013 at 7:36 PM, Maxim Solodovnik <
>> solomax666@gmail.com
>> > > >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, seba.wagner@gmail.com <
>> > > > seba.wagner@gmail.com> 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 <va...@unipro.ru>
>> > > >>
>> > > >> > Hello,
>> > > >> >
>> > > >> > I have built latest version without error: ANT 1.8.4, java 1.7.
>> > > >> >
>> > > >> > Vasiliy.
>> > > >> >
>> > > >> >
>> > > >> >
>> > > >> > On 18.12.2013 10:17, seba.wagner@gmail.com 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 seba.wagner@gmail.com <se...@gmail.com>
>> > > >> >>
>> > > >> >>  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 <so...@gmail.com>
>> > > >> >>>
>> > > >> >>>  just have checked, works for me as expected
>> > > >> >>>>
>> > > >> >>>>
>> > > >> >>>> On Wed, Dec 18, 2013 at 7:41 AM, Maxim Solodovnik <
>> > > >> solomax666@gmail.com
>> > > >> >>>>
>> > > >> >>>>> 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, seba.wagner@gmail.com <
>> > > >> >>>>> seba.wagner@gmail.com> 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
>> > > >> >>>>>> seba.wagner@gmail.com
>> > > >> >>>>>>
>> > > >> >>>>>>
>> > > >> >>>>>
>> > > >> >>>>> --
>> > > >> >>>>> 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
>> > > >> >>> seba.wagner@gmail.com
>> > > >> >>>
>> > > >> >>>
>> > > >> >>
>> > > >> >>
>> > > >> >
>> > > >>
>> > > >>
>> > > >> --
>> > > >> Sebastian Wagner
>> > > >> https://twitter.com/#!/dead_lock
>> > > >> http://www.webbase-design.de
>> > > >> http://www.wagner-sebastian.com
>> > > >> seba.wagner@gmail.com
>> > > >>
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > 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
>> > seba.wagner@gmail.com
>> >
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Exception when build trunk "package org.springframework.test.context does not exist"

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
Hi Maxim,

it is just "ant prepare-eclipse" without the dist. And I have done that. It
does not fix it for me.

"spring-test library is already in ivy.xml"
=> I know but somehow it is only attached to the conf "test->". Somehow my
Ivy version or Ant did not recognize that and did not resolve that
dependency when building the code.

Sebastian


2014-02-06 20:40 GMT+13:00 Maxim Solodovnik <so...@gmail.com>:

> spring-test library is already in ivy.xml
>
> you need to run "ant dist prepare-eclipse" before opening project in
> eclipse
>
>
> On Thu, Feb 6, 2014 at 12:24 PM, seba.wagner@gmail.com <
> seba.wagner@gmail.com> wrote:
>
> > 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 <so...@gmail.com>:
> >
> > > Where you able to fix this issue?
> > >
> > >
> > > On Wed, Dec 18, 2013 at 7:36 PM, Maxim Solodovnik <
> solomax666@gmail.com
> > > >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, seba.wagner@gmail.com <
> > > > seba.wagner@gmail.com> 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 <va...@unipro.ru>
> > > >>
> > > >> > Hello,
> > > >> >
> > > >> > I have built latest version without error: ANT 1.8.4, java 1.7.
> > > >> >
> > > >> > Vasiliy.
> > > >> >
> > > >> >
> > > >> >
> > > >> > On 18.12.2013 10:17, seba.wagner@gmail.com 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 seba.wagner@gmail.com <se...@gmail.com>
> > > >> >>
> > > >> >>  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 <so...@gmail.com>
> > > >> >>>
> > > >> >>>  just have checked, works for me as expected
> > > >> >>>>
> > > >> >>>>
> > > >> >>>> On Wed, Dec 18, 2013 at 7:41 AM, Maxim Solodovnik <
> > > >> solomax666@gmail.com
> > > >> >>>>
> > > >> >>>>> 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, seba.wagner@gmail.com <
> > > >> >>>>> seba.wagner@gmail.com> 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
> > > >> >>>>>> seba.wagner@gmail.com
> > > >> >>>>>>
> > > >> >>>>>>
> > > >> >>>>>
> > > >> >>>>> --
> > > >> >>>>> 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
> > > >> >>> seba.wagner@gmail.com
> > > >> >>>
> > > >> >>>
> > > >> >>
> > > >> >>
> > > >> >
> > > >>
> > > >>
> > > >> --
> > > >> Sebastian Wagner
> > > >> https://twitter.com/#!/dead_lock
> > > >> http://www.webbase-design.de
> > > >> http://www.wagner-sebastian.com
> > > >> seba.wagner@gmail.com
> > > >>
> > > >
> > > >
> > > >
> > > > --
> > > > 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
> > seba.wagner@gmail.com
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Exception when build trunk "package org.springframework.test.context does not exist"

Posted by Maxim Solodovnik <so...@gmail.com>.
spring-test library is already in ivy.xml

you need to run "ant dist prepare-eclipse" before opening project in eclipse


On Thu, Feb 6, 2014 at 12:24 PM, seba.wagner@gmail.com <
seba.wagner@gmail.com> wrote:

> 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 <so...@gmail.com>:
>
> > Where you able to fix this issue?
> >
> >
> > On Wed, Dec 18, 2013 at 7:36 PM, Maxim Solodovnik <solomax666@gmail.com
> > >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, seba.wagner@gmail.com <
> > > seba.wagner@gmail.com> 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 <va...@unipro.ru>
> > >>
> > >> > Hello,
> > >> >
> > >> > I have built latest version without error: ANT 1.8.4, java 1.7.
> > >> >
> > >> > Vasiliy.
> > >> >
> > >> >
> > >> >
> > >> > On 18.12.2013 10:17, seba.wagner@gmail.com 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 seba.wagner@gmail.com <se...@gmail.com>
> > >> >>
> > >> >>  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 <so...@gmail.com>
> > >> >>>
> > >> >>>  just have checked, works for me as expected
> > >> >>>>
> > >> >>>>
> > >> >>>> On Wed, Dec 18, 2013 at 7:41 AM, Maxim Solodovnik <
> > >> solomax666@gmail.com
> > >> >>>>
> > >> >>>>> 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, seba.wagner@gmail.com <
> > >> >>>>> seba.wagner@gmail.com> 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
> > >> >>>>>> seba.wagner@gmail.com
> > >> >>>>>>
> > >> >>>>>>
> > >> >>>>>
> > >> >>>>> --
> > >> >>>>> 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
> > >> >>> seba.wagner@gmail.com
> > >> >>>
> > >> >>>
> > >> >>
> > >> >>
> > >> >
> > >>
> > >>
> > >> --
> > >> Sebastian Wagner
> > >> https://twitter.com/#!/dead_lock
> > >> http://www.webbase-design.de
> > >> http://www.wagner-sebastian.com
> > >> seba.wagner@gmail.com
> > >>
> > >
> > >
> > >
> > > --
> > > 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
> seba.wagner@gmail.com
>



-- 
WBR
Maxim aka solomax

Re: Exception when build trunk "package org.springframework.test.context does not exist"

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
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 <so...@gmail.com>:

> Where you able to fix this issue?
>
>
> On Wed, Dec 18, 2013 at 7:36 PM, Maxim Solodovnik <solomax666@gmail.com
> >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, seba.wagner@gmail.com <
> > seba.wagner@gmail.com> 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 <va...@unipro.ru>
> >>
> >> > Hello,
> >> >
> >> > I have built latest version without error: ANT 1.8.4, java 1.7.
> >> >
> >> > Vasiliy.
> >> >
> >> >
> >> >
> >> > On 18.12.2013 10:17, seba.wagner@gmail.com 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 seba.wagner@gmail.com <se...@gmail.com>
> >> >>
> >> >>  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 <so...@gmail.com>
> >> >>>
> >> >>>  just have checked, works for me as expected
> >> >>>>
> >> >>>>
> >> >>>> On Wed, Dec 18, 2013 at 7:41 AM, Maxim Solodovnik <
> >> solomax666@gmail.com
> >> >>>>
> >> >>>>> 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, seba.wagner@gmail.com <
> >> >>>>> seba.wagner@gmail.com> 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
> >> >>>>>> seba.wagner@gmail.com
> >> >>>>>>
> >> >>>>>>
> >> >>>>>
> >> >>>>> --
> >> >>>>> 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
> >> >>> seba.wagner@gmail.com
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >
> >>
> >>
> >> --
> >> Sebastian Wagner
> >> https://twitter.com/#!/dead_lock
> >> http://www.webbase-design.de
> >> http://www.wagner-sebastian.com
> >> seba.wagner@gmail.com
> >>
> >
> >
> >
> > --
> > 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
seba.wagner@gmail.com

Re: Exception when build trunk "package org.springframework.test.context does not exist"

Posted by Maxim Solodovnik <so...@gmail.com>.
Where you able to fix this issue?


On Wed, Dec 18, 2013 at 7:36 PM, Maxim Solodovnik <so...@gmail.com>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, seba.wagner@gmail.com <
> seba.wagner@gmail.com> 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 <va...@unipro.ru>
>>
>> > Hello,
>> >
>> > I have built latest version without error: ANT 1.8.4, java 1.7.
>> >
>> > Vasiliy.
>> >
>> >
>> >
>> > On 18.12.2013 10:17, seba.wagner@gmail.com 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 seba.wagner@gmail.com <se...@gmail.com>
>> >>
>> >>  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 <so...@gmail.com>
>> >>>
>> >>>  just have checked, works for me as expected
>> >>>>
>> >>>>
>> >>>> On Wed, Dec 18, 2013 at 7:41 AM, Maxim Solodovnik <
>> solomax666@gmail.com
>> >>>>
>> >>>>> 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, seba.wagner@gmail.com <
>> >>>>> seba.wagner@gmail.com> 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
>> >>>>>> seba.wagner@gmail.com
>> >>>>>>
>> >>>>>>
>> >>>>>
>> >>>>> --
>> >>>>> 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
>> >>> seba.wagner@gmail.com
>> >>>
>> >>>
>> >>
>> >>
>> >
>>
>>
>> --
>> Sebastian Wagner
>> https://twitter.com/#!/dead_lock
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> seba.wagner@gmail.com
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: Exception when build trunk "package org.springframework.test.context does not exist"

Posted by Maxim Solodovnik <so...@gmail.com>.
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, seba.wagner@gmail.com <
seba.wagner@gmail.com> 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 <va...@unipro.ru>
>
> > Hello,
> >
> > I have built latest version without error: ANT 1.8.4, java 1.7.
> >
> > Vasiliy.
> >
> >
> >
> > On 18.12.2013 10:17, seba.wagner@gmail.com 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 seba.wagner@gmail.com <se...@gmail.com>
> >>
> >>  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 <so...@gmail.com>
> >>>
> >>>  just have checked, works for me as expected
> >>>>
> >>>>
> >>>> On Wed, Dec 18, 2013 at 7:41 AM, Maxim Solodovnik <
> solomax666@gmail.com
> >>>>
> >>>>> 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, seba.wagner@gmail.com <
> >>>>> seba.wagner@gmail.com> 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
> >>>>>> seba.wagner@gmail.com
> >>>>>>
> >>>>>>
> >>>>>
> >>>>> --
> >>>>> 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
> >>> seba.wagner@gmail.com
> >>>
> >>>
> >>
> >>
> >
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>



-- 
WBR
Maxim aka solomax

Re: Exception when build trunk "package org.springframework.test.context does not exist"

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
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 <va...@unipro.ru>

> Hello,
>
> I have built latest version without error: ANT 1.8.4, java 1.7.
>
> Vasiliy.
>
>
>
> On 18.12.2013 10:17, seba.wagner@gmail.com 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 seba.wagner@gmail.com <se...@gmail.com>
>>
>>  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 <so...@gmail.com>
>>>
>>>  just have checked, works for me as expected
>>>>
>>>>
>>>> On Wed, Dec 18, 2013 at 7:41 AM, Maxim Solodovnik <solomax666@gmail.com
>>>>
>>>>> 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, seba.wagner@gmail.com <
>>>>> seba.wagner@gmail.com> 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
>>>>>> seba.wagner@gmail.com
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> 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
>>> seba.wagner@gmail.com
>>>
>>>
>>
>>
>


-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Exception when build trunk "package org.springframework.test.context does not exist"

Posted by Vasiliy Degtyarev <va...@unipro.ru>.
Hello,

I have built latest version without error: ANT 1.8.4, java 1.7.

Vasiliy.


On 18.12.2013 10:17, seba.wagner@gmail.com 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 seba.wagner@gmail.com <se...@gmail.com>
>
>> 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 <so...@gmail.com>
>>
>>> just have checked, works for me as expected
>>>
>>>
>>> On Wed, Dec 18, 2013 at 7:41 AM, Maxim Solodovnik <solomax666@gmail.com
>>>> 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, seba.wagner@gmail.com <
>>>> seba.wagner@gmail.com> 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
>>>>> seba.wagner@gmail.com
>>>>>
>>>>
>>>>
>>>> --
>>>> 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
>> seba.wagner@gmail.com
>>
>
>


Re: Exception when build trunk "package org.springframework.test.context does not exist"

Posted by Maxim Solodovnik <so...@gmail.com>.
I'm using latest 1.9.2
Really weird :(
Build works for me on 2 oses, 3 different machines, both jdk6 and 7
On Dec 18, 2013 10:18 AM, "seba.wagner@gmail.com" <se...@gmail.com>
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 seba.wagner@gmail.com <se...@gmail.com>
>
> > 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 <so...@gmail.com>
> >
> >> just have checked, works for me as expected
> >>
> >>
> >> On Wed, Dec 18, 2013 at 7:41 AM, Maxim Solodovnik <solomax666@gmail.com
> >> >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, seba.wagner@gmail.com <
> >> > seba.wagner@gmail.com> 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
> >> >> seba.wagner@gmail.com
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > 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
> > seba.wagner@gmail.com
> >
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>

Re: Exception when build trunk "package org.springframework.test.context does not exist"

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
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 seba.wagner@gmail.com <se...@gmail.com>

> 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 <so...@gmail.com>
>
>> just have checked, works for me as expected
>>
>>
>> On Wed, Dec 18, 2013 at 7:41 AM, Maxim Solodovnik <solomax666@gmail.com
>> >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, seba.wagner@gmail.com <
>> > seba.wagner@gmail.com> 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
>> >> seba.wagner@gmail.com
>> >>
>> >
>> >
>> >
>> > --
>> > 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
> seba.wagner@gmail.com
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Exception when build trunk "package org.springframework.test.context does not exist"

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
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 <so...@gmail.com>

> just have checked, works for me as expected
>
>
> On Wed, Dec 18, 2013 at 7:41 AM, Maxim Solodovnik <solomax666@gmail.com
> >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, seba.wagner@gmail.com <
> > seba.wagner@gmail.com> 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
> >> seba.wagner@gmail.com
> >>
> >
> >
> >
> > --
> > 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
seba.wagner@gmail.com

Re: Exception when build trunk "package org.springframework.test.context does not exist"

Posted by Maxim Solodovnik <so...@gmail.com>.
just have checked, works for me as expected


On Wed, Dec 18, 2013 at 7:41 AM, Maxim Solodovnik <so...@gmail.com>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, seba.wagner@gmail.com <
> seba.wagner@gmail.com> 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
>> seba.wagner@gmail.com
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: Exception when build trunk "package org.springframework.test.context does not exist"

Posted by Maxim Solodovnik <so...@gmail.com>.
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, seba.wagner@gmail.com <
seba.wagner@gmail.com> 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
> seba.wagner@gmail.com
>



-- 
WBR
Maxim aka solomax