You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Wim Deblauwe <wi...@gmail.com> on 2005/09/26 10:10:56 UTC

[m1.1b1] IntelliJ IDEA plugin with Maven 1.1beta1

Hi,

when generating the iml file with Maven 1.1beta1, I always get the following
error when using that iml file: "Cannot determine module type for the
following module: "mymodule". Assuming it is a JAVA module". But this
assuming does not seem to work properly. The current workaround I have found
is to manually edit the iml file as follows:

Original:
<module version="4" relativePaths="true" type="">

Add JAVA_MODULE as type:
<module version="4" relativePaths="true" type="JAVA_MODULE">

please fix this,

regards,

Wim

Re: [m1.1b1] IntelliJ IDEA plugin with Maven 1.1beta1

Posted by Wim Deblauwe <wi...@gmail.com>.
You are right Brett, I is solved by using 1.1beta2

2005/9/27, Wim Deblauwe <wi...@gmail.com>:
>
> That is one of the reasons I did not want to file a repor in JIRA right
> away, you never know what you might have overlooked. I will try the beta2
> and see if that is better.
>
> regards,
>
> Wim
>
> 2005/9/27, Brett Porter <br...@gmail.com>:
> >
> > Please try 1.1 beta-2 first. The IDEA plugin has been improved.
> >
> > - Brett
> >
> >
> > On 9/27/05, Arnaud HERITIER <ah...@gmail.com> wrote:
> > > Can you open an issue on Jira please, if this one doesn't yet exist.
> > >
> > > Arnaud
> > >
> > > >
> > > > Hi,
> > > >
> > > > when generating the iml file with Maven 1.1beta1, I always
> > > > get the following error when using that iml file: "Cannot
> > > > determine module type for the following module: "mymodule".
> > > > Assuming it is a JAVA module". But this assuming does not
> > > > seem to work properly. The current workaround I have found is
> > > > to manually edit the iml file as follows:
> > > >
> > > > Original:
> > > > <module version="4" relativePaths="true" type="">
> > > >
> > > > Add JAVA_MODULE as type:
> > > > <module version="4" relativePaths="true" type="JAVA_MODULE">
> > > >
> > > > please fix this,
> > > >
> > > > regards,
> > > >
> > > > Wim
> > > >
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>

Re: [m1.1b1] IntelliJ IDEA plugin with Maven 1.1beta1

Posted by Wim Deblauwe <wi...@gmail.com>.
That is one of the reasons I did not want to file a repor in JIRA right
away, you never know what you might have overlooked. I will try the beta2
and see if that is better.

regards,

Wim

2005/9/27, Brett Porter <br...@gmail.com>:
>
> Please try 1.1 beta-2 first. The IDEA plugin has been improved.
>
> - Brett
>
>
> On 9/27/05, Arnaud HERITIER <ah...@gmail.com> wrote:
> > Can you open an issue on Jira please, if this one doesn't yet exist.
> >
> > Arnaud
> >
> > >
> > > Hi,
> > >
> > > when generating the iml file with Maven 1.1beta1, I always
> > > get the following error when using that iml file: "Cannot
> > > determine module type for the following module: "mymodule".
> > > Assuming it is a JAVA module". But this assuming does not
> > > seem to work properly. The current workaround I have found is
> > > to manually edit the iml file as follows:
> > >
> > > Original:
> > > <module version="4" relativePaths="true" type="">
> > >
> > > Add JAVA_MODULE as type:
> > > <module version="4" relativePaths="true" type="JAVA_MODULE">
> > >
> > > please fix this,
> > >
> > > regards,
> > >
> > > Wim
> > >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: [m1.1b1] IntelliJ IDEA plugin with Maven 1.1beta1

Posted by Geoffrey <jc...@hotmail.com>.
Brett,

