[sword-devel] swordweb build Problems

Thomas Gollenia thomas at gollenia.net
Mon Feb 15 02:38:24 MST 2010


Hi!


normally, it shouldn't, as MacOS uses bash as shell. However, i tried
the script again and it left out the "org" folder. I changed the line to
the following (removed the slash after org):

 cp -a classes/org ${instdir}/WEB-INF/classes/


and it worked. It seems as if cp copied all files IN org, but not org
itself...

greetings,


Thomas

Am 15.02.10 02:04, schrieb Troy A. Griffitts:
> Dear Thomas,
> 
> Glad you got things working.  Thanks for your persistence.
> 
> Regarding your issue, here's the question, I guess.  Does this line from
> the Makefile work differently on the mac than it does on linux?
> 
>  cp -a classes/org/ ${instdir}/WEB-INF/classes/
> 
> 
> 
> 
> Thomas Gollenia wrote:
>> Hi!
>>
>>
>> It finally works! (after four days...). The corba/java install script
>> copied the files in
>>
>> .../swordweb/webapp/WEB-INF/classes/crosswire/sword/orb/SwordOrb.class
>>
>> but it left out the "org" - don't know why. I added it manually, and it
>> worked! maybe there's an error with the install-script?
>>
>> Grateful thanks for your Help!
>>
>> greetings,
>>
>>
>> Thomas
>>
>>
>>
>> Am 14.02.10 17:53, schrieb Troy A. Griffitts:
>>> Thomas, you shouldn't need to copy then anywhere, the make install will
>>> put them in the correct place if instdir in the Makefile is pointing to
>>> your swordweb/webapps/ folder.
>>>
>>> Check one file for me.  The correct location, for, say, SwordOrb.class
>>> would be:
>>>
>>> .../swordweb/webapp/WEB-INF/classes/org/crosswire/sword/orb/SwordOrb.class
>>>
>>>
>>>
>>> Thomas Gollenia wrote:
>>>> Hi Troy,
>>>>
>>>> That's what I did. The classes alre installed in the
>>>> swordweb/webapp/WEB-INF/classes folder, the one the Makefile instdir
>>>> points to. In this folder, teres a "crosswire/sword/orb" folder with 26
>>>> .class-files (_SWMgrStub.class etc). The error is still the same... I
>>>> have copied these classfiles in any directory which is possible - no
>>>> effect...
>>>>
>>>> greetings,
>>>>
>>>> Thomas
>>>>
>>>>
>>>>> Dear Thomas.  The error you are seeing: package
>>>>> org.crosswire.sword.org
>>>>> does not exist, is due to java not finding the corba classes.  From
>>>>> your
>>>>> sword/bindings/corba/java folder, where is your 'make install'
>>>>> installing to?  It needs to install to the webapp/WEB-INF/classes
>>>>> folder
>>>>> where you are trying to compile swordweb.
>>>>>
>>>>> Hope this helps,
>>>>>
>>>>> Troy
>>>>>
>>>>> Thomas Gollenia wrote:
>>>>>> Hi!
>>>>>>
>>>>>> for some reason, I cannot compile the swordweb/src/Makefile on my Mac
>>>>>> (10.6.2). I changed the Tomcat-Path correctly, also the wrong
>>>>>> common/lib/... to lib/..., it still spills out 34 Error Messages. The
>>>>>> corba/java bindings have been compiled and installed correctly in
>>>>>> swordweb/webapp  - what could be wrong here?
>>>>>>
>>>>>>
>>>>>> javac -classpath
>>>>>> /Library/Tomcat/Home/lib/jsp-api.jar:/Library/Tomcat/Home/lib/servlet-api.jar:../webapp/WEB-INF/classes:../webapp/WEB-INF/lib/greekconverter.jar:/Users/Thomas/work/swordweb/webapp/WEB-INF/lib/crosswire.jar
>>>>>>
>>>>>>
>>>>>>
>>>>>> -d /Users/Thomas/work/swordweb/webapp/WEB-INF/classes -sourcepath .
>>>>>> ./org/crosswire/swordweb/*.java
>>>>>> ./org/crosswire/swordweb/HorizontallyParallelTextRendering.java:7:
>>>>>> package org.crosswire.sword.orb does not exist
>>>>>> import org.crosswire.sword.orb.*;
>>>>>> ^
>>>>>> ./org/crosswire/swordweb/ModuleEntryRenderer.java:4: package
>>>>>> org.crosswire.sword.orb does not exist
>>>>>> import org.crosswire.sword.orb.SWModule;
>>>>>>                               ^
>>>>>> ./org/crosswire/swordweb/ModuleEntryRenderer.java:7: cannot find
>>>>>> symbol
>>>>>> symbol  : class SWModule
>>>>>> location: interface org.crosswire.swordweb.ModuleEntryRenderer
>>>>>>     public String render(SWModule module, String key);
>>>>>>                          ^
>>>>>> ./org/crosswire/swordweb/RangeInformation.java:4: package
>>>>>> org.crosswire.sword.orb does not exist
>>>>>> import org.crosswire.sword.orb.SWModule;
>>>>>>                               ^
>>>>>> ..... and so on.... until
>>>>>>
>>>>>> ./org/crosswire/swordweb/VerticallyParallelTextRendering.java:17:
>>>>>> cannot
>>>>>> find symbol
>>>>>> symbol  : class SWModule
>>>>>> location: class
>>>>>> org.crosswire.swordweb.VerticallyParallelTextRendering
>>>>>>                 SWModule mod = (SWModule) moduleEnum.nextElement();
>>>>>>                                 ^
>>>>>> Note: ./org/crosswire/swordweb/PerseusUtils.java uses or overrides a
>>>>>> deprecated API.
>>>>>> Note: Recompile with -Xlint:deprecation for details.
>>>>>> Note: ./org/crosswire/swordweb/StandardEntryRenderer.java uses
>>>>>> unchecked
>>>>>> or unsafe operations.
>>>>>> Note: Recompile with -Xlint:unchecked for details.
>>>>>> 34 errors
>>>>>> make: ***
>>>>>> [../webapp/WEB-INF/classes/org/crosswire/swordweb/PerseusUtils.class]
>>>>>> Error 1
>>>>>>
>>>>>>
>>>>>> greetings,
>>>>>>
>>>>>>
>>>>>> Thommy
>>>>>>
>>>>>> _______________________________________________
>>>>>> sword-devel mailing list: sword-devel at crosswire.org
>>>>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>>>>> Instructions to unsubscribe/change your settings at above page
>>>>> _______________________________________________
>>>>> sword-devel mailing list: sword-devel at crosswire.org
>>>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>>>> Instructions to unsubscribe/change your settings at above page
>>>>
>>>> _______________________________________________
>>>> sword-devel mailing list: sword-devel at crosswire.org
>>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>>> Instructions to unsubscribe/change your settings at above page
>>>
>>> _______________________________________________
>>> sword-devel mailing list: sword-devel at crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>> Instructions to unsubscribe/change your settings at above page
>>
>>
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
> 
> 
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page




More information about the sword-devel mailing list