If you mean put all the possible *.tld's in any build.xml, like this:

...
<arg value="${resolved-tlds.dir}/myfaces_ext.tld"/>
<arg value="${resolved-tlds.dir}/myfaces_sandbox.tld"/>
...

... no objections :-)

My problem then is different. Can someone check what is the value of
the property 'zip.fileset.inc.pat' when executing the 'ant dist' in
the sandbox/build folder? I get the value '*.foo' when I should get
'*.tld". For debugging purposes, I echo the property in the jar target
like this:

<echo message="PROPERTY: ${zip.fileset.inc.pat}"/>

And the property is not well set, so I cannot create a sandbox.jar
including resources (such as the tld's). Can someone reproduce this?
Or it is only me? ;-)

Regards,

Bruno
2005/7/11, Grant Smith <[EMAIL PROTECTED]>:
>  I was actually ant tlddoc-all from the main build. There is definitely an
> OS-specific problem here in expanding the wildcard *.tld. I don't think you
> can specify a wildcard to the tlddoc task under Linux.
>  I propose just putting the actual full tld filenames into the tlddoc task
> for each subproject.
>  
>  Any objections ?
>  
>  
>  Bruno Aranda wrote: 
>  Grant, are you running 'ant dist' on the sandbox build folder, aren't
> you? I've run into this problem before. It seems that when you only
> build one of the subprojects, the file build.properties of the
> subproject (situated in the subproject parent folder) is not read. In
> the build.properties there are some properties that tell which are the
> resource files to include (in our case the *.tlds). If this property
> is not read, it use dummy values (e.g. *.foo) so the build fails.
> What is more interesting is that yesterday I try to build only sandbox
> to check if this bug had disappear and everything went ok... but, I
> was trying in a Windows XP. Here at work I run a linux box and the
> build fails.
> I think that this could be solved if the properties from
> build.properties were read before the dummy ones in the build.xml,
> because ant keeps the value from the first property read and does not
> override it,
> 
> HTH,
> 
> Bruno
> 
> 2005/7/11, Grant Smith <[EMAIL PROTECTED]>:
>  
>  
>  Doh!
> 
> Bruno, thanks. OK, so now it looks like it's trying to find a file
> called *.tld (i.e. the wildcard isnt being interpretted). That is where
> I'm focussing my investigation on now :)
> 
> Bruno Aranda wrote:
> 
>  
>  
>  I think you are missing the temp in
> ls -la
> /home/grant/IdeaProjects/myfaces/current/build/../sandbox/build/tlds
> 
> should be
> ls -la
> /home/grant/IdeaProjects/myfaces/current/build/../sandbox/build/temp/tlds
> 
> Regards :-)
> 
> Bruno
> 
> 
>  
>  
>  
>  .
> 
>  
>  
>

Reply via email to