| <project default="java:jar"> |
| |
| <preGoal name="test:test"> |
| |
| <!-- Work area for unit tests --> |
| |
| <mkdir dir="target/test-sandbox/logs"/> |
| <copy todir="target/test-classes"> |
| <fileset dir="src/test-conf"/> |
| </copy> |
| |
| </preGoal> |
| |
| |
| <preGoal name="test:single"> |
| |
| <!-- Work area for unit tests --> |
| |
| <mkdir dir="target/test-sandbox/logs"/> |
| <copy todir="target/test-classes"> |
| <fileset dir="src/test-conf"/> |
| </copy> |
| |
| </preGoal> |
| |
| <postGoal name="java:compile" > |
| <attainGoal name="rmic"/> |
| </postGoal> |
| |
| |
| <goal name="rmic" xmlns:j="jelly:core" xmlns:u="jelly:util"> |
| |
| <rmic base="${maven.build.dest}" classname="org.apache.jcs.auxiliary.remote.RemoteCacheListener"> |
| <classpath> |
| <path refid="maven.dependency.classpath"/> |
| </classpath> |
| </rmic> |
| |
| <rmic base="${maven.build.dest}" classname="org.apache.jcs.auxiliary.remote.server.RemoteCacheServerListener"> |
| <classpath> |
| <path refid="maven.dependency.classpath"/> |
| </classpath> |
| </rmic> |
| |
| <rmic base="${maven.build.dest}" classname="org.apache.jcs.auxiliary.remote.server.RemoteCacheServer"> |
| <classpath> |
| <path refid="maven.dependency.classpath"/> |
| </classpath> |
| </rmic> |
| |
| </goal> |
| |
| </project> |