Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Legacy
gitolite
user
iwakeh
Website
Commits
5085bd8b
Commit
5085bd8b
authored
8 years ago
by
iwakeh
Browse files
Options
Downloads
Patches
Plain Diff
Some build file tweaks.
parent
2d67509a
Branches
task-21236-3
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/webstats/build.xml
+3
-5
3 additions, 5 deletions
modules/webstats/build.xml
shared/build-base.xml
+12
-3
12 additions, 3 deletions
shared/build-base.xml
with
15 additions
and
8 deletions
modules/webstats/build.xml
+
3
−
5
View file @
5085bd8b
<project
default=
"run"
name=
"webstats"
basedir=
"."
>
<property
name=
"sources"
value=
"src/main/java"
/>
<property
name=
"testsources"
value=
"src/test/java"
/>
<include
file=
"../../shared/build-base.xml"
as=
"basetask"
/>
<target
name=
"clean"
depends=
"basetask.clean"
/>
<target
name=
"compile"
depends=
"basetask.compile"
/>
<target
name=
"test"
depends=
"basetask.test"
/>
<property
name=
"sources"
value=
"src/main/java"
/>
<property
name=
"testsources"
value=
"src/test/java"
/>
<path
id=
"classpath"
>
<pathelement
path=
"${classes}"
/>
<path
refid=
"base.classpath"
/>
<fileset
dir=
"${libs}"
>
<include
name=
"junit4-4.11.jar"
/>
<include
name=
"hamcrest-core-1.3.jar"
/>
<include
name=
"postgresql-jdbc3-9.2.jar"
/>
</fileset>
</path>
...
...
This diff is collapsed.
Click to expand it.
shared/build-base.xml
+
12
−
3
View file @
5085bd8b
<project
basedir=
"."
>
<property
name=
"sources"
value=
"src"
/>
<property
name=
"testsources"
value=
"src/test/java"
/>
<property
name=
"libs"
value=
"../../shared/lib"
/>
<property
name=
"generated"
value=
"generated"
/>
<property
name=
"classes"
value=
"${generated}/classes/"
/>
...
...
@@ -23,12 +24,20 @@
</path>
<path
id=
"base.testclasspath"
>
<pathelement
path=
"${base.classes}"
/>
<pathelement
path=
"${base.testclasses}"
/>
<pathelement
path=
"base.classpath"
/>
<fileset
dir=
"${libs}"
>
<include
name=
"hamcrest-core-1.3.jar"
/>
<include
name=
"junit4-4.11.jar"
/>
</fileset>
</path>
<path
id=
"testclasspath"
>
<pathelement
path=
"${testclasses}"
/>
<path
refid=
"base.testclasspath"
/>
<path
refid=
"base.classpath"
/>
</path>
<target
name=
"clean"
>
<delete
includeEmptyDirs=
"true"
quiet=
"true"
>
<fileset
dir=
"${generated}"
defaultexcludes=
"false"
includes=
"**"
/>
...
...
@@ -64,13 +73,13 @@
optimize=
"false"
failonerror=
"true"
includeantruntime=
"false"
>
<classpath
refid=
"classpath"
/>
<classpath
refid=
"
test
classpath"
/>
</javac>
</target>
<target
name=
"test"
depends=
"testcompile"
>
<junit
fork=
"true"
haltonfailure=
"true"
printsummary=
"off"
>
<classpath
refid=
"classpath"
/>
<classpath
refid=
"
test
classpath"
/>
<formatter
type=
"plain"
usefile=
"false"
/>
<batchtest>
<fileset
dir=
"${testclasses}"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment