https://github.com/arnauld/technbolts-webapp
Webapp using Lift
https://github.com/arnauld/technbolts-webapp
Last synced: 1 day ago
JSON representation
Webapp using Lift
- Host: GitHub
- URL: https://github.com/arnauld/technbolts-webapp
- Owner: Arnauld
- Created: 2010-07-09T15:43:52.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2010-07-27T16:45:50.000Z (almost 16 years ago)
- Last Synced: 2025-02-28T05:34:08.882Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 332 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.textile
Awesome Lists containing this project
README
h1. Dependency Injection in Lift
see "blog post":http://technbolts.blogspot.com/2010/07/dependency-injection-in-lift.html
"can't determine annotations of missing type javax.persistence.Entity" issue:
"springsource forum":http://forum.springsource.org/showthread.php?p=287675
added:
<dependency>
<groupId>javax.persistence</groupId>
<artifactId>persistence-api</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
h1. GIT
* git status
* git add src/main/...
* git commit
* git push
Branch
* create:
git branch <branch-name>
* switch to
git checkout <branch-name>
* push branch to origin (github)
git push origin <branch-name>
* back to master (aka local trunk)
git checkout master
h1. Protocol buffer
h2. Installation
* apt-get install protobuf-compiler
h3. protobuf 2.3.0
Not available by default, thus one needs to compile it
* download protobuf-2.3.0.tar.gz
* read and apply readme.txt
Issues:
* ./configure
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
** sudo aptitude update
** sudo aptitude install build-essential
* /usr/local/bin/protoc --version
/usr/local/bin/protoc: error while loading shared libraries: libprotobuf.so.6: cannot open shared object file: No such file or directory
** export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
h2. protoc maven plugin or exec ant run plugin
* svn co http://protobuf.googlecode.com/svn/branches/maven-plugin/tools/maven-plugin
** cd maven-plugin
** modify the pom.xml: add java 1.5 build + remove parent dependency
** mvn install
* or use ant task to execute protoc