I am trying to build the latest slide from CVS and I get down to
5 errors and 36 warnings with all the warnings deprecated methods similar to:
[javac]
/root/eclipse/workspace/jakarta-slide/src/share/org/apache/slide/search/basic/BasicQueryScope.java:142:
warning: getChild(java.lang.String,org.jdom.Namespace) in org.jdom.Element
has been deprecated
[javac] Element scope = fromElement.getChild
(Literals.SCOPE, namespace);
The five errors are also quite similar and all in the same file.
[javac]
/root/eclipse/workspace/jakarta-slide/src/share/org/apache/slide/util/XMLValue.java:385:
cannot resolve symbol
[javac] symbol : variable E_HREF
[javac] location: class org.apache.slide.util.XMLValue
[javac] Element href = new Element(E_HREF,
NodeProperty.NamespaceCache.DEFAULT_NAMESPACE);
Since WebdavConstants does declare the E_HREF constant, I can only guess
that the build is failing due to path problems.
So I manually inserted
String E_HREF = "href";
in the XMLValue.java and indeed the build results changed to 2 errors:
[javac]
/root/eclipse/workspace/jakarta-slide/src/share/org/apache/slide/util/XMLValue.java:72:
package org.apache.slide.webdav.util does not exist
[javac] import org.apache.slide.webdav.util.WebdavConstants;
[javac] ^
[javac]
/root/eclipse/workspace/jakarta-slide/src/share/org/apache/slide/util/XMLValue.java:97:
cannot resolve symbol
[javac] symbol : class WebdavConstants
[javac] location: class org.apache.slide.util.XMLValue
[javac] public class XMLValue implements Cloneable, Comparable,
WebdavConstants {
Questions
1) How can I setup my eclipse so it doesn't get the "The declared package
does not match the expected package", given that I checked out the Slide
project from cvs.apache.org using the CVS Perspective in eclipse?
2) How do I edit the build.xml to get a good build from what I have told you.
3) Can I help with getting a release of Slide 2.0?
Opinion
It would help people like me that want to use Slide if there was a good
set of binaries in a Release, that could be downloaded, installed and run.
1.0.16 is so old that it gives a bad impression and if my experience is
an indicator, many will give up trying to build 2.0, just to try it. If
the Slide community wants to enlist additional contributors (and why
wouldn't you), then doing a release will get good press, increase
interest and increase the number of contributors.
Michael Oliver
CTO/Matrix Intermedia
7391 S. Bullrider Ave.
Tucson, AZ 85747
Office (520)574-1150
Cell (518)378-6154
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]