You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Rainer Hirschmiller <ra...@web.de> on 2012/08/20 16:56:02 UTC

log4j2 and Java 7

Hi,

Are there nightly builds of log4j2 available?

I use Java 7 and ALPHA1 version of log4j2 is not running with JAVA7.
Unfortunatly I'm not able to compile the acutal trunk(with fixed JAVA7 Problem) with
ECLIPSE JUNO.
With Juno I did follwing steps:
- checkout trunk
- right click on project log4j2 / Configure / Convert to Maven Project
- open view Maven Console
- right click on project log4j2 / Maven / Update Project
Then I got following message: Using NULL lifecycle mapping for MavenProject: org.apache.logging.log4j:log4j:2.0-alpha2-SNAPSHOT @ Z:\Projekte.JUNO\log4j2\pom.xml.


Any other ideas?


Regards
Rainer


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


AW: log4j2 and Java 7

Posted by Stadelmann Josef <jo...@axa-winterthur.ch>.
Hi Rainer,

maybe you fixed this meanwhile, but if a command in windows is not found you have to know and 
to do the following. The verb "mvn" is either realized by a mvn.com, mvn.exe or mvn.bat file.
If you have installed maven you will have to do "set MAVEN_HOME=<your maven install root dir>
and you have to do SET PATH=%MAVEN_HOME%\bin;%PATH%

adding the %maven_home%\bin dir to the PATH makes the mvn.bat and hence the mvn command 
available to the command line decoder. if this mvn command is used by Eclips, then the
environment must be adjusted previously to the start of Eclips.
Josef
 

-----Ursprüngliche Nachricht-----
Von: Rainer Hirschmiller [mailto:rainer.hirschmiller@web.de] 
Gesendet: Montag, 20. August 2012 17:14
An: Log4J Users List
Betreff: Re: log4j2 and Java 7

Hi,

on my Windows installation the mvn command isn't found.

Rainer


Am 20.08.2012 16:59, schrieb Gary Gregory:
> I set up an Eclipse project by running "mvn eclipse:eclipse" from the
> command line is the root of the checkout.
>
> Gary
>
> On Mon, Aug 20, 2012 at 10:56 AM, Rainer Hirschmiller <
> rainer.hirschmiller@web.de> wrote:
>
>> Hi,
>>
>> Are there nightly builds of log4j2 available?
>>
>> I use Java 7 and ALPHA1 version of log4j2 is not running with JAVA7.
>> Unfortunatly I'm not able to compile the acutal trunk(with fixed JAVA7
>> Problem) with
>> ECLIPSE JUNO.
>> With Juno I did follwing steps:
>> - checkout trunk
>> - right click on project log4j2 / Configure / Convert to Maven Project
>> - open view Maven Console
>> - right click on project log4j2 / Maven / Update Project
>> Then I got following message: Using NULL lifecycle mapping for
>> MavenProject: org.apache.logging.log4j:**log4j:2.0-alpha2-SNAPSHOT @
>> Z:\Projekte.JUNO\log4j2\pom.**xml.
>>
>>
>> Any other ideas?
>>
>>
>> Regards
>> Rainer
>>
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: log4j-user-unsubscribe@**logging.apache.org<lo...@logging.apache.org>
>> For additional commands, e-mail: log4j-user-help@logging.**apache.org<lo...@logging.apache.org>
>>
>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Re: log4j2 and Java 7

Posted by Rainer Hirschmiller <ra...@web.de>.
In Juno there M2E integrated. Isn't this enough?

Rainer



Am 20.08.2012 17:17, schrieb Gary Gregory:
> You have to install Apache Maven from https://maven.apache.org/
>
> Gary
>
> On Mon, Aug 20, 2012 at 11:14 AM, Rainer Hirschmiller <
> rainer.hirschmiller@web.de> wrote:
>
>> Hi,
>>
>> on my Windows installation the mvn command isn't found.
>>
>> Rainer
>>
>>
>> Am 20.08.2012 16:59, schrieb Gary Gregory:
>>
>>> I set up an Eclipse project by running "mvn eclipse:eclipse" from the
>>> command line is the root of the checkout.
>>>
>>> Gary
>>>
>>> On Mon, Aug 20, 2012 at 10:56 AM, Rainer Hirschmiller <
>>> rainer.hirschmiller@web.de> wrote:
>>>
>>>   Hi,
>>>> Are there nightly builds of log4j2 available?
>>>>
>>>> I use Java 7 and ALPHA1 version of log4j2 is not running with JAVA7.
>>>> Unfortunatly I'm not able to compile the acutal trunk(with fixed JAVA7
>>>> Problem) with
>>>> ECLIPSE JUNO.
>>>> With Juno I did follwing steps:
>>>> - checkout trunk
>>>> - right click on project log4j2 / Configure / Convert to Maven Project
>>>> - open view Maven Console
>>>> - right click on project log4j2 / Maven / Update Project
>>>> Then I got following message: Using NULL lifecycle mapping for
>>>> MavenProject: org.apache.logging.log4j:****log4j:2.0-alpha2-SNAPSHOT @
>>>> Z:\Projekte.JUNO\log4j2\pom.****xml.
>>>>
>>>>
>>>> Any other ideas?
>>>>
>>>>
>>>> Regards
>>>> Rainer
>>>>
>>>>
>>>> ------------------------------****----------------------------**
>>>> --**---------
>>>> To unsubscribe, e-mail: log4j-user-unsubscribe@**loggi**ng.apache.org<http://logging.apache.org>
>>>> <lo...@logging.apache.org>
>>>> **>
>>>> For additional commands, e-mail: log4j-user-help@logging.**apac**he.org<http://apache.org>
>>>> <lo...@logging.apache.org>
>>>>
>>>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: log4j-user-unsubscribe@**logging.apache.org<lo...@logging.apache.org>
>> For additional commands, e-mail: log4j-user-help@logging.**apache.org<lo...@logging.apache.org>
>>
>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Re: log4j2 and Java 7

