hlapidez / agimatec-tools Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/agimatec-tools
Automatically exported from code.google.com/p/agimatec-tools
agimatec-tools ============== The project agimatec-tools is a bundle that contains some frameworks used for: - file generation (source code, configuration) - database migration (with sql- and groovy-scripts, xml-configuration, schema sanity check etc.) - database import (csv-, fixedlength-, xml-format) History ------- 1. first open-source release by Roman Stumm, agimatec GmbH, Bonn 2. currently maintained by Roman Stumm, Viaboxx GmbH, Koenigswinter How to compile the project ========================== Requirements: 0. Sources require java1.5 or higher. (Tested with JDK 1.6.0_24, 1.7.0_51) 1. Maven2 required 1a. The project is built with maven2.0.9 .. 3.2.1. You need to download and install maven2 from: http://maven.apache.org/ 1b. Prepare local maven2 repository: -------------------------------- Some dependencies might not be available from official maven2-repositories: * Dependency: com.sun:tools:jar:1.5.0_12 missing? Using an older JDK than 1.5.0_12? ------------------------------------ Change <dependency> <groupId>com.sun</groupId> <artifactId>tools</artifactId> <version>1.5.0_12</version> <scope>system</scope> <systemPath>${java.home}/../lib/tools.jar</systemPath> </dependency> in agimatec-tools/pom.xml to match the JDK you are using. * Dependency: oracle:ojdbc14:10.2.0.4 missing? You can download the oracle driver from oracle sites, e.g. http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html Change the version accordingly in agimatec-tools/pom.xml. Copy the jar to $LOCAL_REPOSITORY/oracle/ojdbc14/<oracle-version>/ojdbc14-<oracle-version>.jar * Dependency: annogen:annogen:0.1.1 missing? Download annogen-0.1.1.zip from this side and unzip it. Copy annogen-0.1.1.jar to $LOCAL_REPOSITORY/annogen/annogen/0.1.1/annogen-0.1.1.jar 2. Invoke maven2 from within one of the directories that contain a pom.xml file compile project: ---------------- mvn install (artifacts are generated into the target directories) (optional) generate site, javadoc: ----------------------- mvn site checkin javadoc and set correct mimetype: ----------------------------------------- cd javadoc svn --recursive propset svn:mime-type text/html . (optional) generate an IntelliJ project: ----------------------------- mvn idea:idea (optional) deploy maven-site and javadoc: ------------------------------ [ Note: Follow the instructions on * https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide * https://oss.sonatype.org/index.html#welcome to deploy on Sonatype OSS Maven Repository. Old style (when distribution-management in pom.xml is enabled) You must set the properties ${agimatec-site-id} and ${agimatec-site-url} to adequate values. You can do that by adding them to your maven settings.xml. This is the place where the server credenticals for uploads are kept. ] mvn site-deploy (new) maven way to deploy to OSSRH and release them to the Central Repository ----------------------------------------------------------------------------- see http://central.sonatype.org/pages/apache-maven.html If your version is a release version: mvn clean deploy (With the property autoReleaseAfterClose set to false) Trigger a release of the staging repository with: mvn nexus-staging:release If something went wrong you can drop the staging repository with: mvn nexus-staging:drop Perform a release deployment to OSSRH with: mvn release:clean release:prepare mvn release:perform Getting started --------------- Refer to the project page and WIKI at: http://code.google.com/p/agimatec-tools/ You can checkout latest sources and releases from there. You can also refer to the test cases, examples and templates. Feedback, questions, contribution ================================= ** Your feedback is welcome! ** http://code.google.com/p/agimatec-tools/ http://www.viaboxxsystems.de http://www.viaboxxsystems.de/blog Roman Stumm, Viaboxx GmbH, 2008-2014 email: [email protected]
We just upgraded agimatec-tools vom version 2.2.8-SNAPSHOT to 2.3.2 (tag). It
seems that the groovy engine does not look for the groovy scripts in the
classpath (like it used to do) but only looks for the groovys in the Scripts
folder provided as parameter. Works fine, but can be bad if you call several
scripts with different Scripts folders (right now, we have to copy the groovy
scripts to 4 directories...)
Could you provide a new parameter which contains the folder of the groovy
scripts? Another possible way would be changing the behaviour of the groovy
engine to that of version 2.2.8.
max
Original issue reported on code.google.com by [email protected]
on 6 Jul 2010 at 11:31
you can use maven dependency like this.
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>${java.version}</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
Original issue reported on code.google.com by [email protected]
on 26 Jun 2008 at 3:49
If you start dbmigrate it determines the actions to perform only on the
from-version in the configuration or the db_version table.
If a script crashes inside a script-dir, this may cause problem on restart,
when the program does not perform the adequate actions.
Improvement:
* in auto-version mode, store script-dir, script-name (and maybe line
number) in case of a crash
* recover at that exact point on restart
* change configuration, so that all script-dirs can be determined in a
general way (for viaboxx-dbmigrate plugin to support
Script-WithApplicationContext)
Original issue reported on code.google.com by roman.stumm
on 1 Apr 2010 at 9:05
Hi,
I would like to combine multiple instructions with different
usage-qualifiers in the same dozer-mappings file. The idea is to have a
dozer mappings file for each domain entity that contains multiple
DTO-variations for this class). Currently each instruction with a different
usage-qualifier generates its own file. Is there any possibility to achieve
this ?
thx for any help,
Roger.
Original issue reported on code.google.com by [email protected]
on 23 Jul 2009 at 9:58
What steps will reproduce the problem?
1.I'm parsing a .sql file from oracle to a xml catalog with your DDLParser tool.
What is the expected output? What do you see instead?
The xml catalog but with missing columns
What version of the product are you using? On what operating system?
dbmigrate-dist-2.5.12 windows 7.
?
These are the file that I'm parsing and the output of it
THANK YOU VERY MUCH GUYS
Original issue reported on code.google.com by [email protected]
on 12 Jun 2014 at 3:11
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.