You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by David Blevins <da...@visi.com> on 2008/06/11 05:49:16 UTC

Pom fixup for Eclipse and Intellij

Is there someone who wants to figure out how to get our pom.xml setup  
to always use these options for the "idea:idea" goal?

mvn idea:idea -DdownloadSources=true -DdownloadJavadoc=true -Dassemble

Same would go for the "eclipse:eclipse" goal.

-David


Re: Pom fixup for Eclipse and Intellij

Posted by David Blevins <da...@visi.com>.
That's alright.  If it's going to make our build incompatible on  
certain platforms due to typical resource limitations it's sort of a  
no-go.

Kind of too bad.

-David

On Jun 19, 2008, at 5:39 PM, Karan Malhi wrote:

> This update to pom would be a show stopper for linux users. Whatever  
> I have
> read till now, seems like BSD users should be able to work around this
> easily. Not sure what happens on windows, will try and test tonight.
>
>
> On Tue, Jun 17, 2008 at 9:00 AM, Karan Malhi <ka...@gmail.com>  
> wrote:
>
>> FYI, Once I have added the two elements to the pom (downloadSources  
>> and
>> downloadJavadocs), the eclipse:eclipse goal does not run to  
>> completion and
>> errors out after 6 minutes or so. It says there are "too many open  
>> files". I
>> knew I had seen this error before and it is because there is a  
>> limit of
>> total number of files a user/shell can open. I will have to manually
>> increase the FD's for the system/user/shell . I have not tested  
>> this on a
>> windows machine. I tried to increase the file size and increasing  
>> it for the
>> shell is going to be a challenge on linux . I somehow cannot get the
>> filesize to increase beyond 1024 for a user (for a root, it was  
>> simple --
>> ulimit -n 2048 worked fine).
>>
>> Has anybody faced something similar? If so, is there an easier fix  
>> for it?
>>
>>
>> On Mon, Jun 16, 2008 at 6:09 AM, Karan Malhi <ka...@gmail.com>
>> wrote:
>>
>>> Couldn't find a way to kick off the assemble profile from the idea/ 
>>> eclipse
>>> plugin. Don't know how to start the assemble profile. I am not  
>>> completely
>>> clear on how maven works . I know that the idea and eclipse  
>>> plugins execute
>>> in the generate-resources phase. I would think that to execute a  
>>> profile I
>>> would need to provide the system property "assemble", upfront  
>>> (i.e. before
>>> any phase starts) . I don't know how to do that.
>>>
>>> On Wed, Jun 11, 2008 at 6:54 AM, Karan Malhi <ka...@gmail.com>
>>> wrote:
>>>
>>>> I think the below should do it (haven't tested it yet, but can  
>>>> try it out
>>>> tonight).
>>>>
>>>>      <plugin>
>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>        <artifactId>maven-eclipse-plugin</artifactId>
>>>>        <configuration>
>>>>          <downloadSources>true</downloadSources>
>>>>          <downloadJavadocs>true</downloadJavadocs>
>>>>        </configuration>
>>>>      </plugin>
>>>>
>>>>
>>>> On Tue, Jun 10, 2008 at 11:49 PM, David Blevins <david.blevins@visi.com 
>>>> >
>>>> wrote:
>>>>
>>>>> Is there someone who wants to figure out how to get our pom.xml  
>>>>> setup to
>>>>> always use these options for the "idea:idea" goal?
>>>>>
>>>>> mvn idea:idea -DdownloadSources=true -DdownloadJavadoc=true - 
>>>>> Dassemble
>>>>>
>>>>> Same would go for the "eclipse:eclipse" goal.
>>>>>
>>>>> -David
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Karan Singh Malhi
>>>
>>>
>>>
>>>
>>> --
>>> Karan Singh Malhi
>>
>>
>>
>>
>> --
>> Karan Singh Malhi
>
>
>
>
> -- 
> Karan Singh Malhi


Re: Pom fixup for Eclipse and Intellij

Posted by Karan Malhi <ka...@gmail.com>.
This update to pom would be a show stopper for linux users. Whatever I have
read till now, seems like BSD users should be able to work around this
easily. Not sure what happens on windows, will try and test tonight.


On Tue, Jun 17, 2008 at 9:00 AM, Karan Malhi <ka...@gmail.com> wrote:

> FYI, Once I have added the two elements to the pom (downloadSources and
> downloadJavadocs), the eclipse:eclipse goal does not run to completion and
> errors out after 6 minutes or so. It says there are "too many open files". I
> knew I had seen this error before and it is because there is a limit of
> total number of files a user/shell can open. I will have to manually
> increase the FD's for the system/user/shell . I have not tested this on a
> windows machine. I tried to increase the file size and increasing it for the
> shell is going to be a challenge on linux . I somehow cannot get the
> filesize to increase beyond 1024 for a user (for a root, it was simple --
> ulimit -n 2048 worked fine).
>
> Has anybody faced something similar? If so, is there an easier fix for it?
>
>
> On Mon, Jun 16, 2008 at 6:09 AM, Karan Malhi <ka...@gmail.com>
> wrote:
>
>> Couldn't find a way to kick off the assemble profile from the idea/eclipse
>> plugin. Don't know how to start the assemble profile. I am not completely
>> clear on how maven works . I know that the idea and eclipse plugins execute
>> in the generate-resources phase. I would think that to execute a profile I
>> would need to provide the system property "assemble", upfront (i.e. before
>> any phase starts) . I don't know how to do that.
>>
>> On Wed, Jun 11, 2008 at 6:54 AM, Karan Malhi <ka...@gmail.com>
>> wrote:
>>
>>> I think the below should do it (haven't tested it yet, but can try it out
>>> tonight).
>>>
>>>       <plugin>
>>>            <groupId>org.apache.maven.plugins</groupId>
>>>         <artifactId>maven-eclipse-plugin</artifactId>
>>>         <configuration>
>>>           <downloadSources>true</downloadSources>
>>>           <downloadJavadocs>true</downloadJavadocs>
>>>         </configuration>
>>>       </plugin>
>>>
>>>
>>> On Tue, Jun 10, 2008 at 11:49 PM, David Blevins <da...@visi.com>
>>> wrote:
>>>
>>>> Is there someone who wants to figure out how to get our pom.xml setup to
>>>> always use these options for the "idea:idea" goal?
>>>>
>>>> mvn idea:idea -DdownloadSources=true -DdownloadJavadoc=true -Dassemble
>>>>
>>>> Same would go for the "eclipse:eclipse" goal.
>>>>
>>>> -David
>>>>
>>>>
>>>
>>>
>>> --
>>> Karan Singh Malhi
>>
>>
>>
>>
>> --
>> Karan Singh Malhi
>
>
>
>
> --
> Karan Singh Malhi




