Git Product home page Git Product logo

gradlewebapp's Introduction

说明:

1、 这是一个使用Gradle 构建Struts2 + Springframework + hibernate JAVA Web 项目的简单DEMO,

   大家可以在这个基础上搭建和开发自己的S2SH应用。

2、 Gradle 是一个非常强大的构建系统。

   它在新的Android 工程构建系统中起着非常重要的作用,同样它也可以用于开发Java Web项目。

3、 在计算机中配置Gradle:

  下载gradle: http://www.gradle.org/downloads。

  配置系统环境变量 GRADLE_HOME 到下载到的gradle包解压出来的文件夹。

4、 建议使用Intellij IDEA 打开这个DEMO,File - Open... 打开build.gradle 即可。

5、 关于工程结构:

  一般你的工程结构需要是:

   src/main/java -- java 代码

   src/main/resources -- 配置文件

   src/main/webapp -- WebRoot

   build.gradle -- gradle 构建脚本

   settings.gradle -- gradle 项目设置,在其中你可以配置目录下哪些文件夹是一个module

   关于工程结构的配置请参照DEMO中build.gradle的war{}部分,

   详情请查看gradle 的war 插件页面: http://www.gradle.org/docs/current/userguide/war_plugin.html

gradlewebapp's People

Contributors

shinchven avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.