Setup"

From Documentation
m
Line 5: Line 5:
 
== Maven Project ==
 
== Maven Project ==
  
If your project is managed by Maven already, you can adopt ZATS Mimic easily by adding a dependency.
+
If your project is managed by Maven already, you can adopt ZATS Mimic easily by simply adding a dependency.
  
For a project depends on ZK '''5.0.x''', add the following dependency:
+
For projects depending on ZK '''5.0.x''', add the following dependency:
  
 
<source lang="xml">
 
<source lang="xml">
Line 20: Line 20:
 
</source>
 
</source>
  
For a project depends on ZK '''6.0.0''', add the following dependency:
+
For projects depending on ZK '''6.0.x''', add the following dependency:
  
 
<source lang="xml">
 
<source lang="xml">
Line 37: Line 37:
 
== Manually ==
 
== Manually ==
  
For a project depends on '''ZK 6.0.x''':  
+
For projects depending on '''ZK 6.0.x''':  
  
Download the released zip file and add all jar under '''dist/lib''' and '''dist/lib/ext''' into your project's classpath. '''Note that please do not deploy these jars to your application server'''.
+
Download the released zip file and add all jar files under '''dist/lib''' and '''dist/lib/ext''' into your project's classpath. '''Note that please do not deploy these jars to your application server'''.
  
For a project depends on '''ZK 5.0.x''':  
+
For projects depending on '''ZK 5.0.x''':  
  
Download the released zip file and add all jar under '''dist/lib''' and '''dist/lib/ext''' except '''zats-mimic-ext6.jar''' into your project's classpath.
+
Download the released zip file and add all jar files under '''dist/lib''' and '''dist/lib/ext''' except '''zats-mimic-ext6.jar''' into your project's classpath.
  
  
Also remember to add jar of your preferred unit test framework, e.g. JUnit.
+
Also remember to add jar files of your preferred unit test framework, e.g. JUnit.
  
  
  
 
{{ZATSEssentialsPageFooter}}
 
{{ZATSEssentialsPageFooter}}

Revision as of 08:12, 16 May 2012


ZATS Mimic

Maven Project

If your project is managed by Maven already, you can adopt ZATS Mimic easily by simply adding a dependency.

For projects depending on ZK 5.0.x, add the following dependency:

    <dependency>
      <groupId>org.zkoss.zats</groupId>
      <artifactId>zats-mimic</artifactId>
      <version>1.0.0</version>
      <scope>test</scope>
    </dependency>

For projects depending on ZK 6.0.x, add the following dependency:

    <dependency>
      <groupId>org.zkoss.zats</groupId>
      <artifactId>zats-mimic-ext6</artifactId>
      <version>1.0.0</version>
      <scope>test</scope>
    </dependency>

Remember to also add dependencies of your preferred unit test framework, e.g. JUnit or TestNG.

Manually

For projects depending on ZK 6.0.x:

Download the released zip file and add all jar files under dist/lib and dist/lib/ext into your project's classpath. Note that please do not deploy these jars to your application server.

For projects depending on ZK 5.0.x:

Download the released zip file and add all jar files under dist/lib and dist/lib/ext except zats-mimic-ext6.jar into your project's classpath.


Also remember to add jar files of your preferred unit test framework, e.g. JUnit.




Last Update : 2012/05/16

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.