directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rahul.soa" <rahul....@googlemail.com>
Subject Re: ApacheDS 1.5 - Build failure
Date Sun, 15 Mar 2009 18:33:14 GMT
Hello Stefan,

Thanks to you and Emmanuel for the suggestion about not to use root
for the safety reasons. I jumped on the new user now.

Now, the problem is build  (MAVEN_OPTS="-Xmx256m" mvn clean install -e)
 is failing due to following reasons (variables not found) on newly
checked out code
from svn:


[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Directory Studio LDAP Browser Core
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 1 resource
[INFO] Copying 6 resources
[INFO] Copying 3 resources
[INFO] [studio:prepare-jar-package {execution: default}]
[INFO] Copying /home/rahul/.m2/repository/org/apache/poi/poi/3.0.1-FINAL/poi-3.0.1-FINAL.jar
to
               /home/rahul/Apache/studio/ldapbrowser-core/target/classes/lib/poi-3.0.1-FINAL.jar
[INFO] [compiler:compile]
[INFO] Compiling 133 source files to
/home/rahul/Apache/studio/ldapbrowser-core/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[493,31]
cannot find symbol
symbol  : variable HAS_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[495,35]
cannot find symbol
symbol  : variable HAS_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[500,85]
cannot find symbol
symbol  : variable HAS_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[504,31]
cannot find symbol
symbol  : variable NUM_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[506,35]
cannot find symbol
symbol  : variable NUM_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[511,85]
cannot find symbol
symbol  : variable NUM_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[515,31]
cannot find symbol
symbol  : variable SUBORDINATE_COUNT_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[517,35]
cannot find symbol
symbol  : variable SUBORDINATE_COUNT_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[522,85]
cannot find symbol
symbol  : variable SUBORDINATE_COUNT_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[686,44]
cannot find symbol
symbol  : variable HAS_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[692,44]
cannot find symbol
symbol  : variable NUM_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[698,44]
cannot find symbol
symbol  : variable SUBORDINATE_COUNT_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[76,66]
cannot find symbol
symbol  : variable GOVERNING_STRUCTURE_RULE_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[77,66]
cannot find symbol
symbol  : variable GOVERNING_STRUCTURE_RULE_AT_OID
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[79,66]
cannot find symbol
symbol  : variable ENTRY_UUID_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[80,66]
cannot find symbol
symbol  : variable ENTRY_UUID_AT_OID
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[81,66]
cannot find symbol
symbol  : variable ENTRY_CSN_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[82,66]
cannot find symbol
symbol  : variable ENTRY_DN_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[83,66]
cannot find symbol
symbol  : variable ENTRY_DN_AT_OID
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[102,66]
cannot find symbol
symbol  : variable HAS_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[103,66]
cannot find symbol
symbol  : variable HAS_SUBORDINATES_AT_OID
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[104,66]
cannot find symbol
symbol  : variable NUM_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[105,66]
cannot find symbol
symbol  : variable SUBORDINATE_COUNT_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[130,66]
cannot find symbol
symbol  : variable GOVERNING_STRUCTURE_RULE_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[131,66]
cannot find symbol
symbol  : variable GOVERNING_STRUCTURE_RULE_AT_OID
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[133,66]
cannot find symbol
symbol  : variable ENTRY_UUID_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[134,66]
cannot find symbol
symbol  : variable ENTRY_UUID_AT_OID
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[135,66]
cannot find symbol
symbol  : variable ENTRY_CSN_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[136,66]
cannot find symbol
symbol  : variable ENTRY_DN_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[137,66]
cannot find symbol
symbol  : variable ENTRY_DN_AT_OID
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[139,66]
cannot find symbol
symbol  : variable HAS_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[140,66]
cannot find symbol
symbol  : variable HAS_SUBORDINATES_AT_OID
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[141,66]
cannot find symbol
symbol  : variable NUM_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[142,66]
cannot find symbol
symbol  : variable SUBORDINATE_COUNT_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.CompilationFailureException:
Compilation failure
	at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
	at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
	... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 44 seconds
[INFO] Finished at: Sun Mar 15 20:16:59 CET 2009
[INFO] Final Memory: 58M/104M
[INFO] ------------------------------------------------------------------------
[rahul@localhost studio]$



Thanks again.

Best Regards,
Rahul

On 3/15/09, Stefan Seelmann <seelmann@apache.org> wrote:
> Hi Rahul,
>
> I changed the way how integration test are started. I also updated [1],
> please svn up and follow the instructions there.
>
> HTH,
> Stefan
>
> PS: You should not work as root.
>
> [1] http://directory.apache.org/studio/building.html
>
> Stefan Seelmann schrieb:
>> Hi Rahul,
>>
>> I get the same error, looking...
>>
>> Kind Regards,
>> Stefan
>>
>>
>> rahul.soa schrieb:
>>> Hello Emmanuel,Dev,
>>>
>>> I have setup the workspace to work on Apache Directory Studio. I have
>>> also tested the studio plugin in the runtime environment and It works
>>> well.
>>>
>>> But still I have errors in the *integration test run* (i.e  mvn
>>> -Pintegration-core,integration-ui test), I dont really know why this
>>> error (Java returned: 13) is occuring.
>>> is it because of Maven or eclipse? I have no idea on this. Help needed.
>>>
>
>
>

Mime
View raw message