Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} |