extract tools module #1774

extract tools mudule.
This commit is contained in:
koo.taejin
2016-05-17 14:18:29 +09:00
parent 58f3f83245
commit f58f92e676
11 changed files with 62 additions and 6 deletions
+6
View File
@@ -33,6 +33,12 @@
<scope>runtime</scope>
</dependency>
<!-- tools -->
<dependency>
<groupId>com.navercorp.pinpoint</groupId>
<artifactId>pinpoint-tools</artifactId>
<scope>runtime</scope>
</dependency>
<!-- for tests -->
<dependency>
+6
View File
@@ -50,5 +50,11 @@
<outputDirectory>plugin</outputDirectory>
<unpack>true</unpack>
</dependencySet>
<dependencySet>
<includes>
<include>com.navercorp.pinpoint:pinpoint-tools</include>
</includes>
<outputDirectory>tools</outputDirectory>
</dependencySet>
</dependencySets>
</assembly>
-4
View File
@@ -1,4 +0,0 @@
#! /bin/bash
CL_PATH=`find ../ -name '*.jar' | tr "\n" :`
echo "CLASSPATH=$CL_PATH"
java -classpath $CL_PATH com.navercorp.pinpoint.profiler.tools.NetworkAvailabilityChecker ../pinpoint.config
+6
View File
@@ -49,6 +49,7 @@
<module>commons</module>
<module>commons-hbase</module>
<module>commons-server</module>
<module>tools</module>
<module>plugins</module>
<module>profiler</module>
<module>profiler-optional</module>
@@ -180,6 +181,11 @@
<type>zip</type>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.navercorp.pinpoint</groupId>
<artifactId>pinpoint-tools</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.navercorp.pinpoint</groupId>
<artifactId>pinpoint-test</artifactId>
+5
View File
@@ -0,0 +1,5 @@
/target/
/*.iml
/.settings/
/.classpath
/.project
+1
View File
@@ -0,0 +1 @@
# pinpoint-tools
+5
View File
@@ -0,0 +1,5 @@
RMRqrdbgbKFhbaVnDxHUdDQvrOQXxIBklnvcmahheubVC
mh2KM35CLkwUHS4DH7QVhxy52J5hnWbyEm6Cyd3KkF<mV
RmmnSVOqOMnOnMMrmMqwXomoroNrqPNRrPSsWwtUxXuUU
sRONqpnmqmUUnqonmstsmmmmmUUnqonmstsmmmmmUUGfk
mlfkqUUnmmmm
+27
View File
@@ -0,0 +1,27 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.navercorp.pinpoint</groupId>
<artifactId>pom</artifactId>
<version>1.6.0-SNAPSHOT</version>
</parent>
<artifactId>pinpoint-tools</artifactId>
<name>pinpoint-tools</name>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>com.navercorp.pinpoint</groupId>
<artifactId>pinpoint-commons</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.navercorp.pinpoint</groupId>
<artifactId>pinpoint-profiler</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.navercorp.pinpoint.profiler.tools;
package com.navercorp.pinpoint.tools;
import com.navercorp.pinpoint.bootstrap.config.DefaultProfilerConfig;
import com.navercorp.pinpoint.bootstrap.config.ProfilerConfig;
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.navercorp.pinpoint.profiler.tools;
package com.navercorp.pinpoint.tools;
/**
* Marker interface to prevent obfuscation
+4
View File
@@ -0,0 +1,4 @@
#! /bin/bash
CL_PATH=`find ../ -name '*.jar' | tr "\n" :`
echo "CLASSPATH=$CL_PATH"
java -classpath $CL_PATH com.navercorp.pinpoint.tools.NetworkAvailabilityChecker ../pinpoint.config