Thanks, Allen.
This was a very stupid mistake on my part. I actually had the meta_inf <<
file('taglib.tld') in the wrong sub-project. Which obviously caused it not
to be included in the correct jar file.
Thanks for putting up with my ignorance and newbie mistakes.
- Chris
On Thu, Jul 21, 2011 at 1:10 AM, Allen Riddle <[email protected]> wrote:
> Chris,
>
> Your code looks sound. I tried this out locally (v1.4.5), and it worked.
> Are you sure you've got the right path to your .tld file, and are you sure
> it exists during the point of packaging? The "file" method returns a file
> task using the expanded relative path, so I think the path to your .tld
> file
> will be at the root of your "edu-punt-js" folder, is that the correct path?
>
> On Wed, Jul 20, 2011 at 7:41 PM, Chris Adams <[email protected]>
> wrote:
>
> > Hi,
> >
> > I apologize for all the questions, but I'm still trying to wrap my head
> > around how to do some tasks in buildr...
> >
> > I have the following sub-project defined:
> > desc 'The js files which need to be included for punt-client and
> > punt-admin'
> > define 'eds-punt-js' do
> > meta_inf << file('taglib.tld')
> > package(:jar)
> > end
> >
> > However, the file 'taglib.tld' is not being included in the META-INF
> folder
> > of the packaged jar file. I'm not sure what I'm doing wrong...
> >
> > I've also tried:
> > desc 'The js files which need to be included for punt-client and
> > punt-admin'
> > define 'eds-punt-js' do
> > package(:jar).meta_inf << file('taglib.tld')
> > end
> >
> > Any help is appreciated.
> >
> > Thanks again.
> >
> > - Chris
> >
>