Skip to content

Eernie/ASConfigCreator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASConfigCreator

Build Status Coverage Status Maven Central

Sourcecontrol for you application server configuration.

Builing the source

Its as easy as using maven:

mvn install

Usage

There are two ways to use the application, directly or trough the maven plugin.

Direct

For the direct approach you'll have to setup some configuration:

Configuration configuration = new Configuration();
configuration.getContexts().addAll(Arrays.asList(contexts));
configuration.getApplicationServers().addAll(applicationServers);
configuration.setOutputDirectoryPath(outputDirectory);

ASConfigCreator asConfigCreator = new ASConfigCreator(configuration);
asConfigCreator.createConfigFiles(masterFile.getAbsolutePath());

Maven plugin

For the maven plugin you can use the following snippet:

<plugin>
	<groupId>nl.eernie.as</groupId>
	<artifactId>ASConfigCreator-maven-plugin</artifactId>
	<version>[latestVersion]</version>
	<configuration>
		<settingsFile>${basedir}/settings.properties</settingsFile>
	</configuration>
</plugin>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages