cancel
Showing results for 
Search instead for 
Did you mean: 

cannot build latest checkout from SVN 10/27 at revision 238

jfariborz
Champ in-the-making
Champ in-the-making
I cannot build the latest svn update from alfresco – I get these errors:

> common.compile-java:
>    [mkdir] Created dir:
> /home/jenny/alfresco/alfresco/projects/repository/build/classes
>    [javac] Compiling 1390 source files to
> /home/jenny/alfresco/alfresco/projects/repository/build/classes
>    [javac]
> /home/jenny/alfresco/alfresco/projects/repository/source/java/org/alfresco/service/namespace/NamespaceService.java:102:
> cannot find symbol
>    [javac] symbol  : method parameters()
>    [javac] location: @interface org.alfresco.service.Auditable
>    [javac]     @Auditable(parameters = {"prefix", "uri"})
>    [javac]                ^
>    [javac]
> /home/jenny/alfresco/alfresco/projects/repository/source/java/org/alfresco/service/namespace/NamespaceService.java:111:
> cannot find symbol
>    [javac] symbol  : method parameters()
>    [javac] location: @interface org.alfresco.service.Auditable
>    [javac]     @Auditable(parameters = {"prefix"})
>    [javac]                ^
>    [javac]
> /home/jenny/alfresco/alfresco/projects/repository/source/java/org/alfresco/service/namespace/NamespacePrefixResolver.java:40:
> cannot find symbol
>    [javac] symbol  : method parameters()
>    [javac] location: @interface org.alfresco.service.Auditable
>    [javac]     @Auditable(parameters = {"prefix"})
>    [javac]                ^
>    [javac]
> /home/jenny/alfresco/alfresco/projects/repository/source/java/org/alfresco/service/namespace/NamespacePrefixResolver.java:51:
> cannot find symbol
>    [javac] symbol  : method parameters()
>    [javac] location: @interface org.alfresco.service.Auditable
>    [javac]     @Auditable(parameters = {"namespaceURI"})
>    [javac]                ^
>    [javac]
> /home/jenny/alfresco/alfresco/projects/repository/source/java/org/alfresco/service/cmr/security/AuthenticationService.java:42:
> cannot find symbol
>    [javac] symbol  : method parameters()
>    [javac] location: @interface org.alfresco.service.Auditable
>    [javac]     @Auditable(parameters = {"userName", "password"},
> recordable = {true, false})
>    [javac]                ^
>    [javac]
> /home/jenny/alfresco/alfresco/projects/repository/source/java/org/alfresco/service/cmr/security/AuthenticationService.java:42:
> cannot find symbol
>    [javac] symbol  : method recordable()
>    [javac] location: @interface org.alfresco.service.Auditable
>    [javac]     @Auditable(parameters = {"userName", "password"},
> recordable = {true, false})
>    [javac]                                                       ^
>    [javac]
> /home/jenny/alfresco/alfresco/projects/repository/source/java/org/alfresco/service/cmr/security/AuthenticationService.java:53:
> cannot find symbol
>    [javac] symbol  : method parameters()
>    [javac] location: @interface org.alfresco.service.Auditable
>    [javac]     @Auditable(parameters = {"userName", "oldPassword",
> "newPassword"}, recordable = {true, false, false})
>    [javac]                ^
>    [javac]
> /home/jenny/alfresco/alfresco/projects/repository/source/java/org/alfresco/service/cmr/security/AuthenticationService.java:53:
> cannot find symbol
>    [javac] symbol  : method recordable()
>    [javac] location: @interface org.alfresco.service.Auditable
>    [javac]     @Auditable(parameters = {"userName", "oldPassword",
> "newPassword"}, recordable = {true, false, false})
>    [javac]
> ^
>    [javac]
> /home/jenny/alfresco/alfresco/projects/repository/source/java/org/alfresco/service/cmr/security/AuthenticationService.java:63:
> cannot find symbol
>    [javac] symbol  : method parameters()
>    [javac] location: @interface org.alfresco.service.Auditable
>
2 REPLIES 2

jfariborz
Champ in-the-making
Champ in-the-making
The problems with @Audittable and @NotAuditable are resolved but I still get

common.compile-java:
  ….
   [javac] The system is out of resources.
   [javac] Consult the following stack   trace for details.
   [javac] java.lang.OutOfMemoryError: Java heap space

I tried playing with Xmx and Xms values but it doesn't help (and why should it since that should only have an effect when I'm running in the JVM, no?)

Any ideas ?

gavinc
Champ in-the-making
Champ in-the-making