Friday, March 18, 2011

Rough Steps to enable maven + eclipse + tomcat with existing maven project

this was my environment:

* eclipse version is helios j2ee
* tomcat should be installed locally somewhere.
* maven (mvn) is installed and available from the command line.
* install m2eclipse (maven integration for eclipse) plugin

1) clone git repository to a local directory. cd to directory and run: mvn eclipse:eclipse
2) open eclipse and create a new workspace (not the globalidm git directory)
3) file -> import -> general -> existing projects into workspace. choose the globaldm cloned directory
4) right-click web project, choose properties. click "Project Facets" and check the "Dynamic Web Module" box.
5) click servers tab. right click in pane, choose New. Define a new server.
6) right-click on server, choose "Add and Remove" and move your web project to the right to configure it.
7) now follow instructions here: http://www.devx.com/java/Article/36785/1763/page/2 starting with "Enable Maven" until you get to "Configuring J2EE Module Dependencies" (which if you can, great, but I didn't have a "J2EE Module Dependencies" option, so the following is the workaround)
8) right-click web project, choose properties. click "Deployment Assembly". Click "Add" button, "Java Build Path Entries", select all, finish.
9) use right-click project, Run-As -> maven build to build your project as a test. fix any problems until you can build clean.

Note: if you need to add/remove dependencies, open the pom.xml and choose 'dependencies' tab (below pom.xml editor pane). m2 makes it very easy to search, find and maintain dependencies. don't miss the 'dependency hierarchy' tab, too, very helpful. Once you make dependency changes, however, note that your classpath will not reflect those changes until you run: mvn eclipse:eclipse. After you do that, maven will regenerate the classpath file for eclipse based on the dependencies but note: you'll have to re-do step 8 ("Deployment Assembly"). Quite possibly, using a version number for WTP will fix this, but I haven't tried yet (http://maven.apache.org/plugins/maven-eclipse-plugin/wtp.html)

Also, for projects with dependency on submodules, you'll need to "mvn install" each project so that the jar is available to the local repository.

Tuesday, March 15, 2011

Integrating M2Eclipse with an existing Maven project

If you're importing an existing Maven project into Eclipse, you have to so some manual configuration to get both of them happy.  The problem is that Eclipse constructs a webapp directory structure a certain way while Maven has slightly different expectations.  You need to modify you classpath and build directives manually.

This was extremely helpful: 

http://www.devx.com/java/Article/36785/1763/page/2

It was especially relevant in the section toward the bottom called "Some Manual Tweaking of WTP Internals".

Wednesday, February 16, 2011

Tuesday, February 15, 2011

I can never remember a time when I was discouraged,

Mighty good stuff...

From: "Dave McCarty" <weakdave@yahoo.com>
Date: February 15, 2011 10:00:12 AM PST
Subject: I can never remember a time when I was discouraged,

I can never remember a time when I was discouraged, 

 

that I wasn't also concerned about my own righteousness/performance/reputation/somebodiness: my passion to feel good about myself based on my performance. Same is true for every time I've been fearful, or frustrated/angry. My unhappiness, lack of joy/peace, always has to do with me and my performance, or my inability to fix someone I love, which is another example of my performance, or lack thereof. Whenever I'm fearful, frustrated, discouraged or bored, Jesus means very little to me, and His righteousness is definitely unsatisfying: I want something more: some righteousness of my own: I want more than anything in the world, to be able to feel good about self, and I don't.
 
So the next time I'm stuck there, what can I do? Confess my sin of unbelief, my sin of dissatisfaction with Jesus and His righteousness.
 
--IndependentDave, needing prayer to be so freshly captivated by Jesus, that nothing else hardly matters, and the nonbelievers around him are wowed and want what he has (please pray now)

  To read past updates or free subscribe: http://gospelfriendships.icontact.com


This message was sent to kenburcham@gmail.com from:

GospelFriendships | 13 E Broad St | Hatfield, PA 19440

Email Marketing by iContact - Try It Free!

Manage Your Subscription
View this message in the iContact Community:   View message   Comment on this message   Receive as RSS

Thursday, February 3, 2011

Confirmation of directory selections made at National Yellow Pages Opt-Out Site

If you haven't looked up a number in the yellow pages in, like 3 years, visit yellowpagesoptout.com


Begin forwarded message:

Date: February 3, 2011 8:31:37 AM PST
Subject: Confirmation of directory selections made at National Yellow Pages Opt-Out Site

Thank you ken Burcham,

The National Yellow Pages Opt-Out Site received your request on
February 3, 2011 at 11:31 am.

Your selection:
- No copies of Blue Book West - Statewide Publishing
- No copies of Umatilla-Morrow Cos - Yellow Book
- No copies of Pendleton-Athena-Wes - Dex One
- No copies of Northeast Oregon - Ziplocal
- No copies of Eastern Oregon - CenturyLink Published By Berry Company LLC, The

Will be sent to your address in:
  PENDLETON, OR
  97801

Directory selections have been sent to the relevant publishers for processing.

Thank you,


-- National Yellow Pages Opt Out Site Team


Tuesday, January 18, 2011

Operating System for “Institutional Church” 1.0

Operating System for “Institutional Church” 1.0

Definitions:

Jesus Follower            Church-goer (consistent, involved, supportive). It is considered pretty much impossible to follow Jesus without going to church.

Evangelism            Inviting people to church building for programs, events or services.

Service (n)            A sacramental meeting at the church building.

Service (v)            Volunteering to participate in or lead a program or event (VBS, Sunday School, etc.), usually at the church building.

Discipleship            Christ-likeness accomplished by attending church activities especially Sunday morning service and Sunday School, careful listening and application of sermon teaching. Particularly eager disciples might attend home bible studies or read devotional books. Volunteering for programs.

Worship            Sacramental songs sung on Sunday morning.

Success            A full church! People coming to church, giving generously, obvious spiritual growth (as evidenced by abstinence of flagrant sins, positive support, commitment and general congeniality). People inviting friends who start coming to church and also become members.

Faithful disciple            Regular attender. (also regular tither! Wink wink)

Evangelist            Someone who invites people to church who then also become members.

Measures            Church attendance. Adherance to moral code.

Moral code            You are more spiritual if you follow these. 10 Commandments. No cussing. Be supportive and non-divisive. Be nice. No gambling, smoking, drinking. Practice meekness and mildness. Involvement in church activities. (yes, this is usually a moral issue)

Church            A building where people come to be in the presence of God, worship (sing) together, fellowship (eat, talk) together and serve God (execute programs).

Sin                                    Disobeying God’s commands in the Bible.

Transformation            Occurs when we stop sinning and start obeying God.     

Battle cry "Get with the program!"       


We hold these truths to be self-evident:

1)   If the pastor preaches the Word effectively and the congregation responds appropriately, the church will grow.

2)   Church growth happens when people come to church building (usually invited by a friend) and attend a service/program/event and after awhile decide to become members.

3)   Leadership is typically positional, “pastor”, “church council”, “deacons”, program/event organizers, etc.

4)   Authority resides first in scripture, then in the pastor and other positional leaders. The church constitution and bylaws direct the organization, as well.

5)   If people would just come to church and be committed, their life-problems would be addressed and eventually solved.

6)   Non-christians need Jesus and thus need to be invited to church.

7)   If Non-christians come to church and hear "the Word" preached and are given an appropriate invitation to receive Christ, they will (hopefully) repent and ask Christ into their lives and become Christians, be baptized, welcomed into membership and begin their spiritual growth.

8)   A full time pastor (professional clergy) is much preferred over a bi-vocational pastor because then he can devote his full time to the care and shepherding of the flock.