Re: Overrides not quite transparent?

Gene <[email protected]>
Newsgroups gmane.comp.java.keel.devel
Message-ID <[email protected]>
OK, this ugly thing popped back up when I added my persistents to the 
new build system, and I've finally tracked it down.

tool-xdoclet/modules/persist/src/xdoclet/modules/persist/resources/persist-fields.xdt 
line 30 SHOULD be
multi-valued="<XDtMethod:methodTagValue tagName="persist.field" 
paramName="multi-valued" values="true,false" />

as it is now, the XDtMethod:methodTagValue and tagName are run together, 
so it bombs on any multi-valued config.  (I suppose I'm the only one 
using multi-value configs).

Anyway, how can i update my system to reflect my change?  I made it 
locally, ran maven jar:install from the tool-xdoclet directory.  It says 
it copied xdoclet-1.2.2.jar to my local repository.  But when I run 
maven jar:install on my app folder, I get the same errors.

I THINK this is my maven novice showing.

TIA
gene

Gene wrote:
> 
> 
> Michael Nash wrote:
> 
>> Gene:
>>
>> Hmm. I'm going to go back & dig into this, as it's very strange indeed
>> that you couldn't even build it locally.
> 
> 
> Hope i didn't mislead.  I was able to generate xdoclet-1.2.2.zip into 
> the keel-build/lib dir, from xdoclet-tool locally.
> Just got the same message when trying to build my project.  All I did 
> was rule out the cvs version was not corrupted.
> 
>>
>> No tags changed at all, I just updated from the old version of xdoclet
>> to the newest one to get the latest bug fixes & so forth...
>>
> 
> Thanks Mike
> 
>> Mike
>>
>> On Tue, 2005-02-01 at 10:41, Gene wrote:
>>
>>> D'oh, exact same message.
>>>
>>> Dug xdoclet-1.2b4 out of the attic, installed, and project built 
>>> properly.
>>>
>>> Any suggestions?  Anything major changed in xdoclet tags since 
>>> then?(This was the first time I'd updated my build system to use the 
>>> new 1.2.2 versions of xdoclet tool).
>>>
>>> TIA
>>> gene
>>>
>>> Michael Nash wrote:
>>>
>>>> Gene:
>>>>
>>>> On Tue, 2005-02-01 at 09:32, Gene wrote:
>>>>
>>>>
>>>>> Did a Replace with Latest From HEAD on keel-build project, after an 
>>>>> ant clean-keel and manual remove of 
>>>>> keel-build/deploy/xdoclet-keel-1.2.2
>>>>>
>>>>> ant completeinstall
>>>>>
>>>>> same error messages.
>>>>
>>>>
>>>>
>>>> Very strange...
>>>>
>>>>
>>>>
>>>>> any way I can build it locally?
>>>>
>>>>
>>>>
>>>> Yes. Check out tool-xdoclet, then do an "ant" in that dir. When that's
>>>> finished (it will complain if you don't have MAVEN_HOME set, but can be
>>>> ignore), do an "ant -f build-keel.xml mkbundle". This will create and
>>>> copy to keel-build/lib the zip file. Then do a fresh completeinstall to
>>>> un-zip it into the right place.
>>>>
>>>> Mike
>>>>
>>>>
>>>>
>>>>> Michael Nash wrote:
>>>>>
>>>>>
>>>>>> Gene:
>>>>>>
>>>>>> That almost sounds like it has a bad copy of the XDoclet jar - I did
>>>>>> have some trouble checking it in (e.g. it failed & I had to restart).
>>>>>> Maybe try re-checking-out the zip & doing a new completeinstall to 
>>>>>> get a
>>>>>> fresh copy?
>>>>>>
>>>>>> That doclet is definitely in there, I just ran it here to make sure.
>>>>>>
>>>>>> Mike
>>>>>>
>>>>>> On Tue, 2005-02-01 at 08:33, Gene wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> I think I spoke too soon.  After everything installs properly, 
>>>>>>> I'm getting an xdoclet error on build:
>>>>>>>
>>>>>>> [persistdoclet] (TemplateEngine.invokeMethod         567 ) Could 
>>>>>>> not find method 
>>>>>>> xdoclet.tagshandler.MethodTagsHandler.methodTagValuetagName="persist.field" 
>>>>>>> in
>>>>>>> class xdoclet.tagshandler.MethodTagsHandler
>>>>>>> [persistdoclet] (XDocletMain.start                   53  ) 
>>>>>>> Running XDoclet failed.
>>>>>>> [persistdoclet] (XDocletMain.start                   54  ) 
>>>>>>> <<Running XDoclet failed.: xdoclet.template.TemplateException: 
>>>>>>> Could not find method methodTagValueta
>>>>>>> gName="persist.field" in class 
>>>>>>> xdoclet.tagshandler.MethodTagsHandler 
>>>>>>> (xdoclet.tagshandler.MethodTagsHandler.methodTagValuetagName="persist.field"())>> 
>>>>>>>
>>>>>>> [persistdoclet] xdoclet.template.TemplateException: Could not 
>>>>>>> find method methodTagValuetagName="persist.field" in class 
>>>>>>> xdoclet.tagshandler.MethodTagsHandler (
>>>>>>> xdoclet.tagshandler.MethodTagsHandler.methodTagValuetagName="persist.field"()) 
>>>>>>>
>>>>>>> [persistdoclet]         at 
>>>>>>> xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:568) 
>>>>>>>
>>>>>>>
>>>>>>> unfortunately, i haven't made any changes to the entity's tags, 
>>>>>>> and it was building ok before.  Any ideas?
>>>>>>>
>>>>>>> TIA
>>>>>>> gene
>>>>>>>
>>>>>>> Gene wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Thanks Mike, got the fix.  I played with rebuild myself, but 
>>>>>>>> couldn't make it work.  got the right version, and everything is 
>>>>>>>> building again. thanks
>>>>>>>> gene
>>>>>>>>
>>>>>>>> Michael Nash wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> I may have created a different problem - I just found out that the
>>>>>>>>> xdoclet I just checked in was compiled for JDK1.5, and wouldn't 
>>>>>>>>> run
>>>>>>>>> correctly on 1.4. I'm re-building now with 1.4-compat turned 
>>>>>>>>> on, and
>>>>>>>>> will check in a fresh one.
>>>>>>>>>
>>>>>>>>> If anyone got an error about "incompatible bytecode version", 
>>>>>>>>> that was
>>>>>>>>> me, sorry!
>>>>>>>>>
>>>>>>>>> Mike
>>>>>>>>>
>>>>>>>>> On Mon, 2005-01-31 at 15:27, Gene wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> I must be missing a setting somewhere still, that is the 
>>>>>>>>>> command I'm issueing to get the error.  I'll check it too
>>>>>>>>>>
>>>>>>>>>> Shash Chatterjee wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> Gene/Mike,
>>>>>>>>>>>
>>>>>>>>>>> I ran into this while catching back up on Keel...if I 
>>>>>>>>>>> remember correctly, an "ant completeinstall" will install the 
>>>>>>>>>>> lib from tool-xdoclet into keel-build.
>>>>>>>>>>>
>>>>>>>>>>> Shash
>>>>>>>>>>>
>>>>>>>>>>> Michael Nash wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> Gene:
>>>>>>>>>>>>
>>>>>>>>>>>> I'm just having a look at this now - tool-xdoclet is where 
>>>>>>>>>>>> that zip is
>>>>>>>>>>>> generated from, but it should be available in keel-build/lib 
>>>>>>>>>>>> for
>>>>>>>>>>>> un-zipping. Doesn't seem to be there, so I'll fix right away!
>>>>>>>>>>>>
>>>>>>>>>>>> Sorry about that - I did upgrade the xdoclet version 
>>>>>>>>>>>> recently, must have
>>>>>>>>>>>> broke something...
>>>>>>>>>>>>
>>>>>>>>>>>> Mike
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> http://keelframework.org/documentation
>>>>>>>>>>> Keelgroup mailing list
>>>>>>>>>>> [email protected]
>>>>>>>>>>> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com 
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> http://keelframework.org/documentation
>>>>>>>>>> Keelgroup mailing list
>>>>>>>>>> [email protected]
>>>>>>>>>> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com 
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> http://keelframework.org/documentation
>>>>>>>>> Keelgroup mailing list
>>>>>>>>> [email protected]
>>>>>>>>> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com 
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> http://keelframework.org/documentation
>>>>>>>> Keelgroup mailing list
>>>>>>>> [email protected]
>>>>>>>> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com 
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> http://keelframework.org/documentation
>>>>>>> Keelgroup mailing list
>>>>>>> [email protected]
>>>>>>> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com 
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> http://keelframework.org/documentation
>>>>>> Keelgroup mailing list
>>>>>> [email protected]
>>>>>> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com 
>>>>>>
>>>>>>
>>>>>
>>>>> http://keelframework.org/documentation
>>>>> Keelgroup mailing list
>>>>> [email protected]
>>>>> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com 
>>>>>
>>>>
>>>>
>>>>
>>>> http://keelframework.org/documentation
>>>> Keelgroup mailing list
>>>> [email protected]
>>>> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
>>>>
>>>
>>> http://keelframework.org/documentation
>>> Keelgroup mailing list
>>> [email protected]
>>> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
>>
>>
>>
>> http://keelframework.org/documentation
>> Keelgroup mailing list
>> [email protected]
>> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
>>
> http://keelframework.org/documentation
> Keelgroup mailing list
> [email protected]
> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
> 
http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.