Saturday, February 23, 2013

Developing a component-based Google App Engine app

Goals with this tutorial

The main goal with this tutorial is to share the learnings I've made the past years, developing apps for Google App Engine.
Promoting the open-source framework with server components is another reason for writing this tutorial.

@Deprecated

Please note that the home for this tutorial has moved to http://blog.bassac.se/p/tutorial.html
where it is properly updated.

4 comments:

  1. Am I missing something here? I'm getting a build error...

    stefansa2:tutorial-comp-dev-gae anoto$ git checkout spring-mvc
    Previous HEAD position was d9d80e1... Bootstrap empty webapp
    HEAD is now at c2741c4... Adding Spring-MVC
    stefansa2:tutorial-comp-dev-gae anoto$ mvn clean appengine:update
    [INFO] Scanning for projects...
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Tutorial Component-based Development for GAE 5-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ comp-dev-gae ---
    [INFO] Deleting /Users/anoto/Documents/Developer/ola/tutorial-comp-dev-gae/target
    [INFO]
    [INFO] >>> appengine-maven-plugin:1.7.3:update (default-cli) @ comp-dev-gae >>>
    Downloading: http://repo1.maven.org/maven2/com/wadpam/openserver/errors/14/errors-14.pom
    [WARNING] The POM for com.wadpam.openserver:errors:jar:14 is missing, no dependency information available
    Downloading: http://repo1.maven.org/maven2/com/wadpam/openserver/jsonp/14/jsonp-14.pom
    [WARNING] The POM for com.wadpam.openserver:jsonp:jar:14 is missing, no dependency information available
    Downloading: http://repo1.maven.org/maven2/com/wadpam/openserver/errors/14/errors-14.jar
    Downloading: http://repo1.maven.org/maven2/com/wadpam/openserver/jsonp/14/jsonp-14.jar
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 1.359s
    [INFO] Finished at: Thu Mar 21 23:17:49 CET 2013
    [INFO] Final Memory: 3M/81M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal on project comp-dev-gae: Could not resolve dependencies for project com.wadpam.tutorial:comp-dev-gae:war:5-SNAPSHOT: The following artifacts could not be resolved: com.wadpam.openserver:errors:jar:14, com.wadpam.openserver:jsonp:jar:14: Could not find artifact com.wadpam.openserver:errors:jar:14 in central (http://repo1.maven.org/maven2) -> [Help 1]

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
  2. I haven't tried to get my artifacts accepted in maven central, but I do host a maven repo in GitHub at https://raw.github.com/sosandstrom/maven-repo/master/releases

    The pom.xml in the github repo has been amended, to contain the needed tag. You should be able to fetch the updated tags by doing

    git checkout master
    git fetch --tags

    and then re-checkout your specific tag (spring-mvc) with

    git checkout spring-mvc

    ReplyDelete
  3. Please note that the home for this tutorial has moved to

    http://blog.bassac.se/p/tutorial.html

    where it is properly updated.

    ReplyDelete