I’ve downloaded the maven archetype from ‘develop*’ branch so as to use/test the ddl export task you wrote.
https://github.com/BroadleafCommerce/BroadleafCommerceMavenArchetypes/tree/develop
(*I know it’s not recommended practice but my curiosity was too high)
It did not work at first so I did some changes on pom/build files so as to export successfully ddl statements.
I am curious to know if it was working on your machines without the little modifications I made.
(more readable zipped document attached)
build.xml
Code: Select all
<intersect>
<fileset refid="libDir" /> --> <fileset refid="pomDeps" />
<fileset refid="pomDeps" />
</intersect>
Because of a missing servlet class exception (provided by jetty i suppose)
pom.xml
Code: Select all
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<type>jar</type>
<scope>provided-->compile</scope>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.1</version>
<type>jar</type>
<scope>provided-->compile</scope>
</dependency>
i 've relauched this ant task with with options
Code: Select all
-XX:MaxPermSize=256M -Xmx512M
Eventually it worked.
> I had the impression to do little bad tricky things to make it work. Is it normal, or I missed something/bad configuration ?
By the way your work on Broadleaf is quite impressive !