Skip to content

Commit

Permalink
优化Project结构,打包生成dist/TProfiler_1.0.1.zip
Browse files Browse the repository at this point in the history
  • Loading branch information
manlge committed Aug 25, 2013
1 parent dc4badb commit 86b0deb
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 26 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
.settings
.project
.classpath
*.jar
pkg/TProfiler/COPYING.txt
pkg/TProfiler/README
pkg/TProfiler/profile.properties
Binary file removed dist/TProfiler/lib/tprofiler-1.0.1.jar
Binary file not shown.
25 changes: 0 additions & 25 deletions dist/TProfiler/profile.properties

This file was deleted.

Binary file added dist/TProfiler_1.0.1.zip
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 10 additions & 0 deletions pkg/release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

rm -rf ../dist/*
mvn -f ../pom.xml clean package
cp ../COPYING.txt ../README TProfiler
cp ../src/main/resources/profile.properties TProfiler
cd TProfiler
zip -r ../../dist/TProfiler_1.0.1.zip *
cd ..

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<outputDirectory>dist/TProfiler/lib</outputDirectory>
<outputDirectory>pkg/TProfiler/lib</outputDirectory>
<archive>
<manifestEntries>
<Premain-Class>com.taobao.profile.Main</Premain-Class>
Expand Down

0 comments on commit 86b0deb

Please sign in to comment.