Compare commits
3 Commits
e2b534901d
...
4bc905118f
| Author | SHA1 | Date |
|---|---|---|
|
|
4bc905118f | |
|
|
0015ec94f6 | |
|
|
d4d2d266be |
|
|
@ -0,0 +1 @@
|
||||||
|
{"accessKey":"admin","endpoint":"http://192.168.1.65:9000","secretKey":"password"}
|
||||||
54
pom.xml
54
pom.xml
|
|
@ -74,36 +74,46 @@
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
|
||||||
|
<!-- 使用maven-jar-plugin和maven-dependency-plugin插件打包 -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
|
<version>3.1.0</version>
|
||||||
|
<configuration>
|
||||||
|
<archive>
|
||||||
|
<manifest>
|
||||||
|
<addClasspath>true</addClasspath>
|
||||||
|
<classpathPrefix>lib/</classpathPrefix>
|
||||||
|
<mainClass>com.zhangmeng.minio.Stater</mainClass>
|
||||||
|
</manifest>
|
||||||
|
</archive>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
|
<version>3.1.1</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>copy-dependencies</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>copy-dependencies</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.11.0</version>
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>17</source>
|
<source>17</source>
|
||||||
<target>17</target>
|
<target>17</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.openjfx</groupId>
|
|
||||||
<artifactId>javafx-maven-plugin</artifactId>
|
|
||||||
<version>0.0.8</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<!-- Default configuration for running with: mvn clean javafx:run -->
|
|
||||||
<id>default-cli</id>
|
|
||||||
<configuration>
|
|
||||||
<mainClass>com.zhangmeng.minio.MiniToolsApplication
|
|
||||||
</mainClass>
|
|
||||||
<launcher>app</launcher>
|
|
||||||
<jlinkZipName>app</jlinkZipName>
|
|
||||||
<jlinkImageName>app</jlinkImageName>
|
|
||||||
<noManPages>true</noManPages>
|
|
||||||
<stripDebug>true</stripDebug>
|
|
||||||
<noHeaderFiles>true</noHeaderFiles>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
package com.zhangmeng.minio;
|
||||||
|
|
||||||
|
import javafx.application.Application;
|
||||||
|
|
||||||
|
public class Stater {
|
||||||
|
public static void main(String[] args) {
|
||||||
|
Application.launch(MiniToolsApplication.class,args);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
module javafx.tools.minio {
|
|
||||||
|
|
||||||
requires javafx.controls;
|
|
||||||
requires javafx.fxml;
|
|
||||||
requires java.sql;
|
|
||||||
requires java.datatransfer;
|
|
||||||
requires java.desktop;
|
|
||||||
requires minio;
|
|
||||||
requires com.fasterxml.jackson.core;
|
|
||||||
requires com.alibaba.fastjson2;
|
|
||||||
|
|
||||||
opens com.zhangmeng.minio to javafx.graphics;
|
|
||||||
opens com.zhangmeng.minio.controller to javafx.fxml;
|
|
||||||
|
|
||||||
exports com.zhangmeng.minio.controller;
|
|
||||||
exports com.zhangmeng.minio.model;
|
|
||||||
}
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
<children>
|
<children>
|
||||||
<AnchorPane fx:id="center" layoutY="13.0" prefHeight="623.0" prefWidth="1200.0" AnchorPane.bottomAnchor="12.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="13.0">
|
<AnchorPane fx:id="center" layoutY="13.0" prefHeight="623.0" prefWidth="1200.0" AnchorPane.bottomAnchor="12.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="13.0">
|
||||||
<children>
|
<children>
|
||||||
<TableView fx:id="tableview" layoutX="378.0" layoutY="191.0" prefHeight="433.0" prefWidth="1200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="191.0">
|
<TableView fx:id="tableview" layoutX="378.0" layoutY="171.0" prefHeight="453.0" prefWidth="1200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="171.0">
|
||||||
<columns>
|
<columns>
|
||||||
<TableColumn fx:id="file_bucket" prefWidth="300.0" text="bucket名称" />
|
<TableColumn fx:id="file_bucket" prefWidth="300.0" text="bucket名称" />
|
||||||
<TableColumn fx:id="file_name" prefWidth="270.0" text="文件名称" />
|
<TableColumn fx:id="file_name" prefWidth="270.0" text="文件名称" />
|
||||||
|
|
@ -26,17 +26,17 @@
|
||||||
|
|
||||||
</columns>
|
</columns>
|
||||||
</TableView>
|
</TableView>
|
||||||
<Label layoutX="14.0" layoutY="16.0" text="createBucket :" />
|
<Label layoutX="15.0" layoutY="24.0" text="createBucket :" />
|
||||||
<TextField fx:id="bucket_name" layoutX="111.0" layoutY="10.0" prefHeight="27.0" prefWidth="348.0" />
|
<TextField fx:id="bucket_name" layoutX="111.0" layoutY="18.0" prefHeight="27.0" prefWidth="348.0" />
|
||||||
<Label layoutX="23.0" layoutY="58.0" text="backetList :" />
|
<Label layoutX="23.0" layoutY="58.0" text="backetList :" />
|
||||||
<ComboBox fx:id="backet_list" layoutX="112.0" layoutY="52.0" prefHeight="27.0" prefWidth="346.0" />
|
<ComboBox fx:id="backet_list" layoutX="112.0" layoutY="52.0" prefHeight="27.0" prefWidth="346.0" />
|
||||||
<Label layoutX="28.0" layoutY="102.0" text="上传文件 :" />
|
<Label layoutX="28.0" layoutY="102.0" text="上传文件 :" />
|
||||||
<TextField fx:id="upload_path" layoutX="112.0" layoutY="96.0" prefHeight="27.0" prefWidth="346.0" />
|
<TextField fx:id="upload_path" layoutX="112.0" layoutY="96.0" prefHeight="27.0" prefWidth="346.0" />
|
||||||
<HBox layoutX="792.0" layoutY="6.0" />
|
<HBox layoutX="792.0" layoutY="6.0" />
|
||||||
<Button fx:id="choose_upload_file" layoutX="484.0" layoutY="98.0" mnemonicParsing="false" prefHeight="23.0" prefWidth="69.0" text="选择文件" />
|
<Button fx:id="choose_upload_file" layoutX="479.0" layoutY="98.0" mnemonicParsing="false" prefHeight="23.0" prefWidth="69.0" text="选择文件" />
|
||||||
<Button fx:id="upload" layoutX="484.0" layoutY="135.0" mnemonicParsing="false" prefHeight="23.0" prefWidth="58.0" text="上传" />
|
<Button fx:id="upload" layoutX="479.0" layoutY="135.0" mnemonicParsing="false" prefHeight="23.0" prefWidth="58.0" text="上传" />
|
||||||
<ImageView fx:id="preview" fitHeight="133.0" fitWidth="211.0" layoutX="955.0" layoutY="13.0" pickOnBounds="true" preserveRatio="true" />
|
<ImageView fx:id="preview" fitHeight="133.0" fitWidth="211.0" layoutX="955.0" layoutY="13.0" pickOnBounds="true" preserveRatio="true" />
|
||||||
<Button fx:id="bucket_btn" layoutX="484.0" layoutY="11.0" mnemonicParsing="false" text="创建bucket" />
|
<Button fx:id="bucket_btn" layoutX="479.0" layoutY="20.0" mnemonicParsing="false" text="创建bucket" />
|
||||||
<TextField fx:id="upload_path_dir" layoutX="112.0" layoutY="135.0" prefHeight="27.0" prefWidth="346.0" />
|
<TextField fx:id="upload_path_dir" layoutX="112.0" layoutY="135.0" prefHeight="27.0" prefWidth="346.0" />
|
||||||
<Label layoutX="15.0" layoutY="141.0" text="服务器相对路径:" />
|
<Label layoutX="15.0" layoutY="141.0" text="服务器相对路径:" />
|
||||||
<Button fx:id="connect_server" layoutX="609.0" layoutY="75.0" mnemonicParsing="false" prefHeight="43.0" prefWidth="117.0" text="连接服务器" />
|
<Button fx:id="connect_server" layoutX="609.0" layoutY="75.0" mnemonicParsing="false" prefHeight="43.0" prefWidth="117.0" text="连接服务器" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue