Skip to content

Commit

Permalink
added contents
Browse files Browse the repository at this point in the history
  • Loading branch information
timowest committed May 13, 2010
1 parent cee54c0 commit 4abca1a
Show file tree
Hide file tree
Showing 16 changed files with 70 additions and 0 deletions.
55 changes: 55 additions & 0 deletions querydsl-ant-test/build.xml
@@ -0,0 +1,55 @@
<project name="MyProject" default="dist" basedir=".">
<description>
simple example build file
</description>
<!-- set global properties for this build -->
<property name="src" location="src"/>
<property name="build" location="build"/>
<property name="dist" location="dist"/>
<property name="generated" location="generated"/>

<path id="cp">
<fileset dir="lib">
<include name="*.jar"/>
</fileset>
</path>


<target name="init">
<tstamp/>
<mkdir dir="${build}"/>
<mkdir dir="${generated}"/>
</target>

<target name="compile" depends="init"
description="compile the source " >

<javac srcdir="${src}" classpathref="cp">
<compilerarg value="-proc:only"/>
<compilerarg value="-processor"/>
<compilerarg value="com.mysema.query.apt.QuerydslAnnotationProcessor"/>
<compilerarg value="-s"/>
<compilerarg value="${generated}"/>
</javac>

<javac classpathref="cp" destdir="${build}">
<src path="${src}"/>
<src path="${generated}"/>
</javac>

</target>

<target name="dist" depends="compile"
description="generate the distribution" >
<mkdir dir="${dist}/lib"/>
<jar jarfile="${dist}/lib/MyProject-${DSTAMP}.jar" basedir="${build}"/>
</target>

<target name="clean"
description="clean up" >
<delete dir="${build}"/>
<delete dir="${generated}"/>
<delete dir="${dist}"/>
</target>

</project>
Binary file added querydsl-ant-test/lib/annotations-1.3.2.jar
Binary file not shown.
Binary file added querydsl-ant-test/lib/asm-3.1.jar
Binary file not shown.
Binary file added querydsl-ant-test/lib/cglib-2.2.jar
Binary file not shown.
Binary file added querydsl-ant-test/lib/codegen-0.1.2.jar
Binary file not shown.
Binary file not shown.
Binary file added querydsl-ant-test/lib/commons-lang-2.4.jar
Binary file not shown.
Binary file added querydsl-ant-test/lib/jsr305-1.3.2.jar
Binary file not shown.
Binary file added querydsl-ant-test/lib/log4j-1.2.14.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added querydsl-ant-test/lib/slf4j-api-1.5.2.jar
Binary file not shown.
Binary file added querydsl-ant-test/lib/slf4j-log4j12-1.5.2.jar
Binary file not shown.
15 changes: 15 additions & 0 deletions querydsl-ant-test/src/test/Test.java
@@ -0,0 +1,15 @@
package test;
import java.math.BigDecimal;

import com.mysema.query.annotations.QueryEntity;


@QueryEntity
public class Test {

private String property;

private int intProperty;

private BigDecimal bigDecimal;
}

0 comments on commit 4abca1a

Please sign in to comment.