How to compile a single file in a project
843810Mar 3 2010 — edited Mar 7 2010I have placed my java connector file called "xxxTargetconnector .class" in the below mentioned path
D:\FSCM9DMO\webserv\FSCMDMO9\applications\peoplesoft\PSIGW\WEB-INF\classes\com\peoplesoft\pt\integrationgateway\targetconnector
I have converted the above class file in to a java file using a decompiler.Now i would like to recompile the java file to get the byte code.This class file imports many class files from jar files which is placed in the below mentioned path.
D:\FSCM9DMO\webserv\Cybersource.
Before compiling i set the path to include the jar files
for ex , set path = D:\FSCM9DMO\webserv\Cybersource
For compilation i went to the below path using command prompt and compiled the particular file.
D:\FSCM9DMO\webserv\FSCMDMO9\applications\peoplesoft\PSIGW\WEB-INF\classes\com\peoplesoft\pt\integrationgateway\targetconnector>javac xxxTargetConnector.java
Unfortunately i got around 99 errors saying
xxxTargetConnector.java:187: cannot find symbol
symbol : variable Logger
location: class com.peoplesoft.pt.integrationgateway.targetconnector.xxxTargetConnector
How to compile a single file in a project ?