You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by John Fallows <jo...@gmail.com> on 2005/07/12 01:47:53 UTC

[m2] migrating reports from m1

We have a custom report that generated a bunch of xdoc files for
Maven1, and would like to know the easiest way to migrate that report
to Maven2.

Can we continue to generate xdoc files and then transform those files
to .html as before?
Or is it now required to use the Sink API directly during report
generation rather than writing an intermediate xdoc file?

Kind Regards,
John Fallows.

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


Re: MevenIDE - Error when running within eclipse 3.0.2

Posted by Christian Schlaefcke <cs...@wms-network.de>.
Thank you and sorry for posting in the wrong place.

Regards,

Chris

Jeffrey Bonevich schrieb:

> Christian -
>
> This should really get posted to user@mevenide.codehaus.org as it is a 
> mevenide plugin question.
>
> Regardless, you are seeing the result of relying on internal eclipse 
> libraries in 3.1 that do not exist in 3.0.  This will be corrected 
> soon.  However, note that it does not actually prevent you from 
> running maven within eclipse; it is just an annoying message!
>
> jeff
>
>
> Christian Schlaefcke wrote:
>
>> Hi Folks,
>>
>> when I try to run maven with the Mevenide plugin I get this:
>> An internal error occurred during: "Launching".
>> java.lang.NoSuchMethodError: 
>> org.eclipse.debug.internal.ui.DebugUIPlugin.getProcessConsoleManager()Lorg/eclipse/debug/internal/ui/views/console/ProcessConsoleManager; 
>>
>> org.mevenide.ui.eclipse.launch.configuration.MavenLaunchDelegate.launch(MavenLaunchDelegate.java:138) 
>>
>> org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:569) 
>>
>> org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:788) 
>>
>> org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955) 
>>
>> org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
>>
>> Any ideas?
>>
>> Thanks & Regards,
>>
>> Christian
>>
>> ---------------------------------------------------------------------
>> 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: MevenIDE - Error when running within eclipse 3.0.2

Posted by Jeffrey Bonevich <je...@bonevich.com>.
Christian -

This should really get posted to user@mevenide.codehaus.org as it is a 
mevenide plugin question.

Regardless, you are seeing the result of relying on internal eclipse 
libraries in 3.1 that do not exist in 3.0.  This will be corrected 
soon.  However, note that it does not actually prevent you from running 
maven within eclipse; it is just an annoying message!

jeff


Christian Schlaefcke wrote:

> Hi Folks,
>
> when I try to run maven with the Mevenide plugin I get this:
> An internal error occurred during: "Launching".
> java.lang.NoSuchMethodError: 
> org.eclipse.debug.internal.ui.DebugUIPlugin.getProcessConsoleManager()Lorg/eclipse/debug/internal/ui/views/console/ProcessConsoleManager; 
>
> org.mevenide.ui.eclipse.launch.configuration.MavenLaunchDelegate.launch(MavenLaunchDelegate.java:138) 
>
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:569) 
>
> org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:788) 
>
> org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955)
> org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
>
> Any ideas?
>
> Thanks & Regards,
>
> Christian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
jeff bonevich
mailto: jeff@bonevich.com

"Any sufficiently advanced technology is indistinguishable from magic."
Arthur C. Clarke

"Programming today is a race between software engineers striving to 
build bigger and better idiot-proof programs, and the Universe trying 
to produce bigger and better idiots. So far, the Universe is winning."
Rich Cook

"All programmers are playwrights and all computers are lousy actors."
Unknown


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


MevenIDE - Error when running within eclipse 3.0.2

Posted by Christian Schlaefcke <cs...@wms-network.de>.
Hi Folks,

when I try to run maven with the Mevenide plugin I get this:
An internal error occurred during: "Launching".
java.lang.NoSuchMethodError: 
org.eclipse.debug.internal.ui.DebugUIPlugin.getProcessConsoleManager()Lorg/eclipse/debug/internal/ui/views/console/ProcessConsoleManager;
org.mevenide.ui.eclipse.launch.configuration.MavenLaunchDelegate.launch(MavenLaunchDelegate.java:138)
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:569)
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:788)
org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

Any ideas?

Thanks & Regards,

Christian

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


Re: [m2] migrating reports from m1

Posted by Emmanuel Venisse <em...@venisse.net>.

