Code Monkey home page Code Monkey logo

cobigen's Introduction

CobiGen (Code-based incremental Generator)

wiki clone job: cobigen

git%2Bgithub.com%2Fdevonfw%2Fcobigen

Component

Release

maven-plugin

https://maven-badges.herokuapp.com/maven-central/com.devonfw.cobigen/maven-plugin

templates-oasp4j

https://maven-badges.herokuapp.com/maven-central/com.devonfw.cobigen/templates-oasp4j

templates-oasp4js

https://maven-badges.herokuapp.com/maven-central/com.devonfw.cobigen/templates-oasp4js

core

https://maven-badges.herokuapp.com/maven-central/com.devonfw.cobigen/core

javaplugin

https://maven-badges.herokuapp.com/maven-central/com.devonfw.cobigen/javaplugin

xmlplugin

https://maven-badges.herokuapp.com/maven-central/com.devonfw.cobigen/xmlplugin

openapiplugin

https://maven-badges.herokuapp.com/maven-central/com.devonfw.cobigen/openapiplugin

tsplugin

https://maven-badges.herokuapp.com/maven-central/com.devonfw.cobigen/tsplugin

jsonplugin

https://maven-badges.herokuapp.com/maven-central/com.devonfw.cobigen/jsonplugin

propertyplugin

https://maven-badges.herokuapp.com/maven-central/com.devonfw.cobigen/propertyplugin

htmlplugin

https://maven-badges.herokuapp.com/maven-central/com.devonfw.cobigen/htmlplugin

textmerger

https://maven-badges.herokuapp.com/maven-central/com.devonfw.cobigen/textmerger

tempeng-velocity

https://maven-badges.herokuapp.com/maven-central/com.devonfw.cobigen/tempeng-velocity

tempeng-freemarker

https://maven-badges.herokuapp.com/maven-central/com.devonfw.cobigen/tempeng-freemarker

Installation

Repository Organization

The CobiGen repository is organized in a one-branch-per-plugin schema. By that, we can release each plug-in continously and independently without side effects. On release the plug-in branch is merged to master branch such that you will find all the latest releases of each plug-in on the master branch.

Top-level folder Description

cobigen-documentation

Contains git submodules for building and tagging the wiki.

cobigen-eclipse

Contains the cobigen eclipse bundles. The implementation of the plug-in is driven in cobigen-eclipse/cobigen-eclipse folder.

cobigen-maven

Contains the maven plug-in implementation.

cobigen-review

Project to be used for AgileReview

cobigen-templates

Contains template sets for different architectures

cobigen

Containts the code implementation of CobiGen as well as all plug-in implementations besides the eclipse plug-in and maven plug-in

ide-settings

Contains the shared settings processed by the oasp4j-ide

Build

You can build CobiGen core as well as each plug-in besides the eclipse plug-in separately by stepping into the plug-in folder, e.g. for the Java plug-in you could step into cobigen/cobigen-javaplugin and run mvn clean install to build the plug-in and deploy it into your local repository.

The CobiGen eclipse plug-in can build build by running mvn clean package -Pp2-build-photon. The profile p2-build-photon builds the eclipse plug-in by retrieving eclipse photon bundles as dependencies. Without specifying the profile, the build will fail. An exception to this is the cobigen-eclipse-test project, which has to be built using mvn clean package -Pp2-build-photon,p2-build-stable,p2-build-experimental.

Deploy

CobiGen deployment has to be distinguished threefold

Component Deployment Type Commands

cobigen/cobigen-core/,cobigen-maven/

MAVEN

mvn clean deploy

cobigen/cobigen-/ (except core). In case of deploying dev_javaplugin or dev_openapiplugin, go to cobigen/cobigen--parent/cobigen-*

ECLIPSE

mvn clean package bundle:bundle -Pp2-bundle
# Uses the created bundle and builds a p2 update site for it. Do NOT use clean
mvn install bundle:bundle -Pp2-bundle,p2-build-photon,p2-build-experimental p2:site
# Uploades the p2 update site to the experimental repository. Do NOT use clean
mvn deploy -Pp2-build-photon,p2-build-experimental -Dp2.upload=experimental

cobigen-eclipse/

ECLIPSE

mvn clean deploy -Pp2-build-photon,p2-build-experimental -Dp2.upload=experimental

Debugging with Maven

To debug Maven builds on any plug-in:

  1. Step into the plug-in and start a console there.

  2. Run mvnDebug clean install, it will output the port the debugger is listening to.

  3. On Eclipse, right click your project → Debug as → Debug Configurations…​

  4. Add a new Remote Java Application that connects on a socket on the port that was outputted by Maven.

  5. Hit debug and have fun!

To debug Maven tests follow this link

License

git%2Bgithub.com%2Fdevonfw%2Fcobigen

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.