Posted by Gary Gregory <ga...@gmail.com>.
You have to install Apache Maven from https://maven.apache.org/

Gary

On Mon, Aug 20, 2012 at 11:14 AM, Rainer Hirschmiller <
rainer.hirschmiller@web.de> wrote:

> Hi,
>
> on my Windows installation the mvn command isn't found.
>
> Rainer
>
>
> Am 20.08.2012 16:59, schrieb Gary Gregory:
>
>> I set up an Eclipse project by running "mvn eclipse:eclipse" from the
>> command line is the root of the checkout.
>>
>> Gary
>>
>> On Mon, Aug 20, 2012 at 10:56 AM, Rainer Hirschmiller <
>> rainer.hirschmiller@web.de> wrote:
>>
>>  Hi,
>>>
>>> Are there nightly builds of log4j2 available?
>>>
>>> I use Java 7 and ALPHA1 version of log4j2 is not running with JAVA7.
>>> Unfortunatly I'm not able to compile the acutal trunk(with fixed JAVA7
>>> Problem) with
>>> ECLIPSE JUNO.
>>> With Juno I did follwing steps:
>>> - checkout trunk
>>> - right click on project log4j2 / Configure / Convert to Maven Project
>>> - open view Maven Console
>>> - right click on project log4j2 / Maven / Update Project
>>> Then I got following message: Using NULL lifecycle mapping for
>>> MavenProject: org.apache.logging.log4j:****log4j:2.0-alpha2-SNAPSHOT @
>>> Z:\Projekte.JUNO\log4j2\pom.****xml.
>>>
>>>
>>> Any other ideas?
>>>
>>>
>>> Regards
>>> Rainer
>>>
>>>
>>> ------------------------------****----------------------------**
>>> --**---------
>>> To unsubscribe, e-mail: log4j-user-unsubscribe@**loggi**ng.apache.org<http://logging.apache.org>
>>> <lo...@logging.apache.org>
>>> **>
>>> For additional commands, e-mail: log4j-user-help@logging.**apac**he.org<http://apache.org>
>>> <lo...@logging.apache.org>
>>> >
>>>
>>>
>>>
>>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: log4j-user-unsubscribe@**logging.apache.org<lo...@logging.apache.org>
> For additional commands, e-mail: log4j-user-help@logging.**apache.org<lo...@logging.apache.org>
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Re: log4j2 and Java 7

Posted by Rainer Hirschmiller <ra...@web.de>.
Hi,

on my Windows installation the mvn command isn't found.

Rainer


Am 20.08.2012 16:59, schrieb Gary Gregory:
> I set up an Eclipse project by running "mvn eclipse:eclipse" from the
> command line is the root of the checkout.
>
> Gary
>
> On Mon, Aug 20, 2012 at 10:56 AM, Rainer Hirschmiller <
> rainer.hirschmiller@web.de> wrote:
>
>> Hi,
>>
>> Are there nightly builds of log4j2 available?
>>
>> I use Java 7 and ALPHA1 version of log4j2 is not running with JAVA7.
>> Unfortunatly I'm not able to compile the acutal trunk(with fixed JAVA7
>> Problem) with
>> ECLIPSE JUNO.
>> With Juno I did follwing steps:
>> - checkout trunk
>> - right click on project log4j2 / Configure / Convert to Maven Project
>> - open view Maven Console
>> - right click on project log4j2 / Maven / Update Project
>> Then I got following message: Using NULL lifecycle mapping for
>> MavenProject: org.apache.logging.log4j:**log4j:2.0-alpha2-SNAPSHOT @
>> Z:\Projekte.JUNO\log4j2\pom.**xml.
>>
>>
>> Any other ideas?
>>
>>
>> Regards
>> Rainer
>>
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: log4j-user-unsubscribe@**logging.apache.org<lo...@logging.apache.org>
>> For additional commands, e-mail: log4j-user-help@logging.**apache.org<lo...@logging.apache.org>
>>
>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Re: log4j2 and Java 7

Posted by Gary Gregory <ga...@gmail.com>.
I set up an Eclipse project by running "mvn eclipse:eclipse" from the
command line is the root of the checkout.

Gary

On Mon, Aug 20, 2012 at 10:56 AM, Rainer Hirschmiller <
rainer.hirschmiller@web.de> wrote:

> Hi,
>
> Are there nightly builds of log4j2 available?
>
> I use Java 7 and ALPHA1 version of log4j2 is not running with JAVA7.
> Unfortunatly I'm not able to compile the acutal trunk(with fixed JAVA7
> Problem) with
> ECLIPSE JUNO.
> With Juno I did follwing steps:
> - checkout trunk
> - right click on project log4j2 / Configure / Convert to Maven Project
> - open view Maven Console
> - right click on project log4j2 / Maven / Update Project
> Then I got following message: Using NULL lifecycle mapping for
> MavenProject: org.apache.logging.log4j:**log4j:2.0-alpha2-SNAPSHOT @
> Z:\Projekte.JUNO\log4j2\pom.**xml.
>
>
> Any other ideas?
>
>
> Regards
> Rainer
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: log4j-user-unsubscribe@**logging.apache.org<lo...@logging.apache.org>
> For additional commands, e-mail: log4j-user-help@logging.**apache.org<lo...@logging.apache.org>
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory