Ok that is clear :) enum is reserved these days.. You can do 2 things about 
this :
Refactor all enum variables to be eg en or change the build.xml javac elements to include eg source="1.3" (or make that a setting in the buld).

Mvgr,
Martin

ould sid'ahmed wrote:
Martin van den Bemt a écrit :
Don't know much about slide, but sending the compilation errors to the list, will probably make it easier to see what is wrong..

Mvgr,
Martin

ould sid'ahmed wrote:
aslam bari a écrit :
May be the file class file is:
  [org.apache.slide.store.txfile.TxXMLFileDescriptorsStore]
  try this.
ould sid'ahmed <[EMAIL PROTECTED]> wrote: hello, I currently work on Slide2.1, but I do not know how I can make my own treatment. for example, if the user upload a file, I want that I create metadata for this file. and where is the classes which make the creation of file in slide source.

Think's.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



                ---------------------------------
Here’s a new way to find what you're looking for - Yahoo! Answers

thank you for your answer,

but, I have a problem, i.e. I cannot compile the resource, because I use jdk1.5, when I compile, it returns me an error of compilation related to the jdk1.4 .

think's


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Here, the error that it posts me  :

Buildfile: D:\MyWorkspaceNew\Slide\build.xml
main:
    [echo] Building Slide Core API
    [echo] Building Slide WebDAV Servlet
    [echo] Building Standard Stores
    [echo] Building Default Roles
    [echo] Building JAAS LoginModule
prepare-dist:
    [echo] Creating distribution directories
detect.display:
    [echo] +-------------------------------------------------------
    [echo] | Build environment for Jakarta-Slide 2.1
    [echo] |
    [echo] | Note:
    [echo] |   If ${property.name} is displayed for a library
    [echo] |   instead of 'true', that library is not present.
    [echo] +-------------------------------------------------------
    [echo] Environment:
[echo] Java home C:\Program Files\Java\jdk1.5.0_06\jre
    [echo] Java version                  1.5
    [echo] Build options:
    [echo] Generate debugging info       true
    [echo] Display deprecation info      true
    [echo] Optimize                      true
    [echo] Target                        1.4
    [echo] Build directory               ./build
    [echo] Distribution directory        ./dist
    [echo] Distribution archive name     ./jakarta-slide-server-bin-2.1
    [echo] Libraries:
    [echo] JAXP (1.1 or later)           true
    [echo] XML DOM Level 2 API           true
    [echo] XML SAX 2 API                 true
    [echo] Optional Tomcat bundle:
    [echo] Tomcat (4.1.x or 5.0.x)       ${catalina.dist}
    [echo] Present                       ${catalina.present}
detect.fail:
detect:
prepare:
doc:
   [style] Transforming into D:\MyWorkspaceNew\Slide\build\doc
javadoc:
 [javadoc] Generating Javadoc
 [javadoc] Javadoc execution
[javadoc] Loading source files for package org.apache.slide.authenticate...
 [javadoc] Loading source files for package org.apache.slide.cluster...
 [javadoc] Loading source files for package org.apache.slide.common...
 [javadoc] Loading source files for package org.apache.slide.content...
 [javadoc] Loading source files for package org.apache.slide.event...
 [javadoc] Loading source files for package org.apache.slide.extractor...
 [javadoc] Loading source files for package org.apache.slide.lock...
 [javadoc] Loading source files for package org.apache.slide.macro...
 [javadoc] Loading source files for package org.apache.slide.search...
[javadoc] Loading source files for package org.apache.slide.search.basic... [javadoc] D:\MyWorkspaceNew\Slide\src\share\org\apache\slide\search\basic\ComparableResourceImpl.java:357: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
 [javadoc] (try -source 1.4 or lower to use 'enum' as an identifier)
 [javadoc] Enumeration enum = revisionDescriptor.enumerateProperties();
 [javadoc] ^
