Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: _Plugin Submission
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :6
Description
I will populate this issue with the sample code for my appfuse plugin along with a sample maven 2 project that supports the plugin. The sample project was manually created and is currently incomplete. I am hoping with support from the community to get the archetype plugin to generate this project and all of its related artifacts. Once the project is generated the plugin will generate the artifacts to extend the appfuse project such as additional daos, managers, web pages, menus etc.
I would encourage feedback and assistance on this undertaking as I have a lot to learn about both appfuse and maven 2.
Attached are the following:
issueslist.txt - listing current issues and hacks I did to make the project assemble
installationinstructions.txt - There are a number of jars that are not accessable due to various licenses,etc. I have included instructions on how to install them in to a working maven 2 environment.
appfuseproject.zip - a zip file containing the initial maven project
additionaljars.zip - A zip of the additional jars required to make the project build.
maven-appfuse-plugin.jar - The plugin for appfuse
pluginsource.zip - The source code for the Ant based M2 plugin
In order to run the plugin and or build the project do the following:
1) Download all files
2) follow the installation instructions to install the additional jars
3) unzip the appfuseproject.zip
4) go to the appfuse directory for the project you just unzipped
5) run the command mvn install -Dmaven.test.skip=true
This will run the required builds to populate your local repository with the dao , service, web, ear and pom projects.
I would appreciate any and all help and education to get this done.
3) Unzip the
Attachments
-
$i18n.getText("admin.common.words.hide")
- additionaljars.zip
- 25/Feb/06 11:46 AM
- 2.14 MB
- Scott Ryan
-
- transaction-1.0.1B.jar 9 kB
- hibernate3.1.jar 1.84 MB
- activation-1.0.2.jar 54 kB
- connector-1.0.jar 18 kB
- mail-1.3.2.jar 339 kB
- servlet-api-2.3.jar 76 kB
-
$i18n.getText("admin.common.words.hide")
- appfuseproject.zip
- 25/Feb/06 6:51 PM
- 331 kB
- Scott Ryan
-
- web/.classpath 6 kB
- web/.project 0.9 kB
- web/.settings/.component 10 kB
- web/.settings/org.eclipse.jdt.core.prefs 0.3 kB
- web/.../org.eclipse.wst.common.project.facet.core.xml 0.2 kB
- web/.wtpmodules 13 kB
- web/pom.xml 5 kB
- web/src/.../ActionExceptionHandler.java 6 kB
- web/src/main/.../action/BaseAction.java 11 kB
- web/src/.../action/PasswordHintAction.java 4 kB
- web/src/main/.../action/ReloadAction.java 2 kB
- web/src/main/.../action/SignupAction.java 6 kB
- web/src/main/.../action/UploadAction.java 4 kB
- web/src/main/.../action/UserAction.java 14 kB
- web/src/main/.../filter/GZIPFilter.java 3 kB
- web/src/.../filter/GZIPResponseStream.java 5 kB
- web/src/.../filter/GZIPResponseWrapper.java 3 kB
- web/src/main/.../filter/LocaleFilter.java 2 kB
- web/src/.../filter/LocaleRequestWrapper.java 2 kB
- web/src/main/.../form/AddressForm.java 2 kB
- web/src/main/.../webapp/form/BaseForm.java 3 kB
- web/src/main/.../webapp/form/RoleForm.java 1.0 kB
- web/src/main/.../webapp/form/UploadForm.java 3 kB
- web/src/main/.../webapp/form/UserForm.java 8 kB
- web/src/.../listener/StartupListener.java 4 kB
- web/src/.../UserCounterListener.java 5 kB
- web/src/main/.../taglib/ConstantsTag.java 6 kB
- web/src/main/.../taglib/ConstantsTei.java 2 kB
- web/src/main/.../taglib/CountryTag.java 7 kB
- web/src/main/.../webapp/taglib/LabelTag.java 9 kB
-
$i18n.getText("admin.common.words.hide")
- appfuseproject.zip
- 25/Feb/06 11:49 AM
- 300 kB
- Scott Ryan
-
- appfuse/dao/.classpath 3 kB
- appfuse/dao/.project 0.8 kB
- appfuse/dao/.wtpmodules 0.4 kB
- appfuse/dao/pom.xml 3 kB
- appfuse/dao/src/.../appfuse/Constants.java 3 kB
- appfuse/dao/src/.../appfuse/dao/DAO.java 2 kB
- appfuse/.../applicationContext-hibernate.xml 3 kB
- appfuse/dao/.../BaseDAOHibernate.java 2 kB
- appfuse/dao/.../LookupDAOHibernate.java 0.7 kB
- appfuse/dao/.../RoleDAOHibernate.java 1 kB
- appfuse/dao/.../UserDAOHibernate.java 3 kB
- appfuse/dao/src/.../dao/LookupDAO.java 0.5 kB
- appfuse/dao/src/.../appfuse/dao/RoleDAO.java 1.0 kB
- appfuse/dao/src/.../appfuse/dao/UserDAO.java 1.0 kB
- appfuse/dao/src/.../model/Address.java 4 kB
- appfuse/dao/src/.../model/BaseObject.java 0.5 kB
- appfuse/dao/src/.../model/LabelValue.java 4 kB
- appfuse/dao/src/.../appfuse/model/Role.java 3 kB
- appfuse/dao/src/.../appfuse/model/User.java 9 kB
- appfuse/dao/.../database.properties 0.4 kB
- appfuse/dao/.../displaytag.properties 0.2 kB
- appfuse/dao/.../resources/log4j.properties 3 kB
- appfuse/dao/.../resources/mail.properties 0.3 kB
- appfuse/dao/.../resources/oscache.properties 4 kB
- appfuse/.../applicationContext-resources.xml 0.9 kB
- appfuse/dao/src/.../dao/BaseDAOTestCase.java 2 kB
- appfuse/dao/src/.../dao/GenericDAOTest.java 2 kB
- appfuse/dao/src/.../dao/LookupDAOTest.java 0.5 kB
- appfuse/dao/src/.../dao/RoleDAOTest.java 1 kB
- appfuse/dao/src/.../dao/UserDAOTest.java 3 kB
-
- installationinstructions.txt
- 25/Feb/06 6:52 PM
- 1 kB
- Scott Ryan
-
- installationinstructions.txt
- 25/Feb/06 11:42 AM
- 1 kB
- Scott Ryan
-
- issueslist.txt
- 25/Feb/06 11:42 AM
- 0.3 kB
- Scott Ryan
Activity
These are the additional jars required to install to your mvn repository. See the installation instructions.
This is a sample maven project layout for an appfuse type project. We need to complete this with all the code and configuration files as well as convert it to an archetype so it can take on different application names and package structures.
I managed to find some more libraries and setup additional code. Now all builds and the test cases run for dao and web. The service test cases do not run due to missing applicationcontext.xml. I also am having toubles with two more libraries in the maven 2 repository so i updated the installation instructions.
I am creating the project in the mojo-sandbox and will post the code there. It is in initial form and I am still getting directional feedback from the appfuse team. I will post the website on mojo this week and push up an initial snapshot of the plugin. Things got a little busy this weekend but I now have the sandbox figured out and can push the code there for you to download. Keep me posted as i would welcome your input and assistance. Just give me a couple of days.
This project has already beean added to the sandbox, shouldn't this issue be closed?
Project has been seeded in the sandbox but not published to the site. Over the next few weeks hopefully more commiters will offer up code to complete the plugin and we can publish it out to the sandbox for review.
These are the installation instructions to install the additional jars required by appfuse into your m2 repository.