Re: native-maven-plugin suggested patch to avoid redundant relink

2011-12-14 Thread sintetik
Robert,

Done, https://jira.codehaus.org/browse/MOJO-1793.

Regards,
Sergey.


On Wed, Dec 14, 2011 at 9:55 PM, Robert Scholte [via Maven] <
ml-node+s40175n5075214...@n5.nabble.com> wrote:

>
> Could you create a Jira issue[1], together with these patches. This issue
> tracking system is a much better place to keep track of an issue instead of
> a mailinglist.
>
>
> -Robert
>
>
>
> [1] https://jira.codehaus.org/browse/MOJO/component/11773
>
>
>
> > Date: Wed, 14 Dec 2011 09:12:22 -0800
> > From: [hidden email]
> > To: [hidden email]
> > Subject: native-maven-plugin suggested patch to avoid redundant relink
> >
> > I've been asking a question some time ago about redundant relink in
> > native-maven-plugin:
> >
> http://maven.40175.n5.nabble.com/c-native-maven-plugin-redundant-linking-at-second-run-problem-td3403291.html
> >
> > Finally we've started actually using native-maven-plugin so I've patched
> the
> > plugin to avoid relink in case of no changes.
> >
> > We have some other modifications as well but we don't want to fork too
> much
> > from publicly available source so I'd like to send to upstream as much
> as
> > possible.
> >
> > Please consider the patch
> > http://maven.40175.n5.nabble.com/file/n5075095/maven-native-api.patch
> > maven-native-api.patch
> > http://maven.40175.n5.nabble.com/file/n5075095/native-maven-plugin.patch
> > native-maven-plugin.patch
> >
> >
> >
> > --
> > View this message in context:
> http://maven.40175.n5.nabble.com/native-maven-plugin-suggested-patch-to-avoid-redundant-relink-tp5075095p5075095.html
> > Sent from the Maven - Users mailing list archive at Nabble.com.
> >
> > -
> > To unsubscribe, e-mail: [hidden 
> > email]
> > For additional commands, e-mail: [hidden 
> > email]
> >
> -
> To unsubscribe, e-mail: [hidden 
> email]
> For additional commands, e-mail: [hidden 
> email]
>
>
>
> --
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://maven.40175.n5.nabble.com/native-maven-plugin-suggested-patch-to-avoid-redundant-relink-tp5075095p5075214.html
>  To unsubscribe from native-maven-plugin suggested patch to avoid
> redundant relink, click 
> here
> .
> NAML
>


--
View this message in context: 
http://maven.40175.n5.nabble.com/native-maven-plugin-suggested-patch-to-avoid-redundant-relink-tp5075095p5075431.html
Sent from the Maven - Users mailing list archive at Nabble.com.

native-maven-plugin suggested patch to avoid redundant relink

2011-12-14 Thread sintetik
I've been asking a question some time ago about redundant relink in
native-maven-plugin:
http://maven.40175.n5.nabble.com/c-native-maven-plugin-redundant-linking-at-second-run-problem-td3403291.html

Finally we've started actually using native-maven-plugin so I've patched the
plugin to avoid relink in case of no changes.

We have some other modifications as well but we don't want to fork too much
from publicly available source so I'd like to send to upstream as much as
possible.

Please consider the patch 
http://maven.40175.n5.nabble.com/file/n5075095/maven-native-api.patch
maven-native-api.patch 
http://maven.40175.n5.nabble.com/file/n5075095/native-maven-plugin.patch
native-maven-plugin.patch 



--
View this message in context: 
http://maven.40175.n5.nabble.com/native-maven-plugin-suggested-patch-to-avoid-redundant-relink-tp5075095p5075095.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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



Assembly plugin redundant pack / no stale check

2011-05-19 Thread sintetik
Hi,

I see some kind of unwanted behavior in my project using assembly plugin. It
does the repack all the time, even if no changes have been done. Is there
any way to enforce assembly plugin to enable stale checks? 

Regards,
Sergey.


--
View this message in context: 
http://maven.40175.n5.nabble.com/Assembly-plugin-redundant-pack-no-stale-check-tp4410536p4410536.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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



Re: c++ native-maven-plugin redundant linking at second run problem

2011-03-01 Thread sintetik
Thank you Mark,

> NAR also links in the compile phase as it uses cpp-tasks to handle uniform
> compilation and linking. 

I guess it means linking will be repeated anyhow even if code didn't change?

I had a thought that it's theoretically possible to resolve my problem
(redundant linking) by creating 2 projects (for every cpp module), one of
them doing compilation and producing obj files and second one just depending
on the first one and performing linking.

This looks somehow ugly though, so I'm thinking about possibility to
"virtualize" this process inside the plugin itself.

Please let me know whether you think if it's possible or any other
considerations.

Thanks,
Sergey.


-- 
View this message in context: 
http://maven.40175.n5.nabble.com/c-native-maven-plugin-redundant-linking-at-second-run-problem-tp3403291p3405441.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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



Re: c++ native-maven-plugin redundant linking at second run problem

2011-03-01 Thread sintetik
> Both compile and link are hooked into maven compile phase.  Normally
the native compile should get by very quickly since no code changes.
> The link phase still have to rebuild. Currently there is no work
around.

Thank you, Dan.

What about NAR plugin - does this issue exist in there? I didn't won't to
use NAR first because of its complexity but unfortunately this issue (build
time) is critical for me so I'd consider NAR if it may help.

Regards,
Sergey.


-- 
View this message in context: 
http://maven.40175.n5.nabble.com/c-native-maven-plugin-redundant-linking-at-second-run-problem-tp3403291p3404794.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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



c++ native-maven-plugin redundant linking at second run problem

2011-02-28 Thread sintetik
Hi,

I'm trying to migrate my cpp project to native-maven-plugin.
I've got buld succefull but there's a problem with repatable build. The
problem is that both compilation and linking is repeated even is there was
no changes in source code.
All in all, i have total time for the first build (single module) 27 seconds
and next build (same module, no changes) 22 seconds. Looks a bit weird.

Is there any workaround for this?
If not, is there any principal obstacle for patching native-maven-plugin to
fix this?

Regards,
Sergey.


-- 
View this message in context: 
http://maven.40175.n5.nabble.com/c-native-maven-plugin-redundant-linking-at-second-run-problem-tp3403291p3403291.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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