Answer To: ITECH XXXXXXXXXXAssignment 1 Specification ITECH7201 Software Engineering: Analysis and Design...
Meenakshi answered on Oct 07 2020
JavaApplicationgame/build.xml
Builds, tests, and runs the project JavaApplicationgame.
JavaApplicationgame/build/built-jar.properties
#Sun, 07 Oct 2018 08:35:20 +0530
C\:\\Users\\DELL\\Documents\\NetBeansProjects\\JavaApplicationgame=
JavaApplicationgame/build/classes/javaapplicationgame/Enemy.class
package javaapplicationgame;
public synchronized class Enemy {
private int lives;
private boolean death;
public void Enemy();
public void Enemy(int, boolean);
public int attack();
public int damage(int);
public void setLives(int);
public int getLives();
public void setDeath(boolean);
public boolean getDeath();
public String toString();
}
JavaApplicationgame/build/classes/javaapplicationgame/GAMEPLAYER.class
package javaapplicationgame;
public synchronized class GAMEPLAYER {
private String name;
private int health;
private boolean death;
private boolean[] inventory;
public void GAMEPLAYER();
public void GAMEPLAYER(String, int, boolean, boolean[]);
public void setName(String);
public String getName();
public void setHealth(int);
public int getHealth();
public void setDeath(boolean);
public boolean getDeath();
public void setInventory(boolean[]);
public boolean[] getInventory();
public int damage(int);
public void heal();
public int attack();
public String toString();
}
JavaApplicationgame/build/classes/javaapplicationgame/JavaApplicationgame.class
package javaapplicationgame;
public synchronized class JavaApplicationgame {
public void JavaApplicationgame();
public static void main(String[]);
}
JavaApplicationgame/build/classes/javaapplicationgame/Startgame.class
package javaapplicationgame;
public synchronized class Startgame {
private final int LOBBY;
private final int BAR;
private final int KITCHEN;
private final int BEDROOM;
private final int BATHROOM;
private final int OUTSIDE;
private int roomNum;
public void Startgame();
public void Startgame(int);
public void setRoomNumber(int);
public int getRoomNumber();
public String getRoomDescription(boolean[], Enemy);
public boolean[] lobbyRoom(String, boolean[], GAMEPLAYER);
public boolean[] barRoom(String, boolean[], GAMEPLAYER);
public boolean[] kitchenRoom(String, boolean[], GAMEPLAYER, Enemy);
public boolean[] bedRoom(String, boolean[], GAMEPLAYER);
public boolean[] bathRoom(String, boolean[], GAMEPLAYER);
public boolean[] outsideRoom(String, boolean[], GAMEPLAYER, Enemy);
}
JavaApplicationgame/dist/JavaApplicationgame.jar
META-INF/MANIFEST.MF
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.9.7
Created-By: 1.8.0_181-b13 (Oracle Corporation)
Class-Path:
X-COMMENT: Main-Class will be added automatically by build
Main-Class: javaapplicationgame.JavaApplicationgame
javaapplicationgame/Enemy.class
package javaapplicationgame;
public synchronized class Enemy {
private int lives;
private boolean death;
public void Enemy();
public void Enemy(int, boolean);
public int attack();
public int damage(int);
public void setLives(int);
public int getLives();
public void setDeath(boolean);
public boolean getDeath();
public String toString();
}
javaapplicationgame/GAMEPLAYER.class
package javaapplicationgame;
public synchronized class GAMEPLAYER {
private String name;
private int health;
private boolean death;
private boolean[] inventory;
public void GAMEPLAYER();
public void GAMEPLAYER(String, int, boolean, boolean[]);
public void setName(String);
public String getName();
public void setHealth(int);
public int getHealth();
public void setDeath(boolean);
public boolean getDeath();
public void setInventory(boolean[]);
public boolean[] getInventory();
public int damage(int);
public void heal();
public int attack();
public String toString();
}
javaapplicationgame/JavaApplicationgame.class
package javaapplicationgame;
public synchronized class JavaApplicationgame {
public void JavaApplicationgame();
public static void main(String[]);
}
javaapplicationgame/Startgame.class
package javaapplicationgame;
public synchronized class Startgame {
private final int LOBBY;
private final int BAR;
private final int KITCHEN;
private final int BEDROOM;
private final int BATHROOM;
private final int OUTSIDE;
private int roomNum;
public void Startgame();
public void Startgame(int);
public void setRoomNumber(int);
public int getRoomNumber();
public String getRoomDescription(boolean[], Enemy);
public boolean[] lobbyRoom(String, boolean[], GAMEPLAYER);
public boolean[] barRoom(String, boolean[], GAMEPLAYER);
public boolean[] kitchenRoom(String, boolean[], GAMEPLAYER, Enemy);
public boolean[] bedRoom(String, boolean[], GAMEPLAYER);
public boolean[] bathRoom(String, boolean[], GAMEPLAYER);
public boolean[] outsideRoom(String, boolean[], GAMEPLAYER, Enemy);
}
JavaApplicationgame/dist/README.TXT
========================
BUILD OUTPUT DESCRIPTION
========================
When you build an Java application project that has a main class, the IDE
automatically copies all of the JAR
files on the projects classpath to your projects dist/lib folder. The IDE
also adds each of the JAR files to the Class-Path element in the application
JAR files manifest file (MANIFEST.MF).
To run the project from the command line, go to the dist folder and
type the following:
java -jar "JavaApplicationgame.jar"
To distribute this project, zip up the dist folder (including the lib folder)
and distribute the ZIP file.
Notes:
* If two JAR files on the project classpath have the same name, only the first
JAR file is copied to the lib folder.
* Only JAR files are copied to the lib folder.
If the classpath contains other types of files or folders, these files (folders)
are not copied.
* If a library on the projects classpath also has a Class-Path element
specified in the manifest,the content of the Class-Path element has to be on
the projects runtime path.
* To set a main class in a standard Java project, right-click the project node
in the Projects window and choose Properties. Then click Run and enter the
class name in the Main Class field. Alternatively, you can manually type the
class name in the manifest Main-Class element.
JavaApplicationgame/manifest.mf
Manifest-Version: 1.0
X-COMMENT: Main-Class will be added automatically by build
JavaApplicationgame/nbproject/build-impl.xml
Must set src.dir
Must set test.src.dir
Must set build.dir
Must set dist.dir
Must set build.classes.dir
Must set dist.javadoc.dir
Must set build.test.classes.dir
Must set build.test.results.dir
Must set build.classes.excludes
Must set dist.jar
Must set javac.includes
No tests executed.
Must set JVM to use for profiling in profiler.info.jvm
Must set profiler agent JVM arguments in profiler.info.jvmargs.agent
Must select some files in the IDE or set javac.includes
To run this application from the command line without Ant, try:
java -jar "${dist.jar.resolved}"
Must select one file in the IDE or set run.class
Must select one file in the IDE or set run.class
Must select one file in the IDE or set debug.class
Must select one file in the IDE or set debug.class
Must set fix.includes
This target only works when run from inside the NetBeans IDE.
Must select one file in the IDE or set profile.class
This target only works when run from inside the NetBeans IDE.
This target only works when run from inside the NetBeans IDE.
This target only works when run from inside the NetBeans IDE.
Must select one file in the IDE or set run.class
Must select some files in the IDE or set test.includes
Must select one file in the IDE or set run.class
Must select one file in the IDE or set applet.url
Must select some files in the IDE or set javac.includes
Some tests failed; see details above.
Must select some files in the IDE or set test.includes
Some tests failed; see details above.
Must select some files in the IDE or set test.class
Must select some method in the IDE or set test.method
Some tests failed; see details above.
Must select one file in the IDE or set test.class
Must select one file in the IDE or set test.class
Must select some method in the IDE or set test.method
Must select one file in the IDE or set applet.url
Must select one file in the IDE or set applet.url
...