1. JAR
2. WAR
3. EAR
4. Libraries
5. Global
6. Project
7. Test
8. Future Types
NOTE: For more details, refer to the documentation automatically generated by the projectDocumentation dumper.
Description
The JAR component type compiles Java sources and packs them into a JAR file.
A manifest file is created for the JAR file. It contains a Class-Path attribute with a list of JAR files that the created JAR depends on. The manifest also includes vendor name and version attributes.
The JAR type also supports defining a main Class for the created JAR file and specifying additional Class-Path dependencies.
A Javadoc documentation can be generated by the JAR type.
Main Targets
init
prepare
compile
compile.nodep
pack
pack.nodep
clean
clean.dep
clean.classes
clean.lib
dist
dist.nodep
javadoc.nodep
javadocRequired Products
A product of the jar type.
Main Component Properties
Property
Default
product.dir
target/lib
jdk.version
1.3
javac.fork
false
manifest.additional.classpath
jar.main.class
component.javadoc.required
false
javadoc.maxmemory
32m
src.zip.required
true
exclude
false
Main Project Properties
Property
Default
version
dist.dir
dist.product.dir
lib
vendor.name
Anonymous
javac.executable.path.1.4
javac
javac.executable.path.1.3
javac
Description
Extends the JAR type.
Creates a WAR file with the static and JSP files of a Web Application. The WAR file also includes a JAR file of the compiled Java classes.
Copies static and JSP files of all components that the relevant component depends on.
Main Targets
All targets of the JAR type.
pack.war
pack.war.nodep
clean.warRequired Products
A product of the jar type.
A product of the war type.
Main Component Properties
Property
Default
All component properties of the JAR type.
jsp.files.flatten
true
war.without.jars
true
Main Project Properties
Property
Default
All project properties of the JAR type.
Description
Packs multiple JAR, EJB (future) and WAR files in an EAR file while generating the application.xml descriptor file.
The packed files are the products of all components that the relevant component depends on.
A special dependencies JAR file is created and packed into the EAR file.
Main Targets
init
prepare
appxml.gen
create.dependencies.jar
pack.ear
pack.ear.nodep
pack
pack.nodep
clean
clean.dep
dist
dist.nodep
Main Component Properties
Property
Default
product.dir
target/lib
special.dependencies.jar
ProjectIntegration.jar
manifest.additional.classpath
Main Project Properties
Property
Default
version
dist.dir
dist.product.dir
lib
vendor.name
Anonymous
Description
A container of existing static external libraries (JAR, EAR, WAR, etc.).
Main Targets
init
copy.lib
distRequired Products
Any kind of products.
Main Component Properties
Property
Default
exclude
false
dir.orig
lib
copy.required
false
Description
A type of a global component that all components depends on.
Responsible for running Invicta and loading custom properties from files.
Main Targets
init
prepare
taskdefs
invicta
load.init
load.customMain Project Properties
Property
Default
invicta.dir
invicta.copy.required
false
invicta.should.run
true
invicta.additional.classpath
local.env.dir
remote.dir
remote.dir2
remote.dir3
documentation.enabled
false
documentation.dir
docs
dist.dir
Description
A general project component type. Allows distributing project-scope files.
Main Targets
init
distMain Component Properties
Property
Default
dist.list
exclude
false
Main Project Properties
Property
Default
dist.dir
Description
Extends the JAR type.
Runs JUnit test classes.
Main Targets
All targets of the JAR type.
test
test.specificMain Component Properties
Property
Default
javadoc.required
false
test.type
Client
test
test
exclude
true
Main Project Properties
Property
Default
test.classpath.additional.component
test.classpath.additional.product
test.type.property
test.type
test.server.url.property
test.server.url
test.server.username.property
test.server.username
test.server.password.property
test.server.password
test.server.url
url
test.server.username
username
test.server.password
password
Some more types are to be added to Invicta in the future. You can read about them in the TODO List.