Hello Pebble People,

I have made some progress with getting trunk going in Eclipse Indigo
with Apache Tomcat 7. The list below is the executive summary of what
I did to to get it running. I hope that it will help others or perhaps
some knowledgable others may be able work out why I experienced some
of my afore mentioned problems in the first place.

1. Create new workspace PEBBLE
2. Install Maven Eclipse plugin and WTP integration
2. File->Import->Maven->Checkout as Maven project from SCM
3. Enter svn, https://open.jira.com/svn/PEBBLE/trunk/ has svn uri
4. Select default pom.xml and next
5. resolve later for plugin connectors maven-antrun-plugin and maven-jaxb-plugin
6. Wait until materialised
7. Go to pom and the plugin maven-antrun-plugin snippet, right click
and choose quick fix. Choose to ignore.
8. Go to pom and the plugin maven-jaxb-plugin, right click and choose
to quick fix. Ignore.
9. Go to pom and find the pluginExecutionFilter for maven-jaxb-plugin,
in the action part, change the <ignore></ignore> to <execute />
10. Click on the project root in the Project Explorer, right click,
choose Maven submenu and Update Project Configuration.
11. Now got to Run menu, RunAs and choose Maven generate-source, this
does the jaxb generation part
12. In Project Explorer choose Pebble->Java Resources and right click.
Choose New->Source Folder. Choose Pebble Project, and Folder Name
target/generated-sources/xjc
13. This should fix all the java errors, once this new directory is compiled
14. Got into Pebble/src/main/resources and grab the pebble.tld, move
it to Pebble/src/main/webapp/WEB-INF
15. Select Pebble root, and the goto Debug button and Run On Server.
Configure Apache Tomcat 7.
16. Run it and you should see Pebble running.

Hope this helps somebody.


So two outstanding issues remain in my mind that that I feel would be
nice to solve before I start looking at MovableTypeImporter in more
depth. Accepting advice, suggestions etc here.

* The Jaxb generation is manual. I suspect this will only be solved by
upgrading to another jaxb generator that has a maven plugin, with
corresponding Eclipse Maven Lifecycle plugin. I suspect the jaxb maven
plugin used by pebble has effectively been deprecated.
* I don't really understand why the pebble.tld works if moved to
WEB-INF from META-INF. Do I understand correctly that is should work
from either? (As i have mentioned previously I'm not really a Java or
web guy so I am playing catchup here). Have I potentially got Eclipse
misconfigured?

Chris K.
[email protected]

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Pebble-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pebble-user

Reply via email to