zoukankan      html  css  js  c++  java
  • Intellij 导入play framework 项目

    新建一个项目

    play new helloworld

    IshallbeThatIshallbe:~ iamthat$ mkdir temp
    IshallbeThatIshallbe:~ iamthat$ cd temp/
    IshallbeThatIshallbe:temp iamthat$ ls
    IshallbeThatIshallbe:temp iamthat$ play new helloworld
           _
     _ __ | | __ _ _  _
    | '_ | |/ _' | || |
    |  __/|_|\____|\__ /
    |_|            |__/
    
    play 2.2.6 built with Scala 2.10.3 (running Java 1.7.0_75), http://www.playframework.com
    
    The new application will be created in /Users/iamthat/temp/helloworld
    
    What is the application name? [helloworld]
    > helloworld
    
    Which template do you want to use for this new application? 
    
      1             - Create a simple Scala application
      2             - Create a simple Java application
    
    > 2
    OK, application helloworld is created.
    
    Have fun!
    
    IshallbeThatIshallbe:temp iamthat$ ls
    helloworld
    IshallbeThatIshallbe:temp iamthat$  

    import 这个项目所在的project, 也就是eclipse的workspace, 注意项目在Intellij 就是module 不是project. 

    一般来说 直接next 到底。 就可以了,到这个界面。

    双击build.bst 文件---- 这一步很关键,这是下载加载该module必要包的过程,可以看到最下方的 Event Log 有进程在跑。 Event Log 也提示你是否导入。 选择导入!

    之后建立 run configuration. + 后是新建,点击加号新建一个play 2 的run configuration.

    最后运行,可以看到控制台成功打印并且运行。

  • 相关阅读:
    [NOIP2013]花匠
    [NOIP2013]货车运输
    [NOIP2013]火柴排队
    [NOIP2012]疫情控制
    雷动WEBRTC产品
    WebRTC学习笔记_Demo收集
    Red5的直播与点播的压力测试(并发数的测试)
    Apache Tomcat8必备知识
    Servlet3.0学习总结(一)——使用注解标注Servlet
    一张图讲清楚高可用、高性能、可扩展的WEB系统架构
  • 原文地址:https://www.cnblogs.com/IamThat/p/4384307.html
Copyright © 2011-2022 走看看