![]() ![]() Val lift = “net.liftweb” % “lift-mapper” % “2.0” % “compile” Then create the /project/build/myProject1Project.scala file with the following:Ĭlass myProject1Project(info: ProjectInfo) extends DefaultWebProject(info) Your project configurations are defined at myProject1/project/build/myProject1Project.scala.ħ. Note: Basically, you enter ‘y’ for yes or ‘s’ for starting a project from scratch (in our case we have already generated our project using maven)Ħ. Project does not exist, create new project? (y/N/s) y Note: -DarchetypeArtifactId can have one of the three values DgroupId=com.myProject1 -DartifactId=myProject1 DarchetypeArtifactId=lift-archetype-basic ^ First create the basic structure of Lift project using maven in windows: Note: Keep sbt-launch.jar and sbt.bat in a separate directory and not within scala installation directory.ģ. ![]() Java -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256m -Xmx512M -Xss2M -jar “%SCRIPT_DIR%sbt-launch.jar” %* To avoid frequent OutOfMemory errors, try modifying your sbt launch bat script to the following: Java -Dhttp.proxyHost=myproxy -Dhttp.proxyPort=8080 -Dhttp.proxyUser=username -Dhttp.proxyPassword=mypassword -Xmx512M -jar “%SCRIPT_DIR%sbt-launch.jar” %* Java -Xmx512M -jar “%SCRIPT_DIR%sbt-launch.jar” %* ![]() Download simple-build-tool jar file from its official source:Ģ. Then cd into lift_sbt_prototype and type:ġ. Git clone git:///dpp/lift_sbt_prototype.git Install Java, maven, Git, IntelliJ IDEA and simple build tool and configure the PATH environment variable accordingly for all three: A) you have a basic understanding of java platform, maven build tool and IntelliJ IDEA.ī) you use windows platform for developmentĬ) you use IntelliJ IDEA v9, java v1.6+, maven v2.2.1, git v1.7.1.1, scala v2.7.7, lift v2.0 and simple build tool v0.7.4 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |