You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Stefan Zoerner <st...@labeo.de> on 2007/10/04 19:03:21 UTC

[Studio] Problems building Studio from trunk

Hi all,

I have fetched studio from
https://svn.apache.org/repos/asf/directory/studio/trunk

and tried to build it with ant, but I get a build error:

      [echo] Compiling Apache Directory Studio Schema Editor Plug-in 
(org.apache.directory.studio.schemaeditor) version 1.0.0
     [javac] Compiling 251 source files to 
D:\Apache\Subversion\studio\trunk\studio-schemaeditor\target\classes
     [javac] 
D:\Apache\Subversion\studio\trunk\studio-schemaeditor\src\main\java\org\apache\directory\studio\schemaeditor\model\SyntaxImpl.java:57:cannot 
find symbol
     [javac] symbol  : method setHumanReadable(boolean)
     [javac] location: class 
org.apache.directory.shared.ldap.schema.AbstractSyntax
     [javac]         super.setHumanReadable( isHumanReadable );
     [javac]              ^
     [javac] 
D:\Apache\Subversion\studio\trunk\studio-schemaeditor\src\main\java\org\apache\directory\studio\schemaeditor\model\io\XMLSchemaFileExporter.java:547: 
cannot find symbol
     [javac] symbol  : method isHumanReadable()
     [javac] location: class 
org.apache.directory.studio.schemaeditor.model.SyntaxImpl
     [javac]         if ( syntax.isHumanReadable() )
     [javac]                    ^
     [javac] 2 errors

Any idea?

Thanks in advance,
     Stefan


Re: [Studio] Problems building Studio from trunk

Posted by Stefan Zoerner <st...@labeo.de>.
Stefan Seelmann wrote:
> Hm, the IConnection interface doesn't exist any more. Please try one
> more "svn up".
BUILD SUCCESSFUL
I had an outdated file in my sources. svn clean did the trick.
Thanks for your help.

Stefan Z.


Re: [Studio] Problems building Studio from trunk

Posted by Stefan Seelmann <se...@apache.org>.
Hm, the IConnection interface doesn't exist any more. Please try one
more "svn up".


Stefan Zoerner schrieb:
> Stefan Zoerner wrote:
>> Stefan Seelmann wrote:
>>> Hi Stefan,
>>>
>>> please clean your ivy cache under "~/.ivy"
>>>
>>
>> BUILD SUCCESSFUL
>>
> Sorry, I made a mistake. A new svn up, and I get this one :-(
> 
>     [javac] Compiling 154 source files to
> D:\Apache\Subversion\studio\trunk\studio-ldapbrowser-ui\target\classes
>     [javac]
> D:\Apache\Subversion\studio\trunk\studio-ldapbrowser-ui\src\main\java\org\apache\directory\studio\ldapbrowser\ui\views\connection\ConnectionViewLabe
> lDecorator.java:24: cannot find symbol
>     [javac] symbol  : class IConnection
>     [javac] location: package
> org.apache.directory.studio.ldapbrowser.core.model
>     [javac] import
> org.apache.directory.studio.ldapbrowser.core.model.IConnection;
>     [javac]                                                           ^
>     [javac] Note:
> D:\Apache\Subversion\studio\trunk\studio-ldapbrowser-ui\src\ma
> in\java\org\apache\directory\studio\ldapbrowser\ui\BrowserUIPlugin.java
> uses or overrides a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 1 error
> 


Re: [Studio] Problems building Studio from trunk

Posted by Emmanuel Lecharny <el...@gmail.com>.
Svn up,
ant,
...
BUILD SUCCESSFUL
Total time: 51 seconds

on my laptop

rm -rf ~/.ivy/cache
ant
...

BUILD SUCCESSFUL
Total time: 28 seconds

again !

You are getting old Stefan ;)


On 10/4/07, Stefan Zoerner <st...@labeo.de> wrote:
> Stefan Zoerner wrote:
> > Stefan Seelmann wrote:
> >> Hi Stefan,
> >>
> >> please clean your ivy cache under "~/.ivy"
> >>
> >
> > BUILD SUCCESSFUL
> >
> Sorry, I made a mistake. A new svn up, and I get this one :-(
>
>      [javac] Compiling 154 source files to
> D:\Apache\Subversion\studio\trunk\studio-ldapbrowser-ui\target\classes
>      [javac]
> D:\Apache\Subversion\studio\trunk\studio-ldapbrowser-ui\src\main\java\org\apache\directory\studio\ldapbrowser\ui\views\connection\ConnectionViewLabe
> lDecorator.java:24: cannot find symbol
>      [javac] symbol  : class IConnection
>      [javac] location: package
> org.apache.directory.studio.ldapbrowser.core.model
>      [javac] import
> org.apache.directory.studio.ldapbrowser.core.model.IConnection;
>      [javac]                                                           ^
>      [javac] Note:
> D:\Apache\Subversion\studio\trunk\studio-ldapbrowser-ui\src\ma
> in\java\org\apache\directory\studio\ldapbrowser\ui\BrowserUIPlugin.java
> uses or overrides a deprecated API.
>      [javac] Note: Recompile with -Xlint:deprecation for details.
>      [javac] Note: Some input files use unchecked or unsafe operations.
>      [javac] Note: Recompile with -Xlint:unchecked for details.
>      [javac] 1 error
>
>


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Re: [Studio] Problems building Studio from trunk

Posted by Stefan Zoerner <st...@labeo.de>.
Stefan Zoerner wrote:
> Stefan Seelmann wrote:
>> Hi Stefan,
>>
>> please clean your ivy cache under "~/.ivy"
>>
> 
> BUILD SUCCESSFUL
> 
Sorry, I made a mistake. A new svn up, and I get this one :-(

     [javac] Compiling 154 source files to 
D:\Apache\Subversion\studio\trunk\studio-ldapbrowser-ui\target\classes
     [javac] 
D:\Apache\Subversion\studio\trunk\studio-ldapbrowser-ui\src\main\java\org\apache\directory\studio\ldapbrowser\ui\views\connection\ConnectionViewLabe 
lDecorator.java:24: cannot find symbol
     [javac] symbol  : class IConnection
     [javac] location: package 
org.apache.directory.studio.ldapbrowser.core.model
     [javac] import 
org.apache.directory.studio.ldapbrowser.core.model.IConnection;
     [javac]                                                           ^
     [javac] Note: 
D:\Apache\Subversion\studio\trunk\studio-ldapbrowser-ui\src\ma
in\java\org\apache\directory\studio\ldapbrowser\ui\BrowserUIPlugin.java 
uses or overrides a deprecated API.
     [javac] Note: Recompile with -Xlint:deprecation for details.
     [javac] Note: Some input files use unchecked or unsafe operations.
     [javac] Note: Recompile with -Xlint:unchecked for details.
     [javac] 1 error


Re: [Studio] Problems building Studio from trunk

Posted by Stefan Zoerner <st...@labeo.de>.
Stefan Seelmann wrote:
> Hi Stefan,
> 
> please clean your ivy cache under "~/.ivy"
> 

BUILD SUCCESSFUL

Unfortunately, I only cleared the mvn repo. Sometimes, I think I am 
getting old.

Thanks, Stefan


Re: [Studio] Problems building Studio from trunk

Posted by Stefan Seelmann <se...@apache.org>.
Hi Stefan,

please clean your ivy cache under "~/.ivy"

Regards,
Stefan Seelmann


Stefan Zoerner schrieb:
> Hi all,
> 
> I have fetched studio from
> https://svn.apache.org/repos/asf/directory/studio/trunk
> 
> and tried to build it with ant, but I get a build error:
> 
>      [echo] Compiling Apache Directory Studio Schema Editor Plug-in
> (org.apache.directory.studio.schemaeditor) version 1.0.0
>     [javac] Compiling 251 source files to
> D:\Apache\Subversion\studio\trunk\studio-schemaeditor\target\classes
>     [javac]
> D:\Apache\Subversion\studio\trunk\studio-schemaeditor\src\main\java\org\apache\directory\studio\schemaeditor\model\SyntaxImpl.java:57:cannot
> find symbol
>     [javac] symbol  : method setHumanReadable(boolean)
>     [javac] location: class
> org.apache.directory.shared.ldap.schema.AbstractSyntax
>     [javac]         super.setHumanReadable( isHumanReadable );
>     [javac]              ^
>     [javac]
> D:\Apache\Subversion\studio\trunk\studio-schemaeditor\src\main\java\org\apache\directory\studio\schemaeditor\model\io\XMLSchemaFileExporter.java:547:
> cannot find symbol
>     [javac] symbol  : method isHumanReadable()
>     [javac] location: class
> org.apache.directory.studio.schemaeditor.model.SyntaxImpl
>     [javac]         if ( syntax.isHumanReadable() )
>     [javac]                    ^
>     [javac] 2 errors
> 
> Any idea?
> 
> Thanks in advance,
>     Stefan
>