Have you gotten a chance to take a look at the following regression bug 
in m1.1b2 that corrupts the idea plugin a bit:


 > Try the following line in jelly:
 > <echo>0${res.targetPath}0 0${res.targetPath == ''}0</echo>
 > My output was:
 > [echo] 00 0false0
 >
 > So the string is empty but still it's not equal to empty.
 > Must be a null != empty bug, but is this possible in Jelly?
 > It wasn't before, because it breaks backwards compability with maven 
1.0.2:
 >
 > For example (partly taken from the idea 1.6 plugin, which doesn't 
work properly in m1.1-b2):
 > <j:forEach var="res" items="${pom.build.resources}">
 >   <echo>0${res.targetPath}0 0${res.targetPath == ''}0</echo>
 >   <j:if test="${res.includes.isEmpty() and res.targetPath == ''}">
 >     <echo>Normally the resources would be have been added here</echo>
 >     ...
 >   </j:if>
 > </j:forEach>

Although the bug still exists, adding targetPath solved my problem with 
the idea plugin btw:

             <resource>
                 <directory>${basedir}/src/resources</directory>
                 <targetPath></targetPath><!-- It should be '' instead 
of null (default) for the idea 1.6 plugin in m1.1b2 -->
             </resource>


Brett Porter wrote:
> Please try 1.1 beta-2 first. The IDEA plugin has been improved.
> 
> - Brett
> 
> 
> On 9/27/05, Arnaud HERITIER <ah...@gmail.com> wrote:
> 
>>Can you open an issue on Jira please, if this one doesn't yet exist.
>>
>>Arnaud
>>
>>
>>>Hi,
>>>
>>>when generating the iml file with Maven 1.1beta1, I always
>>>get the following error when using that iml file: "Cannot
>>>determine module type for the following module: "mymodule".
>>>Assuming it is a JAVA module". But this assuming does not
>>>seem to work properly. The current workaround I have found is
>>>to manually edit the iml file as follows:
>>>
>>>Original:
>>><module version="4" relativePaths="true" type="">
>>>
>>>Add JAVA_MODULE as type:
>>><module version="4" relativePaths="true" type="JAVA_MODULE">
>>>
>>>please fix this,
>>>
>>>regards,
>>>
>>>Wim
>>>
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>

-- 
With kind regards,
Geoffrey De Smet


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m1.1b1] IntelliJ IDEA plugin with Maven 1.1beta1

Posted by Brett Porter <br...@gmail.com>.
Please try 1.1 beta-2 first. The IDEA plugin has been improved.

- Brett


On 9/27/05, Arnaud HERITIER <ah...@gmail.com> wrote:
> Can you open an issue on Jira please, if this one doesn't yet exist.
>
> Arnaud
>
> >
> > Hi,
> >
> > when generating the iml file with Maven 1.1beta1, I always
> > get the following error when using that iml file: "Cannot
> > determine module type for the following module: "mymodule".
> > Assuming it is a JAVA module". But this assuming does not
> > seem to work properly. The current workaround I have found is
> > to manually edit the iml file as follows:
> >
> > Original:
> > <module version="4" relativePaths="true" type="">
> >
> > Add JAVA_MODULE as type:
> > <module version="4" relativePaths="true" type="JAVA_MODULE">
> >
> > please fix this,
> >
> > regards,
> >
> > Wim
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: [m1.1b1] IntelliJ IDEA plugin with Maven 1.1beta1

Posted by Arnaud HERITIER <ah...@gmail.com>.
Can you open an issue on Jira please, if this one doesn't yet exist.

Arnaud

> 
> Hi,
> 
> when generating the iml file with Maven 1.1beta1, I always 
> get the following error when using that iml file: "Cannot 
> determine module type for the following module: "mymodule". 
> Assuming it is a JAVA module". But this assuming does not 
> seem to work properly. The current workaround I have found is 
> to manually edit the iml file as follows:
> 
> Original:
> <module version="4" relativePaths="true" type="">
> 
> Add JAVA_MODULE as type:
> <module version="4" relativePaths="true" type="JAVA_MODULE">
> 
> please fix this,
> 
> regards,
> 
> Wim
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org