[javadoc] D:\MyWorkspaceNew\Slide\src\share\org\apache\slide\search\basic\ComparableResourceImpl.java:359: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
 [javadoc] (try -source 1.4 or lower to use 'enum' as an identifier)
 [javadoc] if (enum != null) {
 [javadoc] ^
[javadoc] D:\MyWorkspaceNew\Slide\src\share\org\apache\slide\search\basic\ComparableResourceImpl.java:360: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
 [javadoc] (try -source 1.4 or lower to use 'enum' as an identifier)
 [javadoc] while (enum.hasMoreElements()) {
 [javadoc] ^
[javadoc] D:\MyWorkspaceNew\Slide\src\share\org\apache\slide\search\basic\ComparableResourceImpl.java:361: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
 [javadoc] (try -source 1.4 or lower to use 'enum' as an identifier)
 [javadoc] property = (NodeProperty)enum.nextElement();
 [javadoc] ^
[javadoc] D:\MyWorkspaceNew\Slide\src\share\org\apache\slide\search\basic\ComparableResourceImpl.java:385: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
 [javadoc] (try -source 1.4 or lower to use 'enum' as an identifier)
 [javadoc] Enumeration enum = revisionDescriptor.enumerateProperties();
 [javadoc] ^
[javadoc] D:\MyWorkspaceNew\Slide\src\share\org\apache\slide\search\basic\ComparableResourceImpl.java:386: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
 [javadoc] (try -source 1.4 or lower to use 'enum' as an identifier)
 [javadoc] if (enum != null) {
 [javadoc] ^
[javadoc] D:\MyWorkspaceNew\Slide\src\share\org\apache\slide\search\basic\ComparableResourceImpl.java:387: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
 [javadoc] (try -source 1.4 or lower to use 'enum' as an identifier)
 [javadoc] while (enum.hasMoreElements()) {
 [javadoc] ^
[javadoc] D:\MyWorkspaceNew\Slide\src\share\org\apache\slide\search\basic\ComparableResourceImpl.java:388: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
 [javadoc] (try -source 1.4 or lower to use 'enum' as an identifier)
 [javadoc] propertySet.add(enum.nextElement());
 [javadoc] ^
[javadoc] Loading source files for package org.apache.slide.search.basic.expression...
 [javadoc] Loading source files for package org.apache.slide.security...
[javadoc] D:\MyWorkspaceNew\Slide\src\share\org\apache\slide\security\SecurityImpl.java:829: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
 [javadoc] (try -source 1.4 or lower to use 'enum' as an identifier)
 [javadoc] Enumeration enum = uri.getScopes();
 [javadoc] ^
[javadoc] D:\MyWorkspaceNew\Slide\src\share\org\apache\slide\security\SecurityImpl.java:830: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
 [javadoc] (try -source 1.4 or lower to use 'enum' as an identifier)
 [javadoc] while (enum.hasMoreElements()) {
 [javadoc] ^
[javadoc] D:\MyWorkspaceNew\Slide\src\share\org\apache\slide\security\SecurityImpl.java:831: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
 [javadoc] (try -source 1.4 or lower to use 'enum' as an identifier)
[javadoc] Uri element = namespace.getUri(token, (String)enum.nextElement());
 [javadoc] ^
 [javadoc] Loading source files for package org.apache.slide.store...
[javadoc] D:\MyWorkspaceNew\Slide\src\share\org\apache\slide\store\BindingStore.java:453: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
 [javadoc] (try -source 1.4 or lower to use 'enum' as an identifier)
 [javadoc] Enumeration enum = objectNode.enumerateParentBindings();
 [javadoc] ^
[javadoc] D:\MyWorkspaceNew\Slide\src\share\org\apache\slide\store\BindingStore.java:454: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
 [javadoc] (try -source 1.4 or lower to use 'enum' as an identifier)
 [javadoc] if (!enum.hasMoreElements()) {
 [javadoc] ^
[javadoc] D:\MyWorkspaceNew\Slide\src\share\org\apache\slide\store\BindingStore.java:457: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
 [javadoc] (try -source 1.4 or lower to use 'enum' as an identifier)
[javadoc] ObjectNode.Binding parentBinding = (ObjectNode.Binding) enum.nextElement();
 [javadoc] ^
 [javadoc] Loading source files for package org.apache.slide.structure...


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to