This commit is contained in:
pro.boooooo 2023-01-16 00:19:12 +01:00
parent 8cf664dbbb
commit 3e172218a6
2 changed files with 20 additions and 119 deletions

View File

@ -2,42 +2,33 @@
JAVA = java JAVA = java
JAVAC = javac JAVAC = javac
JAVADOC = javadoc JAVADOC = javadoc
OPTIONSDOCS = -d docs -private -public -protected -noqualifier all OPTIONSDOCS = -d docs -noqualifier all
OPTIONS = -d build -Xlint:unchecked -Xlint:deprecation OPTIONS = -d build/fr/sae/JSonInspector -Xlint:unchecked -Xlint:deprecation
EXT = .java EXT = .java
# CHEMINS # CHEMINS
SRC = src/ SRC = src/fr/sae/JSonInspector
BUILD = build/ BUILD = build/fr/sae/JSonInspector
DOCS = docs/ DOCS = docs/
CORE = Core CORE = Main
GraphicsPACKAGE = Graphics/
GraphicsPackageType = Graphics/Type/
ConsolePACKAGE = Console/
# POUR ALLER PLUS VITE # CHEMINS RELATIF AU PROJET
ALL = $(SRC)*$(EXT) $(SRC)$(ConsolePACKAGE)*$(EXT) $(SRC)$(GraphicsPACKAGE)*$(EXT) $(SRC)$(GraphicsPackageType)*$(EXT) EXCEPTION = ${SRCFULLPATH}/Exception
GRAPHICS = ${SRCFULLPATH}/Graphics
SETTINGS = ${SRCFULLPATH}/Settings
STORAGE = ${SRCFULLPATH}/Storage
MAIN = ${SRCFULLPATH}/Main.java
# LE FICHIER JSON (Pour mon test) .PHONY: clean docs
JSON = /home/bilal-linux/toFormat.json
.PHONY: console graphics clean docs
console:
make clean
mkdir build && mkdir docs
$(JAVAC) $(OPTIONS) $(ALL)
cd build && $(JAVA) $(CORE) $(JSON) && cd ..
graphics:
make clean
mkdir build && mkdir docs
$(JAVAC) $(OPTIONS) $(ALL)
cd build && $(JAVA) $(CORE) && cd ..
clean: clean:
rm -rf $(BUILD) && rm -rf $(DOCS) rm -rf ${BUILD} && rm -rf ${DOCS}
docs: docs:
rm -rf $(BUILD)* rm -rf ${BUILD}*
$(JAVADOC) $(OPTIONSDOCS) $(ALL) ${JAVADOC} ${OPTIONSDOCS} ${ALL}
# COMPILATION
${build}/Exception/JsonSyntaxException.class : ${EXCEPTION}/JsonSyntaxException.java
${JAVAC} ${JAVAC_OPTIONS} ${EXCEPTION}/JsonSyntaxException.java

View File

@ -1,90 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="69aa91be-5611-42c9-9edd-6b71bc260d1f" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/../rapport.tex" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/ArrayObjectListener.java" beforeDir="false" afterPath="$PROJECT_DIR$/Graphics/ArrayObjectListener.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/CoreJSONDescriptor.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Frame.java" beforeDir="false" afterPath="$PROJECT_DIR$/Graphics/Frame.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/GraphicFile.java" beforeDir="false" afterPath="$PROJECT_DIR$/Graphics/GraphicFile.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/JsonSyntaxException.java" beforeDir="false" afterPath="$PROJECT_DIR$/Exception/JsonSyntaxException.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Line.java" beforeDir="false" afterPath="$PROJECT_DIR$/Graphics/Line.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Main.java" beforeDir="false" afterPath="$PROJECT_DIR$/Main.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/MyJLabel.java" beforeDir="false" afterPath="$PROJECT_DIR$/Graphics/MyJLabel.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/MyJPanel.java" beforeDir="false" afterPath="$PROJECT_DIR$/Graphics/MyJPanel.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Node.java" beforeDir="false" afterPath="$PROJECT_DIR$/Storage/Node.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Other.java" beforeDir="false" afterPath="$PROJECT_DIR$/Storage/Other.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Parameters.java" beforeDir="false" afterPath="$PROJECT_DIR$/Settings/Parameters.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Tree.java" beforeDir="false" afterPath="$PROJECT_DIR$/Storage/Tree.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Type.java" beforeDir="false" afterPath="$PROJECT_DIR$/Storage/Type.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Value.java" beforeDir="false" afterPath="$PROJECT_DIR$/Storage/Value.java" afterDir="false" />
</list>
<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="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
</component>
<component name="MarkdownSettingsMigration">
<option name="stateVersion" value="1" />
</component>
<component name="ProjectId" id="2KNL1Ow3saeeR5uGp5TWiHuom3y" />
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
<component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent">
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
<property name="WebServerToolWindowFactoryState" value="false" />
</component>
<component name="RunManager">
<configuration name="Main" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="JsonInspector.Main" />
<module name="SAE32_2022" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="JsonInspector.Storage.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<recent_temporary>
<list>
<item itemvalue="Application.Main" />
</list>
</recent_temporary>
</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="69aa91be-5611-42c9-9edd-6b71bc260d1f" name="Changes" comment="" />
<created>1673809886930</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1673809886930</updated>
<workItem from="1673809891720" duration="280000" />
</task>
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" />
</component>
<component name="Vcs.Log.Tabs.Properties">
<option name="TAB_STATES">
<map>
<entry key="MAIN">
<value>
<State />
</value>
</entry>
</map>
</option>
</component>
</project>