You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Matt Raible <mr...@gmail.com> on 2006/02/08 08:47:12 UTC

[m2] specifying the jdkName for idea:idea

I'm using "mvn idea:idea" to generate IDEA project files.  From
reading this page:

http://maven.apache.org/plugins/maven-idea-plugin/idea-mojo.html

It seems I can use "mvn idea:idea -DjdkName=Default", but this doesn't
work.  Is there a different syntax I should be using?

Thanks,

Matt

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


Re: [m2] specifying the jdkName for idea:idea

Posted by Matt Raible <mr...@gmail.com>.
Maven snapshot?  No, I'm using 2.0.2.  My guess is you're saying the
idea snapshot.  How do I go about grabbing that with M2?

Matt

On 2/9/06, Geoffrey De Smet <ge...@gmail.com> wrote:
> Oh, I forgot to ask:
> You are using the latest snapshot, right?
> The latest snapshot is a LOT better then the latest release,
> especially in multiprojects.
>
> With kind regards,
> Geoffrey De Smet
>
> Matt Raible wrote:
> > Thanks for the info - but I'm looking to force the generation process
> > to use "Default" as the jdkName.
> >
> > http://weblogs.java.net/blog/crazybob/archive/2004/04/default_jdk_in.html
> >
> > Matt
> >
> > On 2/8/06, Geoffrey De Smet <ge...@gmail.com> wrote:
> >> It's a little caveat.
> >>
> >> If you configure for example Sun's JDK 1.5.0_06 in 5.0 or 5.1 it will be
> >> named - by default - "1.5".
> >>
> >> However, in 4.5 and before it named something like "... 1.5.0_06",
> >> giving problems when updating to _07, because all project files needed
> >> to be updated too.
> >>
> >> Maven is smart: when it's idea 4.5 or lower it's "... 1.5.0_06",
> >> otherwise it's "1.5".
> >>
> >> But - and here's the catch - when you've imported your settings from 4.5
> >> into 5.0 it will still be "... 1.5.0_06".
> >> Quick fix: remove your jdk and add it again.
> >>
> >> Matt Raible wrote:
> >>> I'm using "mvn idea:idea" to generate IDEA project files.  From
> >>> reading this page:
> >>>
> >>> http://maven.apache.org/plugins/maven-idea-plugin/idea-mojo.html
> >>>
> >>> It seems I can use "mvn idea:idea -DjdkName=Default", but this doesn't
> >>> work.  Is there a different syntax I should be using?
> >>>
> >>> Thanks,
> >>>
> >>> Matt
> >> --
> >> 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
> >>
> >>
>
> --
> 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
>
>

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


Re: [m2] specifying the jdkName for idea:idea

Posted by Geoffrey De Smet <ge...@gmail.com>.
Oh, I forgot to ask:
You are using the latest snapshot, right?
The latest snapshot is a LOT better then the latest release,
especially in multiprojects.

With kind regards,
Geoffrey De Smet

Matt Raible wrote:
> Thanks for the info - but I'm looking to force the generation process
> to use "Default" as the jdkName.
> 
> http://weblogs.java.net/blog/crazybob/archive/2004/04/default_jdk_in.html
> 
> Matt
> 
> On 2/8/06, Geoffrey De Smet <ge...@gmail.com> wrote:
>> It's a little caveat.
>>
>> If you configure for example Sun's JDK 1.5.0_06 in 5.0 or 5.1 it will be
>> named - by default - "1.5".
>>
>> However, in 4.5 and before it named something like "... 1.5.0_06",
>> giving problems when updating to _07, because all project files needed
>> to be updated too.
>>
>> Maven is smart: when it's idea 4.5 or lower it's "... 1.5.0_06",
>> otherwise it's "1.5".
>>
>> But - and here's the catch - when you've imported your settings from 4.5
>> into 5.0 it will still be "... 1.5.0_06".
>> Quick fix: remove your jdk and add it again.
>>
>> Matt Raible wrote:
>>> I'm using "mvn idea:idea" to generate IDEA project files.  From
>>> reading this page:
>>>
>>> http://maven.apache.org/plugins/maven-idea-plugin/idea-mojo.html
>>>
>>> It seems I can use "mvn idea:idea -DjdkName=Default", but this doesn't
>>> work.  Is there a different syntax I should be using?
>>>
>>> Thanks,
>>>
>>> Matt
>> --
>> 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
>>
>>

-- 
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: [m2] specifying the jdkName for idea:idea

Posted by Matt Raible <mr...@gmail.com>.
Thanks for the info - but I'm looking to force the generation process
to use "Default" as the jdkName.

http://weblogs.java.net/blog/crazybob/archive/2004/04/default_jdk_in.html

Matt

On 2/8/06, Geoffrey De Smet <ge...@gmail.com> wrote:
> It's a little caveat.
>
> If you configure for example Sun's JDK 1.5.0_06 in 5.0 or 5.1 it will be
> named - by default - "1.5".
>
> However, in 4.5 and before it named something like "... 1.5.0_06",
> giving problems when updating to _07, because all project files needed
> to be updated too.
>
> Maven is smart: when it's idea 4.5 or lower it's "... 1.5.0_06",
> otherwise it's "1.5".
>
> But - and here's the catch - when you've imported your settings from 4.5
> into 5.0 it will still be "... 1.5.0_06".
> Quick fix: remove your jdk and add it again.
>
> Matt Raible wrote:
> > I'm using "mvn idea:idea" to generate IDEA project files.  From
> > reading this page:
> >
> > http://maven.apache.org/plugins/maven-idea-plugin/idea-mojo.html
> >
> > It seems I can use "mvn idea:idea -DjdkName=Default", but this doesn't
> > work.  Is there a different syntax I should be using?
> >
> > Thanks,
> >
> > Matt
>
> --
> 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
>
>

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


Re: [m2] specifying the jdkName for idea:idea

Posted by Geoffrey De Smet <ge...@gmail.com>.
It's a little caveat.

If you configure for example Sun's JDK 1.5.0_06 in 5.0 or 5.1 it will be 
named - by default - "1.5".

However, in 4.5 and before it named something like "... 1.5.0_06",
giving problems when updating to _07, because all project files needed 
to be updated too.

Maven is smart: when it's idea 4.5 or lower it's "... 1.5.0_06", 
otherwise it's "1.5".

But - and here's the catch - when you've imported your settings from 4.5 
into 5.0 it will still be "... 1.5.0_06".
Quick fix: remove your jdk and add it again.

Matt Raible wrote:
> I'm using "mvn idea:idea" to generate IDEA project files.  From
> reading this page:
> 
> http://maven.apache.org/plugins/maven-idea-plugin/idea-mojo.html
> 
> It seems I can use "mvn idea:idea -DjdkName=Default", but this doesn't
> work.  Is there a different syntax I should be using?
> 
> Thanks,
> 
> Matt

-- 
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