Can you try checking out into a new directory, then try building from there?
Patricia Shanahan wrote:
"ant all.clean" makes the whole build directory go away:
$ ls
DISCLAIMER KEYS LICENSE NOTICE build.properties build.xml
common.xml doc examples lib myBuildLog.txt poms qa src test wk1
Patricia
On 8/2/2010 12:10 AM, Peter Firmstone wrote:
Try running ant all.clean again, then look at build/deps, it should be
empty.
Perhaps ant all.clean isn't cleaning everything in your case?
Peter.
Patricia Shanahan wrote:
Here it is, but it does not make sense to me. As far as I can tell,
RevokeablePolicy is only mentioned in comments and build reports. I
have checked that PreferredClassLoader.class was rebuilt.
Patricia
$ find . -type f -exec grep 'RevokeablePolicy' '{}' ';' -print
org\apache\river\api\security\RevokeablePolicy.class
./build/deps/jsk-platform.deps
[java] Warning: Class not found:
org.apache.river.api.security.RevokeablePolicy
[java] Warning: Class not found:
org.apache.river.api.security.RevokeablePolicy
[java] Warning: Class not found:
org.apache.river.api.security.RevokeablePolicy
./myBuildLog.txt
* RevokeablePolicy, hence the constructor change.
./src/net/jini/loader/pref/.svn/text-base/PreferredClassLoader.java.svn-base
* RevokeablePolicy, hence the constructor change.
./src/net/jini/loader/pref/PreferredClassLoader.java
On 8/1/2010 3:36 PM, Peter Firmstone wrote:
Can you run a search for RevokeablePolicy, so I can track down the
dependency and fix the files? Sounds like there's a problem on svn
somewhere.
Patricia Shanahan wrote:
I did that, and get the same results. I get several warnings during
jar building:
jini-ext.jar:
[java] Warning: Class not found:
org.apache.river.api.security.RevokeablePolicy
[jar] Building jar: C:\apache\river\jtsk\trunk\lib\jini-ext.jar
jsk-dl.jar:
[jar] Building jar: C:\apache\river\jtsk\trunk\lib-dl\jsk-dl.jar
jsk-lib.jar:
[java] Warning: Class not found:
org.apache.river.api.security.RevokeablePolicy
[jar] Building jar: C:\apache\river\jtsk\trunk\lib\jsk-lib.jar
jsk-resources.jar:
[jar] Building jar: C:\apache\river\jtsk\trunk\lib\jsk-resources.jar
jsk-platform.jar:
[java] Warning: Class not found:
org.apache.river.api.security.RevokeablePolicy
[jar] Building jar: C:\apache\river\jtsk\trunk\lib\jsk-platform.jar
followed by:
BUILD FAILED
C:\apache\river\jtsk\trunk\build.xml:783: The following error
occurred
while executing this line:
C:\apache\river\jtsk\trunk\common.xml:195:
java.lang.NoClassDefFoundError: org/apache/river/api/security/Denied
On 8/1/2010 2:54 PM, Peter Firmstone wrote:
RevokeablePolicy shouldn't be there, it was renamed to
RevokeableDynamicPolicy.
can you try ant all.clean and run svn update again?
Patricia Shanahan wrote:
On 7/31/2010 3:24 PM, Peter Firmstone wrote:
...
To get all these tests functioning on Windows, I suggest we
attempt
using the make build, this might give us some insight into some
of the
platform support problems. Try both the qa tests and the jtreg
tests if
you can.
...
I just tried building the latest revision with "ant build.all", and
got failure due to missing classes:
org.apache.river.api.security.RevokeablePolicy
org/apache/river/api/security/Denied
The .java files for those classes are present, in the expected
place
based on the fully qualified names.
Patricia