Line ending shouldn't be an issue for the most part because we're not
parsing/replacing things in XML files. We are with the full-source
plugin. We don't *have* to because Maven allows us to build pom.xml
files programatically and write them out. However, they don't give us
as much control as we'd like so we're parsing/replacing instead of
writing out the whole file with unordered and uncommented properties.
Try adding the following to the bottom of your root pom.xml file. If
it works, please file a bug in JIRA nothing that it happens on
Windows. I should be able to get access to a Windows instance to
verify and fix.
Thanks,
Matt
<!-- Properties calculated by AppFuse when running full-source
plugin -->
<acegi.version>1.0.4</acegi.version>
<aspectj.version>1.5.3</aspectj.version>
<clickstream.version>1.0.2</clickstream.version>
<commons.beanutils.version>1.7.0</commons.beanutils.version>
<commons.collections.version>3.2</commons.collections.version>
<commons.dbcp.version>1.2.2</commons.dbcp.version>
<commons.fileupload.version>1.1.1</commons.fileupload.version>
<commons.io.version>1.3.2</commons.io.version>
<displaytag.version>1.1.1</displaytag.version>
<dwr.version>2.0.1</dwr.version>
<ehcache.version>1.3.0</ehcache.version>
<hibernate.annotations.version>3.3.0.ga</hibernate.annotations.version>
<hibernate.version>3.2.5.ga</hibernate.version>
<javamail.version>1.4</javamail.version>
<jstl.version>1.1.2</jstl.version>
<log4j.version>1.2.13</log4j.version>
<oscache.version>2.3</oscache.version>
<sitemesh.version>2.2.1</sitemesh.version>
<struts.menu.version>2.4.3</struts.menu.version>
<struts.version>2.0.9</struts.version>
<urlrewrite.version>3.0.4</urlrewrite.version>
<velocity.version>1.4</velocity.version>
<xfire.version>1.2.6</xfire.version>
On 9/5/07, Richard Brewster <[EMAIL PROTECTED]> wrote:
>
> Yes, I am on Windows. Line ending haven't been problem (except in some
> downloaded tutorials). Where are the properties supposed to be defined?
> The full-source command created dependencies in the core pom.xml under this
> comment:
>
> <!-- Dependencies calculated by AppFuse when running full-source plugin
> -->
>
> like:
> <dependency>
> <groupId>net.sf.ehcache</groupId>
> <artifactId>ehcache</artifactId>
> <version>${ehcache.version}</version>
> </dependency>
>
> But ehcache.version is not defined in any of the three pom.xml files.
>
> -Richard
>
>
>
> mraible wrote:
> >
> > I just tried this and it worked fine for me. I suspect it didn't work
> > for you because you're on Windows and there's some line ending issues
> > or something like that. Is that true?
> >
> > I'm on OS X.
> >
> > Matt
> >
> > On 9/5/07, Richard Brewster <[EMAIL PROTECTED]> 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#a12510655
> >> 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]
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/appfuse%3Afull-source-works-on-modular-projects-on-Appfuse2.0-RC1--tf4381575s2369.html#a12511182
> 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]