Commit a6ff3625 authored by mohammad.salama's avatar mohammad.salama

Port Scanner with Jar

parent 6d816d17
PortScanner
\ No newline at end of file
<component name="ArtifactManager">
<artifact type="jar" name="JavaPortScanner-master:jar">
<output-path>$PROJECT_DIR$/out/artifacts/JavaPortScanner_master_jar</output-path>
<root id="archive" name="JavaPortScanner-master.jar">
<element id="module-output" name="JavaPortScanner-master" />
<element id="extracted-dir" path="$PROJECT_DIR$/lib/hamcrest-core-1.3.jar" path-in-jar="/" />
<element id="extracted-dir" path="$PROJECT_DIR$/lib/junit-4.12.jar" path-in-jar="/" />
</root>
</artifact>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="17" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" project-jdk-name="11" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ArtifactsWorkspaceSettings">
<artifacts-to-build>
<artifact name="JavaPortScanner-master:jar" />
</artifacts-to-build>
</component>
<component name="ChangeListManager">
<list default="true" id="bc0e4876-bdca-4575-8e2f-e6d1b5942353" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/.idea/.name" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/artifacts/JavaPortScanner_master_jar.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/META-INF/MANIFEST.MF" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/out/production/JavaPortScanner-master/driver/Driver.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/JavaPortScanner-master/driver/Driver.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/driver/Driver.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/driver/Driver.java" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
......@@ -29,13 +39,18 @@
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent">{
&quot;keyToString&quot;: {
&quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"RunOnceActivity.OpenProjectViewOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"SHARE_PROJECT_CONFIGURATION_FILES": "true",
"last_opened_file_path": "D:/HIAST/FIY/FS/Parallel Programming/Lab/2/HW/JavaPortScanner-master",
"project.structure.last.edited": "Artifacts",
"project.structure.proportion": "0.15",
"project.structure.side.proportion": "0.2"
}
}</component>
<component name="RunManager">
}]]></component>
<component name="RunManager" selected="Application.Driver">
<configuration name="Driver" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="driver.Driver" />
<module name="JavaPortScanner-master" />
......@@ -83,9 +98,9 @@
</configuration>
<recent_temporary>
<list>
<item itemvalue="Application.Driver" />
<item itemvalue="JUnit.IPv4IteratorTest.MAIN" />
<item itemvalue="JUnit.ParserTest.MAIN" />
<item itemvalue="Application.Driver" />
</list>
</recent_temporary>
</component>
......
File added
Manifest-Version: 1.0
Main-Class: driver.Driver
Manifest-Version: 1.0
Main-Class: driver.Driver
......@@ -55,7 +55,8 @@ public class Driver {
public static void main(String[] args) {
// get a Target info from Parser
List<Target> targets = new ArrayList<>();
String[] Args = takeInput();
String[] Args = args;
///String[] Args = takeInput();
try {
targets = Parser.run(Args);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment