Just for clarification - did you do this on a "core" archetype or a
"struts 2 modular" archetype?

Thanks,

Matt

On 9/6/07, mraible <[EMAIL PROTECTED]> wrote:
>
> Thanks - I guess I need to find a Windows box to test this stuff on, eh? ;-)
>
> Matt
>
>
> gumiyo wrote:
> >
> > Matt,
> > I tested it and got these errors.
> >
> > [ERROR] AUTOWIRE_BY_NAME cannot be resolved
> > [ERROR] The import org.jmock cannot be resolved
> > [ERROR] MockObjectTestCase cannot be resolved to a type
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Compiler errors :
> > error at import
> > org.springframework.test.AbstractTransactionalDataSourceSpringC
> > ntextTests;
> >        ^^^^^^^^^^^^^^^^^^^^^^^
> > C:\cygwin\tmp\myproject\core\src\main\java\com\mycompany\app\dao\BaseDaoTestCas
> > .java:8:0::0 The import org.springframework.test cannot be resolved
> > error at public abstract class BaseDaoTestCase extends
> > AbstractTransactionalDat
> > SourceSpringContextTests {
> >
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > ^^^^^^^^^^^^^^
> > C:\cygwin\tmp\myproject\core\src\main\java\com\mycompany\app\dao\BaseDaoTestCas
> > .java:20:0::0 AbstractTransactionalDataSourceSpringContextTests cannot be
> > resol
> > ed to a type
> > error at setAutowireMode(AUTOWIRE_BY_NAME);
> >                 ^^^^^^^
> > C:\cygwin\tmp\myproject\core\src\main\java\com\mycompany\app\dao\BaseDaoTestCas
> > .java:35:0::0 AUTOWIRE_BY_NAME cannot be resolved
> > error at new HibernateTemplate((SessionFactory) applicationContext.getBean
> > ("ses
> > ionFactory"));
> >                                        ^
> > C:\cygwin\tmp\myproject\core\src\main\java\com\mycompany\app\dao\BaseDaoTestCas
> > .java:87:0::0 applicationContext cannot be resolved
> > error at import
> > org.springframework.test.AbstractTransactionalDataSourceSpringC
> > ntextTests;
> >        ^^^^^^^^^^^^^^^^^^^^^^^
> > C:\cygwin\tmp\myproject\core\src\main\java\com\mycompany\app\service\BaseManage
> > TestCase.java:7:0::0 The import org.springframework.test cannot be
> > resolved
> > error at public abstract class BaseManagerTestCase extends
> > AbstractTransactiona
> > DataSourceSpringContextTests {
> >
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > ^^^^^^^^^^^^^^^^^^
> > C:\cygwin\tmp\myproject\core\src\main\java\com\mycompany\app\service\BaseManage
> > TestCase.java:14:0::0 AbstractTransactionalDataSourceSpringContextTests
> > cannot
> > e resolved to a type
> > error at setAutowireMode(AUTOWIRE_BY_NAME);
> >                 ^^^^^^^
> > C:\cygwin\tmp\myproject\core\src\main\java\com\mycompany\app\service\BaseManage
> > TestCase.java:21:0::0 AUTOWIRE_BY_NAME cannot be resolved
> > error at import org.jmock.MockObjectTestCase;
> >        ^^^^^^^^
> > C:\cygwin\tmp\myproject\core\src\main\java\com\mycompany\app\service\impl\BaseM
> > nagerMockTestCase.java:7:0::0 The import org.jmock cannot be resolved
> > error at public abstract class BaseManagerMockTestCase extends
> > MockObjectTestCa
> > e {
> >                                                       ^^^^^^^^^^^^^^^^^
> > C:\cygwin\tmp\myproject\core\src\main\java\com\mycompany\app\service\impl\BaseM
> > nagerMockTestCase.java:14:0::0 MockObjectTestCase cannot be resolved to a
> > type
> >
> > dev
> >
> > On 9/6/07, mraible <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >> I've entered this issue in JIRA:
> >>
> >> http://issues.appfuse.org/browse/APF-876
> >>
> >> If you have time, can you see if it's fixed (on Windows) with
> >> 2.0-SNAPSHOT
> >> .
> >> Here's how to test:
> >>
> >> mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
> >> -DarchetypeArtifactId=appfuse-modular-struts
> >> -DremoteRepositories=http://static.appfuse.org/repository
> >> -DarchetypeVersion=2.0-SNAPSHOT -DgroupId=com.mycompany.app
> >> -DartifactId=myproject
> >>
> >> cd myproject
> >> mvn appfuse:full-source integration-test
> >>
> >> Thanks!
> >>
> >> Matt
> >>
> >>
> >> Richard Brewster wrote:
> >> >
> >> > Hi.  I created the modular-struts archetype project for RC1.  That
> >> built
> >> > and ran OK.  Then I ran mvn appfuse:full-source.  That completed
> >> > successfully, but then the project would no longer build.  Seems that a
> >> > lot of properties were no longer defined.  The last failure message:
> >> >
> >> > 14) net.sf.ehcache:ehcache:jar:${ehcache.version}
> >> >
> >> >   Try downloading the file manually from the project website.
> >> >
> >> >   Then, install it using the command:
> >> >       mvn install:install-file -DgroupId=net.sf.ehcache
> >> > -DartifactId=ehcache \
> >> >           -Dversion=${ehcache.version} -Dpackaging=jar
> >> > -Dfile=/path/to/file
> >> > Alternatively, if you host your own repository you can deploy the file
> >> > there:
> >> >     mvn deploy:deploy-file -DgroupId=net.sf.ehcache
> >> -DartifactId=ehcache
> >> \
> >> >           -Dversion=${ehcache.version} -Dpackaging=jar
> >> > -Dfile=/path/to/file \
> >> >            -Durl=[url] -DrepositoryId=[id]
> >> >
> >> > Is this a bug?
> >> >
> >> > -Richard Brewster
> >> >
> >> >
> >> > mraible wrote:
> >> >>
> >> >> Yes.
> >> >>
> >> >> On 9/4/07, fadhli <[EMAIL PROTECTED]> wrote:
> >> >>> Does mvn appfuse:full-source works on modular projects on Appfuse2.0
> >> >>> RC1?
> >> >>>
> >> >>> --
> >> >>> /fadhli
> >> >>
> >> >>
> >> >> --
> >> >> http://raibledesigns.com
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >> >>
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/appfuse%3Afull-source-works-on-modular-projects-on-Appfuse2.0-RC1--tf4381575s2369.html#a12532703
> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/appfuse%3Afull-source-works-on-modular-projects-on-Appfuse2.0-RC1--tf4381575s2369.html#a12534557
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to