forked from fanruan/report-schedule-result
charile_Lu
4 years ago
16 changed files with 934 additions and 0 deletions
@ -0,0 +1,16 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<project version="4"> |
||||||
|
<component name="CompilerConfiguration"> |
||||||
|
<annotationProcessing> |
||||||
|
<profile name="Maven default annotation processors profile" enabled="true"> |
||||||
|
<sourceOutputDir name="target/generated-sources/annotations" /> |
||||||
|
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" /> |
||||||
|
<outputRelativeToContentRoot value="true" /> |
||||||
|
<module name="plugin-reportresult-demo" /> |
||||||
|
</profile> |
||||||
|
</annotationProcessing> |
||||||
|
<bytecodeTargetLevel> |
||||||
|
<module name="plugin-reportresult-demo" target="1.5" /> |
||||||
|
</bytecodeTargetLevel> |
||||||
|
</component> |
||||||
|
</project> |
@ -0,0 +1,13 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<project version="4"> |
||||||
|
<component name="MavenProjectsManager"> |
||||||
|
<option name="originalFiles"> |
||||||
|
<list> |
||||||
|
<option value="$PROJECT_DIR$/pom.xml" /> |
||||||
|
</list> |
||||||
|
</option> |
||||||
|
</component> |
||||||
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK"> |
||||||
|
<output url="file://$PROJECT_DIR$/classes" /> |
||||||
|
</component> |
||||||
|
</project> |
@ -0,0 +1,8 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<project version="4"> |
||||||
|
<component name="ProjectModuleManager"> |
||||||
|
<modules> |
||||||
|
<module fileurl="file://$PROJECT_DIR$/plugin-reportresult-demo.iml" filepath="$PROJECT_DIR$/plugin-reportresult-demo.iml" /> |
||||||
|
</modules> |
||||||
|
</component> |
||||||
|
</project> |
@ -0,0 +1,124 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<project version="4"> |
||||||
|
<component name="Palette2"> |
||||||
|
<group name="Swing"> |
||||||
|
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> |
||||||
|
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" /> |
||||||
|
</item> |
||||||
|
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> |
||||||
|
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" /> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false"> |
||||||
|
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" /> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true"> |
||||||
|
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" /> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false"> |
||||||
|
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" /> |
||||||
|
<initial-values> |
||||||
|
<property name="text" value="Button" /> |
||||||
|
</initial-values> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false"> |
||||||
|
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> |
||||||
|
<initial-values> |
||||||
|
<property name="text" value="RadioButton" /> |
||||||
|
</initial-values> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false"> |
||||||
|
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> |
||||||
|
<initial-values> |
||||||
|
<property name="text" value="CheckBox" /> |
||||||
|
</initial-values> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false"> |
||||||
|
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" /> |
||||||
|
<initial-values> |
||||||
|
<property name="text" value="Label" /> |
||||||
|
</initial-values> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true"> |
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> |
||||||
|
<preferred-size width="150" height="-1" /> |
||||||
|
</default-constraints> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true"> |
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> |
||||||
|
<preferred-size width="150" height="-1" /> |
||||||
|
</default-constraints> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true"> |
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> |
||||||
|
<preferred-size width="150" height="-1" /> |
||||||
|
</default-constraints> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true"> |
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> |
||||||
|
<preferred-size width="150" height="50" /> |
||||||
|
</default-constraints> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> |
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> |
||||||
|
<preferred-size width="150" height="50" /> |
||||||
|
</default-constraints> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> |
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> |
||||||
|
<preferred-size width="150" height="50" /> |
||||||
|
</default-constraints> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true"> |
||||||
|
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" /> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false"> |
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> |
||||||
|
<preferred-size width="150" height="50" /> |
||||||
|
</default-constraints> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false"> |
||||||
|
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3"> |
||||||
|
<preferred-size width="150" height="50" /> |
||||||
|
</default-constraints> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false"> |
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> |
||||||
|
<preferred-size width="150" height="50" /> |
||||||
|
</default-constraints> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false"> |
||||||
|
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> |
||||||
|
<preferred-size width="200" height="200" /> |
||||||
|
</default-constraints> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false"> |
||||||
|
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> |
||||||
|
<preferred-size width="200" height="200" /> |
||||||
|
</default-constraints> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true"> |
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false"> |
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false"> |
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" /> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> |
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" /> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false"> |
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1"> |
||||||
|
<preferred-size width="-1" height="20" /> |
||||||
|
</default-constraints> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false"> |
||||||
|
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" /> |
||||||
|
</item> |
||||||
|
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> |
||||||
|
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" /> |
||||||
|
</item> |
||||||
|
</group> |
||||||
|
</component> |
||||||
|
</project> |
@ -0,0 +1,6 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<project version="4"> |
||||||
|
<component name="VcsDirectoryMappings"> |
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" /> |
||||||
|
</component> |
||||||
|
</project> |
@ -0,0 +1,402 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<project version="4"> |
||||||
|
<component name="ChangeListManager"> |
||||||
|
<list default="true" id="fd32311c-9a16-4d10-acbd-e238217585a5" name="Default Changelist" comment=""> |
||||||
|
<change afterPath="$PROJECT_DIR$/.idea/compiler.xml" afterDir="false" /> |
||||||
|
<change afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" /> |
||||||
|
<change afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" /> |
||||||
|
<change afterPath="$PROJECT_DIR$/.idea/uiDesigner.xml" afterDir="false" /> |
||||||
|
<change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" /> |
||||||
|
<change afterPath="$PROJECT_DIR$/plugin-reportresult-demo.iml" afterDir="false" /> |
||||||
|
</list> |
||||||
|
<ignored path="$PROJECT_DIR$/classes/" /> |
||||||
|
<ignored path="$PROJECT_DIR$/target/" /> |
||||||
|
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> |
||||||
|
<option name="SHOW_DIALOG" value="false" /> |
||||||
|
<option name="HIGHLIGHT_CONFLICTS" value="true" /> |
||||||
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> |
||||||
|
<option name="LAST_RESOLUTION" value="IGNORE" /> |
||||||
|
</component> |
||||||
|
<component name="DefaultGradleProjectSettings"> |
||||||
|
<option name="isMigrated" value="true" /> |
||||||
|
</component> |
||||||
|
<component name="FileEditorManager"> |
||||||
|
<leaf /> |
||||||
|
</component> |
||||||
|
<component name="FileTemplateManagerImpl"> |
||||||
|
<option name="RECENT_TEMPLATES"> |
||||||
|
<list> |
||||||
|
<option value="Class" /> |
||||||
|
</list> |
||||||
|
</option> |
||||||
|
</component> |
||||||
|
<component name="Git.Settings"> |
||||||
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" /> |
||||||
|
</component> |
||||||
|
<component name="IdeDocumentHistory"> |
||||||
|
<option name="CHANGED_PATHS"> |
||||||
|
<list> |
||||||
|
<option value="$PROJECT_DIR$/src/main/java/com/fr/plugin/reportresult/NewPreviewTypeLocaleFinder.java" /> |
||||||
|
<option value="$PROJECT_DIR$/src/main/java/com/fr/plugin/reportresult/NewReportResultLocaleFinder.java" /> |
||||||
|
<option value="$PROJECT_DIR$/src/main/java/com/fr/plugin/reportresult/CustomScheduleResult.java" /> |
||||||
|
<option value="$PROJECT_DIR$/src/main/java/com/fr/plugin/reportresult/CustomReportScheduleResult.java" /> |
||||||
|
<option value="$PROJECT_DIR$/plugin.xml" /> |
||||||
|
<option value="$PROJECT_DIR$/plugin-showtype-demo.iml" /> |
||||||
|
<option value="$PROJECT_DIR$/pom.xml" /> |
||||||
|
<option value="$PROJECT_DIR$/setting.gradle" /> |
||||||
|
<option value="$PROJECT_DIR$/build.xml" /> |
||||||
|
</list> |
||||||
|
</option> |
||||||
|
</component> |
||||||
|
<component name="MavenImportPreferences"> |
||||||
|
<option name="generalSettings"> |
||||||
|
<MavenGeneralSettings> |
||||||
|
<option name="localRepository" value="F:\Maven\my_maven_local_repository" /> |
||||||
|
<option name="mavenHome" value="$PROJECT_DIR$/../../apache-maven-3.6.1" /> |
||||||
|
<option name="userSettingsFile" value="F:\Maven\apache-maven-3.6.1\conf\settings.xml" /> |
||||||
|
</MavenGeneralSettings> |
||||||
|
</option> |
||||||
|
<option name="importingSettings"> |
||||||
|
<MavenImportingSettings> |
||||||
|
<option name="downloadDocsAutomatically" value="true" /> |
||||||
|
<option name="downloadSourcesAutomatically" value="true" /> |
||||||
|
<option name="importAutomatically" value="true" /> |
||||||
|
<option name="vmOptionsForImporter" value="-Xmx768m" /> |
||||||
|
</MavenImportingSettings> |
||||||
|
</option> |
||||||
|
</component> |
||||||
|
<component name="ProjectFrameBounds" extendedState="7"> |
||||||
|
<option name="x" value="950" /> |
||||||
|
<option name="width" value="980" /> |
||||||
|
<option name="height" value="1030" /> |
||||||
|
</component> |
||||||
|
<component name="ProjectLevelVcsManager" settingsEditedManually="true" /> |
||||||
|
<component name="ProjectView"> |
||||||
|
<navigator proportions="" version="1"> |
||||||
|
<foldersAlwaysOnTop value="true" /> |
||||||
|
</navigator> |
||||||
|
<panes> |
||||||
|
<pane id="PackagesPane" /> |
||||||
|
<pane id="Scope" /> |
||||||
|
<pane id="ProjectPane"> |
||||||
|
<subPane> |
||||||
|
<expand> |
||||||
|
<path> |
||||||
|
<item name="plugin-showtype-demo" type="b2602c69:ProjectViewProjectNode" /> |
||||||
|
<item name="report-schedule-result" type="462c0819:PsiDirectoryNode" /> |
||||||
|
</path> |
||||||
|
<path> |
||||||
|
<item name="plugin-showtype-demo" type="b2602c69:ProjectViewProjectNode" /> |
||||||
|
<item name="report-schedule-result" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="src" type="462c0819:PsiDirectoryNode" /> |
||||||
|
</path> |
||||||
|
<path> |
||||||
|
<item name="plugin-showtype-demo" type="b2602c69:ProjectViewProjectNode" /> |
||||||
|
<item name="report-schedule-result" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="src" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="main" type="462c0819:PsiDirectoryNode" /> |
||||||
|
</path> |
||||||
|
<path> |
||||||
|
<item name="plugin-showtype-demo" type="b2602c69:ProjectViewProjectNode" /> |
||||||
|
<item name="report-schedule-result" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="src" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="main" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="java" type="462c0819:PsiDirectoryNode" /> |
||||||
|
</path> |
||||||
|
<path> |
||||||
|
<item name="plugin-showtype-demo" type="b2602c69:ProjectViewProjectNode" /> |
||||||
|
<item name="report-schedule-result" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="src" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="main" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="java" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="com" type="462c0819:PsiDirectoryNode" /> |
||||||
|
</path> |
||||||
|
<path> |
||||||
|
<item name="plugin-showtype-demo" type="b2602c69:ProjectViewProjectNode" /> |
||||||
|
<item name="report-schedule-result" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="src" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="main" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="java" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="com" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="fr" type="462c0819:PsiDirectoryNode" /> |
||||||
|
</path> |
||||||
|
<path> |
||||||
|
<item name="plugin-showtype-demo" type="b2602c69:ProjectViewProjectNode" /> |
||||||
|
<item name="report-schedule-result" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="src" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="main" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="java" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="com" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="fr" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="plugin" type="462c0819:PsiDirectoryNode" /> |
||||||
|
</path> |
||||||
|
<path> |
||||||
|
<item name="plugin-showtype-demo" type="b2602c69:ProjectViewProjectNode" /> |
||||||
|
<item name="report-schedule-result" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="src" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="main" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="java" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="com" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="fr" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="plugin" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="reportresult" type="462c0819:PsiDirectoryNode" /> |
||||||
|
</path> |
||||||
|
<path> |
||||||
|
<item name="plugin-showtype-demo" type="b2602c69:ProjectViewProjectNode" /> |
||||||
|
<item name="report-schedule-result" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="src" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="main" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="resources" type="462c0819:PsiDirectoryNode" /> |
||||||
|
</path> |
||||||
|
<path> |
||||||
|
<item name="plugin-showtype-demo" type="b2602c69:ProjectViewProjectNode" /> |
||||||
|
<item name="report-schedule-result" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="src" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="main" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="resources" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="com" type="462c0819:PsiDirectoryNode" /> |
||||||
|
</path> |
||||||
|
<path> |
||||||
|
<item name="plugin-showtype-demo" type="b2602c69:ProjectViewProjectNode" /> |
||||||
|
<item name="report-schedule-result" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="src" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="main" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="resources" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="com" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="fr" type="462c0819:PsiDirectoryNode" /> |
||||||
|
</path> |
||||||
|
<path> |
||||||
|
<item name="plugin-showtype-demo" type="b2602c69:ProjectViewProjectNode" /> |
||||||
|
<item name="report-schedule-result" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="src" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="main" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="resources" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="com" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="fr" type="462c0819:PsiDirectoryNode" /> |
||||||
|
<item name="plugin" type="462c0819:PsiDirectoryNode" /> |
||||||
|
</path> |
||||||
|
</expand> |
||||||
|
<select /> |
||||||
|
</subPane> |
||||||
|
</pane> |
||||||
|
</panes> |
||||||
|
</component> |
||||||
|
<component name="PropertiesComponent"> |
||||||
|
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" /> |
||||||
|
<property name="WebServerToolWindowFactoryState" value="false" /> |
||||||
|
<property name="aspect.path.notification.shown" value="true" /> |
||||||
|
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" /> |
||||||
|
<property name="nodejs_npm_path_reset_for_default_project" value="true" /> |
||||||
|
<property name="settings.editor.selected.configurable" value="MavenSettings" /> |
||||||
|
</component> |
||||||
|
<component name="RunDashboard"> |
||||||
|
<option name="ruleStates"> |
||||||
|
<list> |
||||||
|
<RuleState> |
||||||
|
<option name="name" value="ConfigurationTypeDashboardGroupingRule" /> |
||||||
|
</RuleState> |
||||||
|
<RuleState> |
||||||
|
<option name="name" value="StatusDashboardGroupingRule" /> |
||||||
|
</RuleState> |
||||||
|
</list> |
||||||
|
</option> |
||||||
|
</component> |
||||||
|
<component name="RunManager"> |
||||||
|
<configuration default="true" type="JetRunConfigurationType" factoryName="Kotlin"> |
||||||
|
<module name="plugin-reportresult-demo" /> |
||||||
|
<option name="VM_PARAMETERS" /> |
||||||
|
<option name="PROGRAM_PARAMETERS" /> |
||||||
|
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> |
||||||
|
<option name="ALTERNATIVE_JRE_PATH" /> |
||||||
|
<option name="PASS_PARENT_ENVS" value="true" /> |
||||||
|
<option name="MAIN_CLASS_NAME" /> |
||||||
|
<option name="WORKING_DIRECTORY" /> |
||||||
|
<method v="2"> |
||||||
|
<option name="Make" enabled="true" /> |
||||||
|
</method> |
||||||
|
</configuration> |
||||||
|
<configuration default="true" type="KotlinStandaloneScriptRunConfigurationType" factoryName="Kotlin script"> |
||||||
|
<module name="plugin-reportresult-demo" /> |
||||||
|
<option name="filePath" /> |
||||||
|
<option name="vmParameters" /> |
||||||
|
<option name="alternativeJrePath" /> |
||||||
|
<option name="programParameters" /> |
||||||
|
<option name="passParentEnvs" value="true" /> |
||||||
|
<option name="workingDirectory" /> |
||||||
|
<option name="isAlternativeJrePathEnabled" value="false" /> |
||||||
|
<option name="VM_PARAMETERS" /> |
||||||
|
<option name="PROGRAM_PARAMETERS" /> |
||||||
|
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> |
||||||
|
<option name="ALTERNATIVE_JRE_PATH" /> |
||||||
|
<option name="PASS_PARENT_ENVS" value="true" /> |
||||||
|
<option name="MAIN_CLASS_NAME" /> |
||||||
|
<option name="WORKING_DIRECTORY" /> |
||||||
|
<option name="filePath" /> |
||||||
|
<option name="vmParameters" /> |
||||||
|
<option name="alternativeJrePath" /> |
||||||
|
<option name="programParameters" /> |
||||||
|
<option name="passParentEnvs" value="true" /> |
||||||
|
<option name="workingDirectory" /> |
||||||
|
<option name="isAlternativeJrePathEnabled" value="false" /> |
||||||
|
<option name="VM_PARAMETERS" /> |
||||||
|
<option name="PROGRAM_PARAMETERS" /> |
||||||
|
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> |
||||||
|
<option name="ALTERNATIVE_JRE_PATH" /> |
||||||
|
<option name="PASS_PARENT_ENVS" value="true" /> |
||||||
|
<option name="MAIN_CLASS_NAME" /> |
||||||
|
<option name="WORKING_DIRECTORY" /> |
||||||
|
<method v="2"> |
||||||
|
<option name="Make" enabled="true" /> |
||||||
|
</method> |
||||||
|
</configuration> |
||||||
|
</component> |
||||||
|
<component name="SvnConfiguration"> |
||||||
|
<configuration /> |
||||||
|
</component> |
||||||
|
<component name="TaskManager"> |
||||||
|
<task active="true" id="Default" summary="Default task"> |
||||||
|
<changelist id="fd32311c-9a16-4d10-acbd-e238217585a5" name="Default Changelist" comment="" /> |
||||||
|
<created>1605236704919</created> |
||||||
|
<option name="number" value="Default" /> |
||||||
|
<option name="presentableId" value="Default" /> |
||||||
|
<updated>1605236704919</updated> |
||||||
|
<workItem from="1605236706194" duration="917000" /> |
||||||
|
</task> |
||||||
|
<servers /> |
||||||
|
</component> |
||||||
|
<component name="TimeTrackingManager"> |
||||||
|
<option name="totallyTimeSpent" value="917000" /> |
||||||
|
</component> |
||||||
|
<component name="ToolWindowManager"> |
||||||
|
<frame x="-7" y="-7" width="1550" height="838" extended-state="7" /> |
||||||
|
<editor active="true" /> |
||||||
|
<layout> |
||||||
|
<window_info id="Designer" /> |
||||||
|
<window_info id="UI Designer" /> |
||||||
|
<window_info id="Favorites" side_tool="true" /> |
||||||
|
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.31190798" /> |
||||||
|
<window_info id="Structure" order="1" side_tool="true" weight="0.25" /> |
||||||
|
<window_info anchor="bottom" id="Docker" show_stripe_button="false" /> |
||||||
|
<window_info anchor="bottom" id="Database Changes" /> |
||||||
|
<window_info anchor="bottom" id="Version Control" /> |
||||||
|
<window_info anchor="bottom" id="Terminal" /> |
||||||
|
<window_info anchor="bottom" id="Event Log" side_tool="true" /> |
||||||
|
<window_info anchor="bottom" id="Message" order="0" /> |
||||||
|
<window_info anchor="bottom" id="Find" order="1" weight="0.32892805" /> |
||||||
|
<window_info anchor="bottom" id="Run" order="2" /> |
||||||
|
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" /> |
||||||
|
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" /> |
||||||
|
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" /> |
||||||
|
<window_info anchor="bottom" id="TODO" order="6" /> |
||||||
|
<window_info anchor="right" id="Palette" /> |
||||||
|
<window_info anchor="right" id="Maven" /> |
||||||
|
<window_info anchor="right" id="Palette	" /> |
||||||
|
<window_info anchor="right" id="Database" /> |
||||||
|
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" /> |
||||||
|
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" /> |
||||||
|
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" /> |
||||||
|
</layout> |
||||||
|
</component> |
||||||
|
<component name="TypeScriptGeneratedFilesManager"> |
||||||
|
<option name="version" value="1" /> |
||||||
|
</component> |
||||||
|
<component name="editorHistoryManager"> |
||||||
|
<entry file="file://$PROJECT_DIR$/src/main/java/com/fr/plugin/showtype/NewPreviewComponent.java"> |
||||||
|
<provider selected="true" editor-type-id="text-editor"> |
||||||
|
<state relative-caret-position="180"> |
||||||
|
<caret line="11" column="13" selection-start-line="11" selection-start-column="13" selection-end-line="11" selection-end-column="13" /> |
||||||
|
</state> |
||||||
|
</provider> |
||||||
|
</entry> |
||||||
|
<entry file="file://$PROJECT_DIR$/src/main/java/com/fr/plugin/showtype/NewPreviewScheduleType.java"> |
||||||
|
<provider selected="true" editor-type-id="text-editor"> |
||||||
|
<state relative-caret-position="200"> |
||||||
|
<caret line="15" column="13" selection-start-line="15" selection-start-column="13" selection-end-line="15" selection-end-column="13" /> |
||||||
|
</state> |
||||||
|
</provider> |
||||||
|
</entry> |
||||||
|
<entry file="file://$PROJECT_DIR$/src/main/resources/com/fr/plugin/reportresult/locale/newPreview.properties"> |
||||||
|
<provider selected="true" editor-type-id="text-editor" /> |
||||||
|
<provider editor-type-id="ResourceBundle" /> |
||||||
|
</entry> |
||||||
|
<entry file="file://$PROJECT_DIR$/src/main/java/com/fr/plugin/reportresult/NewReportResultLocaleFinder.java"> |
||||||
|
<provider selected="true" editor-type-id="text-editor"> |
||||||
|
<state relative-caret-position="220"> |
||||||
|
<caret line="12" column="42" selection-start-line="12" selection-start-column="42" selection-end-line="12" selection-end-column="42" /> |
||||||
|
</state> |
||||||
|
</provider> |
||||||
|
</entry> |
||||||
|
<entry file="file://$PROJECT_DIR$/src/main/java/com/fr/plugin/showtype/NewPreviewInitializeMonitor.java"> |
||||||
|
<provider selected="true" editor-type-id="text-editor"> |
||||||
|
<state relative-caret-position="180"> |
||||||
|
<caret line="12" column="13" selection-start-line="12" selection-start-column="13" selection-end-line="12" selection-end-column="13" /> |
||||||
|
</state> |
||||||
|
</provider> |
||||||
|
</entry> |
||||||
|
<entry file="file://$PROJECT_DIR$/plugin-reportresult-demo.iml"> |
||||||
|
<provider selected="true" editor-type-id="text-editor"> |
||||||
|
<state relative-caret-position="220"> |
||||||
|
<caret line="11" column="38" lean-forward="true" selection-start-line="11" selection-start-column="38" selection-end-line="11" selection-end-column="38" /> |
||||||
|
</state> |
||||||
|
</provider> |
||||||
|
</entry> |
||||||
|
<entry file="file://$PROJECT_DIR$/plugin.xml"> |
||||||
|
<provider selected="true" editor-type-id="text-editor"> |
||||||
|
<state relative-caret-position="240"> |
||||||
|
<caret line="12" column="7" lean-forward="true" selection-start-line="12" selection-start-column="7" selection-end-line="12" selection-end-column="7" /> |
||||||
|
</state> |
||||||
|
</provider> |
||||||
|
</entry> |
||||||
|
<entry file="file://$PROJECT_DIR$/setting.gradle"> |
||||||
|
<provider selected="true" editor-type-id="text-editor"> |
||||||
|
<state> |
||||||
|
<caret column="39" selection-start-column="39" selection-end-column="39" /> |
||||||
|
</state> |
||||||
|
</provider> |
||||||
|
</entry> |
||||||
|
<entry file="file://$PROJECT_DIR$/build.xml"> |
||||||
|
<provider selected="true" editor-type-id="text-editor"> |
||||||
|
<state relative-caret-position="180"> |
||||||
|
<caret line="9" column="46" selection-start-line="9" selection-start-column="46" selection-end-line="9" selection-end-column="46" /> |
||||||
|
</state> |
||||||
|
</provider> |
||||||
|
</entry> |
||||||
|
<entry file="file://$PROJECT_DIR$/src/main/java/com/fr/plugin/reportresult/CustomScheduleResult.java"> |
||||||
|
<provider selected="true" editor-type-id="text-editor"> |
||||||
|
<state relative-caret-position="200"> |
||||||
|
<caret line="12" column="5" selection-start-line="12" selection-start-column="5" selection-end-line="12" selection-end-column="5" /> |
||||||
|
</state> |
||||||
|
</provider> |
||||||
|
</entry> |
||||||
|
<entry file="file://$PROJECT_DIR$/src/main/java/com/fr/plugin/reportresult/CustomReportScheduleResult.java"> |
||||||
|
<provider selected="true" editor-type-id="text-editor"> |
||||||
|
<state relative-caret-position="80"> |
||||||
|
<caret line="4" column="13" lean-forward="true" selection-start-line="4" selection-start-column="13" selection-end-line="4" selection-end-column="13" /> |
||||||
|
</state> |
||||||
|
</provider> |
||||||
|
</entry> |
||||||
|
<entry file="file://$PROJECT_DIR$/pom.xml"> |
||||||
|
<provider selected="true" editor-type-id="text-editor"> |
||||||
|
<state relative-caret-position="198"> |
||||||
|
<caret line="28" column="67" selection-start-line="28" selection-start-column="67" selection-end-line="28" selection-end-column="67" /> |
||||||
|
</state> |
||||||
|
</provider> |
||||||
|
</entry> |
||||||
|
</component> |
||||||
|
<component name="masterDetails"> |
||||||
|
<states> |
||||||
|
<state key="ProjectJDKs.UI"> |
||||||
|
<settings> |
||||||
|
<last-edited>1.8</last-edited> |
||||||
|
<splitter-proportions> |
||||||
|
<option name="proportions"> |
||||||
|
<list> |
||||||
|
<option value="0.2" /> |
||||||
|
</list> |
||||||
|
</option> |
||||||
|
</splitter-proportions> |
||||||
|
</settings> |
||||||
|
</state> |
||||||
|
</states> |
||||||
|
</component> |
||||||
|
</project> |
@ -0,0 +1,120 @@ |
|||||||
|
apply plugin: 'java' |
||||||
|
|
||||||
|
|
||||||
|
ext { |
||||||
|
/** |
||||||
|
* 项目中依赖的jar的路径 |
||||||
|
* 1.如果依赖的jar需要打包到zip中,放置在lib根目录下 |
||||||
|
* 2.如果依赖的jar仅仅是编译时需要,防止在lib下子目录下即可 |
||||||
|
*/ |
||||||
|
libPath = "$projectDir/../webroot/WEB-INF/lib" |
||||||
|
|
||||||
|
/** |
||||||
|
* 是否对插件的class进行加密保护,防止反编译 |
||||||
|
*/ |
||||||
|
guard = false |
||||||
|
|
||||||
|
def pluginInfo = getPluginInfo() |
||||||
|
pluginPre = "fine-plugin" |
||||||
|
pluginName = pluginInfo.id |
||||||
|
pluginVersion = pluginInfo.version |
||||||
|
|
||||||
|
outputPath = "$projectDir/../webroot/WEB-INF/plugins/plugin-" + pluginName + "-1.0/classes" |
||||||
|
} |
||||||
|
|
||||||
|
group = 'com.fr.plugin' |
||||||
|
version = '10.0' |
||||||
|
sourceCompatibility = '8' |
||||||
|
|
||||||
|
sourceSets { |
||||||
|
main { |
||||||
|
java.outputDir = file(outputPath) |
||||||
|
output.resourcesDir = file(outputPath) |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
ant.importBuild("encrypt.xml") |
||||||
|
//定义ant变量 |
||||||
|
ant.projectDir = projectDir |
||||||
|
ant.references["compile.classpath"] = ant.path { |
||||||
|
fileset(dir: libPath, includes: '**/*.jar') |
||||||
|
fileset(dir: ".",includes:"**/*.jar" ) |
||||||
|
} |
||||||
|
|
||||||
|
classes.dependsOn('clean') |
||||||
|
|
||||||
|
task copyFiles(type: Copy,dependsOn: 'classes'){ |
||||||
|
from outputPath |
||||||
|
into "$projectDir/classes" |
||||||
|
} |
||||||
|
|
||||||
|
task preJar(type:Copy,dependsOn: guard ? 'compile_encrypt_javas' : 'compile_plain_javas'){ |
||||||
|
from "$projectDir/classes" |
||||||
|
into "$projectDir/transform-classes" |
||||||
|
include "**/*.*" |
||||||
|
} |
||||||
|
jar.dependsOn("preJar") |
||||||
|
|
||||||
|
task makeJar(type: Jar,dependsOn: preJar){ |
||||||
|
from fileTree(dir: "$projectDir/transform-classes") |
||||||
|
baseName pluginPre |
||||||
|
appendix pluginName |
||||||
|
version pluginVersion |
||||||
|
destinationDir = file("$buildDir/libs") |
||||||
|
|
||||||
|
doLast(){ |
||||||
|
delete file("$projectDir/classes") |
||||||
|
delete file("$projectDir/transform-classes") |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
task copyFile(type: Copy,dependsOn: ["makeJar"]){ |
||||||
|
from "$buildDir/libs" |
||||||
|
from("$projectDir/lib") { |
||||||
|
include "*.jar" |
||||||
|
} |
||||||
|
from "$projectDir/plugin.xml" |
||||||
|
into file("$buildDir/temp/plugin") |
||||||
|
} |
||||||
|
|
||||||
|
task zip(type:Zip,dependsOn:["copyFile"]){ |
||||||
|
from "$buildDir/temp/plugin" |
||||||
|
destinationDir file("$buildDir/install") |
||||||
|
baseName pluginPre |
||||||
|
appendix pluginName |
||||||
|
version pluginVersion |
||||||
|
} |
||||||
|
|
||||||
|
//控制build时包含哪些文件,排除哪些文件 |
||||||
|
processResources { |
||||||
|
// exclude everything |
||||||
|
// 用*.css没效果 |
||||||
|
// exclude '**/*.css' |
||||||
|
// except this file |
||||||
|
// include 'xx.xml' |
||||||
|
} |
||||||
|
|
||||||
|
/*读取plugin.xml中的version*/ |
||||||
|
def getPluginInfo(){ |
||||||
|
def xmlFile = file("plugin.xml") |
||||||
|
if (!xmlFile.exists()) { |
||||||
|
return ["id":"none", "version":"1.0.0"] |
||||||
|
} |
||||||
|
def plugin = new XmlParser().parse(xmlFile) |
||||||
|
def version = plugin.version[0].text() |
||||||
|
def id = plugin.id[0].text() |
||||||
|
return ["id":id,"version":version] |
||||||
|
} |
||||||
|
|
||||||
|
repositories { |
||||||
|
mavenLocal() |
||||||
|
maven { |
||||||
|
url = uri('http://mvn.finedevelop.com/repository/maven-public/') |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
dependencies { |
||||||
|
//使用本地jar |
||||||
|
implementation fileTree(dir: 'lib', include: ['**/*.jar']) |
||||||
|
implementation fileTree(dir: libPath, include: ['**/*.jar']) |
||||||
|
} |
@ -0,0 +1,128 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
||||||
|
<project basedir="." default="jar" name="plugin"> |
||||||
|
<!-- JDK路径,根据自己机器上实际位置修改--> |
||||||
|
<property name="jdk.home" value="D:/Java/jdk1.8.0_181"/> |
||||||
|
|
||||||
|
<property name="libs" value="${basedir}/lib"/> |
||||||
|
<property name="publicLibs" value=""/> |
||||||
|
<property name="reportLibs" value="${basedir}/lib/report"/> |
||||||
|
<property name="destLoc" value="."/> |
||||||
|
<property name="classes" value="classes"/> |
||||||
|
<xmlproperty file="${basedir}/plugin.xml"/> |
||||||
|
<property name="plugin.version" value="1.0.0"/> |
||||||
|
<property name="plugin.name" value="DEMO_Report_Schedule_Result"/> |
||||||
|
<property name="current-version" value="${plugin.version}"/> |
||||||
|
|
||||||
|
<!-- 插件版本--> |
||||||
|
<property name="plugin-version" value="${current-version}"/> |
||||||
|
<!-- 插件名字--> |
||||||
|
<property name="plugin-name" value="extendedCharts"/> |
||||||
|
<property name="plugin-jar" value="fr-plugin-${plugin-name}-${plugin-version}.jar"/> |
||||||
|
|
||||||
|
<target name="prepare"> |
||||||
|
<delete dir="${classes}"/> |
||||||
|
<delete dir="fr-plugin-${plugin-name}-${plugin-version}"/> |
||||||
|
<xmlproperty file="${basedir}/plugin.xml"/> |
||||||
|
<delete dir="${destLoc}/${plugin.name}"/> |
||||||
|
</target> |
||||||
|
<path id="compile.classpath"> |
||||||
|
<fileset dir="${libs}"> |
||||||
|
<include name="**/*.jar"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${publicLibs}"> |
||||||
|
<include name="**/*.jar"/> |
||||||
|
</fileset> |
||||||
|
<!--<fileset dir="${reportLibs}">--> |
||||||
|
<!--<include name="**/*.jar"/>--> |
||||||
|
<!--</fileset>--> |
||||||
|
</path> |
||||||
|
<patternset id="resources4Jar"> |
||||||
|
<exclude name="**/.settings/**"/> |
||||||
|
<exclude name=".classpath"/> |
||||||
|
<exclude name=".project"/> |
||||||
|
|
||||||
|
<exclude name="**/*.java"/> |
||||||
|
<exclude name="**/*.db"/> |
||||||
|
<exclude name="**/*.g"/> |
||||||
|
<exclude name="**/package.html"/> |
||||||
|
</patternset> |
||||||
|
<target name="copy_resources"> |
||||||
|
<echo message="从${resources_from}拷贝图片,JS,CSS等资源文件"/> |
||||||
|
<delete dir="tmp"/> |
||||||
|
<copy todir="tmp"> |
||||||
|
<fileset dir="${resources_from}/src/main/resources"> |
||||||
|
<patternset refid="resources4Jar"/> |
||||||
|
</fileset> |
||||||
|
</copy> |
||||||
|
<copy todir="${classes}"> |
||||||
|
<fileset dir="tmp"/> |
||||||
|
</copy> |
||||||
|
<delete dir="tmp"/> |
||||||
|
</target> |
||||||
|
<target name="compile_javas"> |
||||||
|
<echo message="编译${compile_files}下的Java文件"/> |
||||||
|
<javac destdir="${classes}" debug="false" includeantruntime="false" optimize="on" source="${source_jdk_version}" |
||||||
|
target="${target_jdk_version}" |
||||||
|
fork="true" memoryMaximumSize="512m" listfiles="false" srcdir="${basedir}" |
||||||
|
executable="${compile_jdk_version}/bin/javac"> |
||||||
|
<src path="${basedir}/src/main/java"/> |
||||||
|
<exclude name="**/.svn/**"/> |
||||||
|
<compilerarg line="-encoding UTF8 "/> |
||||||
|
<classpath refid="compile.classpath"/> |
||||||
|
</javac> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="jar_classes"> |
||||||
|
<echo message="打Jar包:${jar_name}"/> |
||||||
|
<delete file="${basedir}/${jar_name}"/> |
||||||
|
<jar jarfile="${basedir}/${jar_name}"> |
||||||
|
<fileset dir="${classes}"> |
||||||
|
</fileset> |
||||||
|
</jar> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="super_jar" depends="prepare"> |
||||||
|
<antcall target="copy_resources"> |
||||||
|
<param name="resources_from" value="${basedir}"/> |
||||||
|
</antcall> |
||||||
|
<antcall target="compile_javas"> |
||||||
|
<param name="source_jdk_version" value="1.8"/> |
||||||
|
<param name="target_jdk_version" value="1.8"/> |
||||||
|
<param name="compile_jdk_version" value="${jdk.home}"/> |
||||||
|
<param name="compile_files" value="${basedir}/src"/> |
||||||
|
</antcall> |
||||||
|
<echo message="compile plugin success!"/> |
||||||
|
|
||||||
|
<antcall target="jar_classes"> |
||||||
|
<param name="jar_name" value="${plugin-jar}"/> |
||||||
|
</antcall> |
||||||
|
<delete dir="${classes}"/> |
||||||
|
|
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="jar" depends="super_jar"> |
||||||
|
<antcall target="zip"/> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="zip"> |
||||||
|
<property name="plugin-folder" value="fr-plugin-${plugin-name}-${plugin-version}"/> |
||||||
|
<echo message="----------zip files----------"/> |
||||||
|
<mkdir dir="${plugin-folder}"/> |
||||||
|
<copy todir="${plugin-folder}"> |
||||||
|
<fileset dir="."> |
||||||
|
<include name="${plugin-jar}"/> |
||||||
|
<include name="plugin.xml"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${libs}"> |
||||||
|
<include name="*.jar"/> |
||||||
|
<include name="*.dll"/> |
||||||
|
</fileset> |
||||||
|
</copy> |
||||||
|
<zip destfile="${basedir}/${plugin-folder}.zip" basedir="."> |
||||||
|
<include name="${plugin-folder}/*.jar"/> |
||||||
|
<include name="${plugin-folder}/*.dll"/> |
||||||
|
<include name="${plugin-folder}/plugin.xml"/> |
||||||
|
</zip> |
||||||
|
<move file="${plugin-folder}.zip" todir="${destLoc}/${plugin.name}"/> |
||||||
|
</target> |
||||||
|
</project> |
@ -0,0 +1,10 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
||||||
|
<project> |
||||||
|
<target name="compile_javas" depends="copyFiles"> |
||||||
|
<echo message="编译${compile_files}下的Java文件"/> |
||||||
|
<taskdef name="pretreatment" classname="com.fr.plugin.pack.PluginPretreatmentTask"> |
||||||
|
<classpath refid="compile.classpath"/> |
||||||
|
</taskdef> |
||||||
|
<pretreatment baseDir="${projectDir}"/> |
||||||
|
</target> |
||||||
|
</project> |
@ -0,0 +1,15 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4"> |
||||||
|
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5"> |
||||||
|
<output url="file://E:/Tomcat/apache-tomcat-7.0.57-test/webapps/webroot/WEB-INF/plugins/plugin-com.fr.plugin.report.result-1.0/classes" /> |
||||||
|
<output-test url="file://$MODULE_DIR$/target/test-classes" /> |
||||||
|
<content url="file://$MODULE_DIR$"> |
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" /> |
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" /> |
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" /> |
||||||
|
<excludeFolder url="file://$MODULE_DIR$/target" /> |
||||||
|
</content> |
||||||
|
<orderEntry type="inheritedJdk" /> |
||||||
|
<orderEntry type="sourceFolder" forTests="false" /> |
||||||
|
</component> |
||||||
|
</module> |
@ -0,0 +1,18 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
||||||
|
<plugin> |
||||||
|
<id>com.fr.plugin.report.result</id> |
||||||
|
<name><![CDATA[自定义报表结果类型]]></name> |
||||||
|
<active>yes</active> |
||||||
|
<version>1.1</version> |
||||||
|
<env-version>10.0</env-version> |
||||||
|
<jartime>2020-08-24</jartime> |
||||||
|
<vendor>finereport.mata</vendor> |
||||||
|
<description><![CDATA[自定义报表结果类型]]></description> |
||||||
|
<change-notes><![CDATA[ |
||||||
|
<p>[2020-11-13]自定义报表结果类型</p> |
||||||
|
]]> |
||||||
|
</change-notes> |
||||||
|
<extra-decision> |
||||||
|
<ReportScheduleResultProvider class="com.fr.plugin.showtype.CustomReportScheduleResult"/> |
||||||
|
</extra-decision> |
||||||
|
</plugin> |
@ -0,0 +1,48 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<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/xsd/maven-4.0.0.xsd"> |
||||||
|
<parent> |
||||||
|
<artifactId>plugin</artifactId> |
||||||
|
<groupId>com.fr.maven</groupId> |
||||||
|
<version>10.0</version> |
||||||
|
</parent> |
||||||
|
<modelVersion>4.0.0</modelVersion> |
||||||
|
|
||||||
|
<artifactId>plugin-reportresult-demo</artifactId> |
||||||
|
<dependencies> |
||||||
|
<dependency> |
||||||
|
<groupId>com.fr.decision</groupId> |
||||||
|
<artifactId>decision-report-feature</artifactId> |
||||||
|
<version>10.0</version> |
||||||
|
<scope>compile</scope> |
||||||
|
</dependency> |
||||||
|
<dependency> |
||||||
|
<groupId>com.fr.schedule</groupId> |
||||||
|
<artifactId>schedule-report-feature</artifactId> |
||||||
|
<version>10.0</version> |
||||||
|
<scope>compile</scope> |
||||||
|
</dependency> |
||||||
|
</dependencies> |
||||||
|
|
||||||
|
<build> |
||||||
|
<sourceDirectory>${basedir}/src/main/java</sourceDirectory> |
||||||
|
|
||||||
|
<!---如果要更改调试插件,改这里的配置就可以了--> |
||||||
|
<outputDirectory> |
||||||
|
E:/Tomcat/apache-tomcat-7.0.57-test/webapps/webroot/WEB-INF/plugins/plugin-com.fr.plugin.report.result-1.0/classes |
||||||
|
</outputDirectory> |
||||||
|
|
||||||
|
<plugins> |
||||||
|
<plugin> |
||||||
|
<groupId>org.apache.maven.plugins</groupId> |
||||||
|
<artifactId>maven-compiler-plugin</artifactId> |
||||||
|
<configuration> |
||||||
|
<source>8</source> |
||||||
|
<target>8</target> |
||||||
|
</configuration> |
||||||
|
</plugin> |
||||||
|
</plugins> |
||||||
|
</build> |
||||||
|
|
||||||
|
</project> |
@ -0,0 +1,9 @@ |
|||||||
|
package com.fr.plugin.reportresult; |
||||||
|
|
||||||
|
public class CustomReportScheduleResult extends AbstractReportScheduleResultProvider { |
||||||
|
|
||||||
|
@Override |
||||||
|
public ScheduleResultProvider customResult() { |
||||||
|
return new CustomScheduleResult(); |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,15 @@ |
|||||||
|
package com.fr.plugin.reportresult; |
||||||
|
|
||||||
|
public class CustomScheduleResult implements ScheduleResultProvider { |
||||||
|
|
||||||
|
@Override |
||||||
|
public String getResultSuffix() { |
||||||
|
return "test"; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public Weblet accessResult(HttpServletRequest req, String path, String fileName, ScheduleShowType showType) throws Exception { |
||||||
|
return null; |
||||||
|
} |
||||||
|
} |
||||||
|
|
Loading…
Reference in new issue