John Fallows wrote:
> On 7/12/05, Emmanuel Venisse <em...@venisse.net> wrote:
> 
>>
>>John Fallows wrote:
>>
>>>We have a custom report that generated a bunch of xdoc files for
>>>Maven1, and would like to know the easiest way to migrate that report
>>>to Maven2.
>>>
>>>Can we continue to generate xdoc files and then transform those files
>>>to .html as before?
>>
>>you can, but do you really need to generate xdoc files?
> 
> 
> During transition, we need to keep both Maven1 and Maven2 builds
> available in parallel.  Therefore, I'd much prefer to focus on other
> issues in the short term, and update the custom report to use the Sink
> API directly after the Maven1 build is no longer needed.
> 
> I looked at the SiteRenderer Java code, but found it a bit confusing. 
> I'm hoping to save some time by asking the experts. :-)
> 
> How can I use the SiteRenderer API to transform the xdoc files to .html?
> 
> Is there a some existing part of the M2 codebase that illustrates the
> correct usage for an individual report like this, rather than the
> whole site?

Look at the site plugin.

You need to call siteRenderer.render with your generated directory as 
parameter. this directory must contains a xdoc directory with all your 
files in it.

Emmanuel

> 
> Kind Regards,
> John Fallows.
> 
> ---------------------------------------------------------------------
> 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] migrating reports from m1

Posted by John Fallows <jo...@gmail.com>.
On 7/12/05, Emmanuel Venisse <em...@venisse.net> wrote:
> 
> 
> John Fallows wrote:
> > We have a custom report that generated a bunch of xdoc files for
> > Maven1, and would like to know the easiest way to migrate that report
> > to Maven2.
> >
> > Can we continue to generate xdoc files and then transform those files
> > to .html as before?
> 
> you can, but do you really need to generate xdoc files?

During transition, we need to keep both Maven1 and Maven2 builds
available in parallel.  Therefore, I'd much prefer to focus on other
issues in the short term, and update the custom report to use the Sink
API directly after the Maven1 build is no longer needed.

I looked at the SiteRenderer Java code, but found it a bit confusing. 
I'm hoping to save some time by asking the experts. :-)

How can I use the SiteRenderer API to transform the xdoc files to .html?

Is there a some existing part of the M2 codebase that illustrates the
correct usage for an individual report like this, rather than the
whole site?

Kind Regards,
John Fallows.

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


RE: Ignoring the dependent goal

Posted by Vincent Massol <vm...@pivolis.com>.

> -----Original Message-----
> From: rahul murthy [mailto:rahul_1109@yahoo.com]
> Sent: mardi 12 juillet 2005 09:47
> To: Maven Users List
> Subject: Ignoring the dependent goal
> 
> Hi all,
> 
>  how can we implement the dependent goal to ignored.
> like i have
> 
> <goal name="rrm" prereqs="createSomething">
>   <echo>${cmd_arg}</echo>
> <goal>
> 
> <goal name="createSomething" >
>    <!--some porcessing-->
> <goal>
> 
> i would like the goal "rrm" to be executed even if the
> goal ="createSomething" fails.

Use a <j:catch> to catch exceptions. See
http://jakarta.apache.org/commons/jelly/tags.html

-Vincent


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


Ignoring the dependent goal

Posted by rahul murthy <ra...@yahoo.com>.
Hi all,

 how can we implement the dependent goal to ignored.
like i have

<goal name="rrm" prereqs="createSomething"> 
  <echo>${cmd_arg}</echo>
<goal>

<goal name="createSomething" > 
   <!--some porcessing-->
<goal>

i would like the goal "rrm" to be executed even if the
goal ="createSomething" fails.

regards,
Rahul.


	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com

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


Re: [m2] migrating reports from m1

Posted by Emmanuel Venisse <em...@venisse.net>.

John Fallows wrote:
> We have a custom report that generated a bunch of xdoc files for
> Maven1, and would like to know the easiest way to migrate that report
> to Maven2.
> 
> Can we continue to generate xdoc files and then transform those files
> to .html as before?

you can, but do you really need to generate xdoc files?

> Or is it now required to use the Sink API directly during report
> generation rather than writing an intermediate xdoc file?

it isn't required but it's the preferred way.

Emmanuel

> 
> Kind Regards,
> John Fallows.
> 
> ---------------------------------------------------------------------
> 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