Git Product home page Git Product logo

slim3-gradle's Introduction

slim3-gradle

Slim3-gradle is a sample project using gradle as build tool and slim3 as framework.
Almost all of the project of slim3 products is built with Maven2 and Eclipse. But this project aims to build slim3 project with gradle and IntelliJ IDEA.

LICENSE


   Copyright mike_neck (twitter : @mike_neck / [email protected]) 2012

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

prepare for project

  • copy build.gradle to your project home.
  • modify the group name to your project’s home package. the description is at around the line 9.
    
    group = 'your.package.name'
    
  • then do this command for preparing IntelliJ IDEA environment.
    
    $ gradle idea
    
  • modify the application id and the application version.
    def applicationId = 'your-application-id'
    def applicationVersion = '1'
    
  • after the commands project’s ipr file is so available that you can load project into IntelliJ IDEA.

using git

  • this project contains the feature for creating .gitignore file
  • the file is available via following command
    
    $ gradle gitignore
    
  • then you can find .gitignore file in your project home.

generating Meta class

  • this task creates Meta classes
  • do this command after creation of your model class
    
    $ gradle gen
    
  • then you can find Meta classes are available in IntelliJ IDEA.

how to build


$ cd /to/forked/path
$ gradle install

The features

THE THINGS DONE
  • collect project dependencies
  • prepare project structure (half)
  • add apt-gen-model
THE THINGS TO DO
  • create web structure and its required files
  • add some other slim3’s feature. like…
    • generate controllers and services
    • gwt
    • kotori-web-junit
  • packaging components
  • deploying archives

slim3-gradle's People

Contributors

mike-neck 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.