-- 
Karan Singh Malhi

Re: Pom fixup for Eclipse and Intellij

Posted by Karan Malhi <ka...@gmail.com>.
FYI, Once I have added the two elements to the pom (downloadSources and
downloadJavadocs), the eclipse:eclipse goal does not run to completion and
errors out after 6 minutes or so. It says there are "too many open files". I
knew I had seen this error before and it is because there is a limit of
total number of files a user/shell can open. I will have to manually
increase the FD's for the system/user/shell . I have not tested this on a
windows machine. I tried to increase the file size and increasing it for the
shell is going to be a challenge on linux . I somehow cannot get the
filesize to increase beyond 1024 for a user (for a root, it was simple --
ulimit -n 2048 worked fine).

Has anybody faced something similar? If so, is there an easier fix for it?

On Mon, Jun 16, 2008 at 6:09 AM, Karan Malhi <ka...@gmail.com> wrote:

> Couldn't find a way to kick off the assemble profile from the idea/eclipse
> plugin. Don't know how to start the assemble profile. I am not completely
> clear on how maven works . I know that the idea and eclipse plugins execute
> in the generate-resources phase. I would think that to execute a profile I
> would need to provide the system property "assemble", upfront (i.e. before
> any phase starts) . I don't know how to do that.
>
> On Wed, Jun 11, 2008 at 6:54 AM, Karan Malhi <ka...@gmail.com>
> wrote:
>
>> I think the below should do it (haven't tested it yet, but can try it out
>> tonight).
>>
>>       <plugin>
>>            <groupId>org.apache.maven.plugins</groupId>
>>         <artifactId>maven-eclipse-plugin</artifactId>
>>         <configuration>
>>           <downloadSources>true</downloadSources>
>>           <downloadJavadocs>true</downloadJavadocs>
>>         </configuration>
>>       </plugin>
>>
>>
>> On Tue, Jun 10, 2008 at 11:49 PM, David Blevins <da...@visi.com>
>> wrote:
>>
>>> Is there someone who wants to figure out how to get our pom.xml setup to
>>> always use these options for the "idea:idea" goal?
>>>
>>> mvn idea:idea -DdownloadSources=true -DdownloadJavadoc=true -Dassemble
>>>
>>> Same would go for the "eclipse:eclipse" goal.
>>>
>>> -David
>>>
>>>
>>
>>
>> --
>> Karan Singh Malhi
>
>
>
>
> --
> Karan Singh Malhi




-- 
Karan Singh Malhi

Re: Pom fixup for Eclipse and Intellij

Posted by Karan Malhi <ka...@gmail.com>.
Couldn't find a way to kick off the assemble profile from the idea/eclipse
plugin. Don't know how to start the assemble profile. I am not completely
clear on how maven works . I know that the idea and eclipse plugins execute
in the generate-resources phase. I would think that to execute a profile I
would need to provide the system property "assemble", upfront (i.e. before
any phase starts) . I don't know how to do that.

On Wed, Jun 11, 2008 at 6:54 AM, Karan Malhi <ka...@gmail.com> wrote:

> I think the below should do it (haven't tested it yet, but can try it out
> tonight).
>
>       <plugin>
>            <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-eclipse-plugin</artifactId>
>         <configuration>
>           <downloadSources>true</downloadSources>
>           <downloadJavadocs>true</downloadJavadocs>
>         </configuration>
>       </plugin>
>
>
> On Tue, Jun 10, 2008 at 11:49 PM, David Blevins <da...@visi.com>
> wrote:
>
>> Is there someone who wants to figure out how to get our pom.xml setup to
>> always use these options for the "idea:idea" goal?
>>
>> mvn idea:idea -DdownloadSources=true -DdownloadJavadoc=true -Dassemble
>>
>> Same would go for the "eclipse:eclipse" goal.
>>
>> -David
>>
>>
>
>
> --
> Karan Singh Malhi




-- 
Karan Singh Malhi

Re: Pom fixup for Eclipse and Intellij

Posted by Karan Malhi <ka...@gmail.com>.
I think the below should do it (haven't tested it yet, but can try it out
tonight).

      <plugin>
           <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-eclipse-plugin</artifactId>
        <configuration>
          <downloadSources>true</downloadSources>
          <downloadJavadocs>true</downloadJavadocs>
        </configuration>
      </plugin>

On Tue, Jun 10, 2008 at 11:49 PM, David Blevins <da...@visi.com>
wrote:

> Is there someone who wants to figure out how to get our pom.xml setup to
> always use these options for the "idea:idea" goal?
>
> mvn idea:idea -DdownloadSources=true -DdownloadJavadoc=true -Dassemble
>
> Same would go for the "eclipse:eclipse" goal.
>
> -David
>
>


-- 
Karan Singh Malhi