Anonymous - 2010-04-30

i tried to compile SimplePDP.java like

root@kulaudo:~/sunxacml-1.2/sample/src# ls
LDAPPolicyFinderModule.java  SamplePolicyBuilder.java       SampleRequestBuilder.java  sunxacml.jar
SampleAttrFinderModule.java  SamplePolicyFinderModule.java  SimplePDP.java             TimeInRangeFunction.java

root@kulaudo:~/sunxacml-1.2/sample/src# javac SimplePDP.java
SimplePDP.java:36: package com.sun.xacml does not exist
import com.sun.xacml.ConfigurationStore;
                    ^
SimplePDP.java:37: package com.sun.xacml does not exist
import com.sun.xacml.Indenter;
                    ^
….

SimplePDP.java:210: cannot find symbol
symbol  : class Indenter
location: class SimplePDP
        response.encode(System.out, new Indenter());
                                        ^
42 errors

root@kulaudo:~/sunxacml-1.2/sample/src# javac -cp sunxacml.jar SimplePDP.java
SimplePDP.java:143: cannot find symbol
symbol  : class TimeInRangeFunction
location: class SimplePDP
        factory.addFunction(new TimeInRangeFunction());
                                ^
Note: SimplePDP.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
root@kulaudo:~/sunxacml-1.2/sample/src# javac -cp sunxacml.jar TimeInRangeFunction.java
root@kulaudo:~/sunxacml-1.2/sample/src# javac -cp sunxacml.jar SimplePDP.java
SimplePDP.java:143: cannot find symbol
symbol  : class TimeInRangeFunction
location: class SimplePDP
        factory.addFunction(new TimeInRangeFunction());
                                ^
Note: SimplePDP.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error