You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by "Chavan, Girish" <ch...@upmc.edu> on 2009/11/13 16:46:09 UTC

changing the $main_root for Eclipse PEAR Packager plugin

Hi,

When using the Eclipse PEAR packager plugin, the $main_root is set to the project base directory .  Is there a way to change this to another directory under the base directory. The reason being that the base directory tends to get cluttered with Eclipse specific files and some other stuff that does not need to be included in the pear package. So everytime I run the pear packager I need to deselect these other directories and files and then package it.

Thanks,
Girish

Re: changing the $main_root for Eclipse PEAR Packager plugin

Posted by Thilo Goetz <tw...@gmx.de>.
Chavan, Girish wrote:
>>>From the docs I see that the ANT task only allows you to specify the mainComponentDir. Which would work for me if I put all my pear stuff in a folder and use it as the mainComponentDir. But I wanted a solution that would work for both the Eclipse PEAR tool and the PEAR ant tool seamlessly without any config changes.

Sorry for the late reply.  Yes, you're right, I just looked at
my ant build.  I ran into the same problem.  What I did was that
when I build the pear with ant, I create a tmp dir, copy
everything I want in the pear over, build the pear, and finally
delete the tmp dir.  Don't know if that's a possible solution
for you.

--Thilo

> 
> 
> 
> -----Original Message-----
> From: Thilo Goetz [mailto:twgoetz@gmx.de] 
> Sent: Friday, November 13, 2009 11:12 AM
> To: uima-user@incubator.apache.org
> Subject: Re: changing the $main_root for Eclipse PEAR Packager plugin
> 
> On 11/13/2009 16:46, Chavan, Girish wrote:
>> Hi,
>>
>> When using the Eclipse PEAR packager plugin, the $main_root is set to the project base directory .  Is there a way to change this to another directory under the base directory. The reason being that the base directory tends to get cluttered with Eclipse specific files and some other stuff that does not need to be included in the pear package. So everytime I run the pear packager I need to deselect these other directories and files and then package it.
>>
>> Thanks,
>> Girish
>>
> 
> I don't know the answer to your question, but note that there
> is an Ant task that you can also use to package your pear file.
> I believe you can configure it so it includes only the files
> you want.
> 
> --Thilo


RE: changing the $main_root for Eclipse PEAR Packager plugin

Posted by "Chavan, Girish" <ch...@upmc.edu>.
>From the docs I see that the ANT task only allows you to specify the mainComponentDir. Which would work for me if I put all my pear stuff in a folder and use it as the mainComponentDir. But I wanted a solution that would work for both the Eclipse PEAR tool and the PEAR ant tool seamlessly without any config changes.



-----Original Message-----
From: Thilo Goetz [mailto:twgoetz@gmx.de] 
Sent: Friday, November 13, 2009 11:12 AM
To: uima-user@incubator.apache.org
Subject: Re: changing the $main_root for Eclipse PEAR Packager plugin

On 11/13/2009 16:46, Chavan, Girish wrote:
> Hi,
>
> When using the Eclipse PEAR packager plugin, the $main_root is set to the project base directory .  Is there a way to change this to another directory under the base directory. The reason being that the base directory tends to get cluttered with Eclipse specific files and some other stuff that does not need to be included in the pear package. So everytime I run the pear packager I need to deselect these other directories and files and then package it.
>
> Thanks,
> Girish
>

I don't know the answer to your question, but note that there
is an Ant task that you can also use to package your pear file.
I believe you can configure it so it includes only the files
you want.

--Thilo


Re: changing the $main_root for Eclipse PEAR Packager plugin

Posted by Thilo Goetz <tw...@gmx.de>.
On 11/13/2009 16:46, Chavan, Girish wrote:
> Hi,
>
> When using the Eclipse PEAR packager plugin, the $main_root is set to the project base directory .  Is there a way to change this to another directory under the base directory. The reason being that the base directory tends to get cluttered with Eclipse specific files and some other stuff that does not need to be included in the pear package. So everytime I run the pear packager I need to deselect these other directories and files and then package it.
>
> Thanks,
> Girish
>

I don't know the answer to your question, but note that there
is an Ant task that you can also use to package your pear file.
I believe you can configure it so it includes only the files
you want.

--Thilo