Skip to content

Commit

Permalink
Delete unused agent
Browse files Browse the repository at this point in the history
  • Loading branch information
kairoh committed Mar 4, 2022
1 parent 88f164d commit b431160
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 24 deletions.
2 changes: 2 additions & 0 deletions web-ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
<artifactId>studio-driver</artifactId>
<version>${project.version}</version>
</dependency>
<!--
<dependency>
<groupId>studio</groupId>
<artifactId>studio-metadata</artifactId>
Expand All @@ -51,6 +52,7 @@
<classifier>jar-with-dependencies</classifier>
<scope>runtime</scope>
</dependency>
-->
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-config</artifactId>
Expand Down
8 changes: 0 additions & 8 deletions web-ui/src/main/scripts/studio-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,9 @@ STUDIO_PATH="`dirname \"$0\"`"
DOT_STUDIO="$HOME/.studio"

# Make sure the .studio subdirectories exist
# if [ ! -d $DOT_STUDIO/agent ]; then mkdir -p $DOT_STUDIO/agent; fi
if [ ! -d $DOT_STUDIO/db ]; then mkdir -p $DOT_STUDIO/db; fi
if [ ! -d $DOT_STUDIO/library ]; then mkdir -p $DOT_STUDIO/library; fi

# Copy agent and metadata JARs
# cp $STUDIO_PATH/agent/studio-agent-${project.version}-jar-with-dependencies.jar $DOT_STUDIO/agent/studio-agent.jar
# cp $STUDIO_PATH/agent/studio-metadata-${project.version}-jar-with-dependencies.jar $DOT_STUDIO/agent/studio-metadata.jar

# -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager
# -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.Log4j2LogDelegateFactory

java -Dfile.encoding=UTF-8 -Dvertx.disableDnsResolver=true \
-cp $STUDIO_PATH/${project.build.finalName}.jar:$STUDIO_PATH/lib/*:. \
io.vertx.core.Launcher run ${vertx.main.verticle}
8 changes: 0 additions & 8 deletions web-ui/src/main/scripts/studio-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,9 @@ STUDIO_PATH="`dirname \"$0\"`"
DOT_STUDIO="$HOME/.studio"

# Make sure the .studio subdirectories exist
# if [ ! -d $DOT_STUDIO/agent ]; then mkdir -p $DOT_STUDIO/agent; fi
if [ ! -d $DOT_STUDIO/db ]; then mkdir -p $DOT_STUDIO/db; fi
if [ ! -d $DOT_STUDIO/library ]; then mkdir -p $DOT_STUDIO/library; fi

# Copy agent and metadata JARs
# cp $STUDIO_PATH/agent/studio-agent-${project.version}-jar-with-dependencies.jar $DOT_STUDIO/agent/studio-agent.jar
# cp $STUDIO_PATH/agent/studio-metadata-${project.version}-jar-with-dependencies.jar $DOT_STUDIO/agent/studio-metadata.jar

# -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager
# -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.Log4j2LogDelegateFactory

java -Dfile.encoding=UTF-8 -Dvertx.disableDnsResolver=true \
-cp $STUDIO_PATH/${project.build.finalName}.jar:$STUDIO_PATH/lib/*:. \
io.vertx.core.Launcher run ${vertx.main.verticle}
8 changes: 0 additions & 8 deletions web-ui/src/main/scripts/studio-windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,9 @@ set STUDIO_PATH=%~dp0
set DOT_STUDIO="%UserProfile%\.studio"

:: Make sure the .studio subdirectories exist
:: if not exist %DOT_STUDIO%\agent\* mkdir %DOT_STUDIO%\agent
if not exist %DOT_STUDIO%\db\* mkdir %DOT_STUDIO%\db
if not exist %DOT_STUDIO%\library\* mkdir %DOT_STUDIO%\library

:: Copy agent and metadata JARs
:: copy "%STUDIO_PATH%\agent\studio-agent-${project.version}-jar-with-dependencies.jar" %DOT_STUDIO%\agent\studio-agent.jar
:: copy "%STUDIO_PATH%\agent\studio-metadata-${project.version}-jar-with-dependencies.jar" %DOT_STUDIO%\agent\studio-metadata.jar

:: -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager
:: -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.Log4j2LogDelegateFactory

java -Dvertx.disableDnsResolver=true -Dfile.encoding=UTF-8 ^
-cp "%STUDIO_PATH%/${project.build.finalName}.jar";"%STUDIO_PATH%/lib/*";. ^
io.vertx.core.Launcher run ${vertx.main.verticle}

0 comments on commit b431160

Please sign in to comment.