You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Mathieu Bastian <ma...@gephi.org> on 2022/10/08 19:22:07 UTC

Test Netbeans PR on Mavenized NB Platform application

Hi folks,

I was called out in a recent PR
<https://github.com/apache/netbeans/pull/4696#issuecomment-1263989616> to
test it with my NB Platform application. I'm willing to do so but I need
some guidance.

My application is mavenized. What is the simplest way to test this PR
locally with the dev version of Netbeans? For instance, can I create a
"RELEASE160-SNAPSHOT" version locally via a command? If I had this, I could
easily switch my application's NB Platform version to this dev version and
test the change.

Much appreciated!

Mathieu

RE: Test Netbeans PR on Mavenized NB Platform application

Posted by Eirik Bakke <eb...@ultorg.com>.
Here are the commands I use myself to build custom NetBeans builds for my NetBeans Platform application: 

===========================================
# With the current directory being a checkout of the netbeans GitHub repo:
ant
ant build-nbms
ant build-source-zips
ant build-javadoc
USE_BUILD_VERSION=RELEASE150-MYVERSION4
mvn org.apache.netbeans.utilities:nb-repository-plugin:1.7:populate \
    -DforcedVersion=$USE_BUILD_VERSION \
    -DnetbeansInstallDirectory=nbbuild/netbeans \
    -DnetbeansNbmDirectory=nbbuild/nbms \
    -DnetbeansSourcesDirectory=nbbuild/build/source-zips \
    -DnetbeansJavadocDirectory=nbbuild/build/javadoc
===========================================

-- Eirik

-----Original Message-----
From: Mathieu Bastian <ma...@gephi.org> 
Sent: Saturday, October 8, 2022 9:22 PM
To: dev@netbeans.apache.org
Subject: Test Netbeans PR on Mavenized NB Platform application

Hi folks,

I was called out in a recent PR
<https://github.com/apache/netbeans/pull/4696#issuecomment-1263989616> to test it with my NB Platform application. I'm willing to do so but I need some guidance.

My application is mavenized. What is the simplest way to test this PR locally with the dev version of Netbeans? For instance, can I create a "RELEASE160-SNAPSHOT" version locally via a command? If I had this, I could easily switch my application's NB Platform version to this dev version and test the change.

Much appreciated!

Mathieu

RE: Test Netbeans PR on Mavenized NB Platform application

Posted by Eric Barboni <Er...@irit.fr>.
Hi,

Snapshot should be there but for master build only not releasexxx:
https://repository.apache.org/content/groups/snapshots/org/netbeans/modules/

There is a guard to publish at 1PM on Thursday so should not happend regularly.

I will comment the guard and force a master build to check

Best Regards
Eric

-----Message d'origine-----
De : Jaroslav Tulach <ja...@gmail.com> 
Envoyé : dimanche 30 octobre 2022 20:46
À : dev@netbeans.apache.org
Cc : Mathieu Bastian <ma...@gephi.org>; eric.barboni@irit.fr
Objet : Re: Test Netbeans PR on Mavenized NB Platform application

Long time no see, Mathieu!

There is a staging repository: https://repository.apache.org/content/groups/
staging/org/netbeans/modules/ but it looks a bit outdated.

Eric, is that intended or shall we be producing NetBeans dev bits regularly?
-jt



Dne sobota 8. října 2022 21:22:07 CET, Mathieu Bastian napsal(a):
> Hi folks,
> 
> I was called out in a recent PR
> <https://github.com/apache/netbeans/pull/4696#issuecomment-1263989616> 
> to test it with my NB Platform application. I'm willing to do so but I 
> need some guidance.
> 
> My application is mavenized. What is the simplest way to test this PR 
> locally with the dev version of Netbeans? For instance, can I create a 
> "RELEASE160-SNAPSHOT" version locally via a command? If I had this, I 
> could easily switch my application's NB Platform version to this dev 
> version and test the change.
> 
> Much appreciated!
> 
> Mathieu






---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Test Netbeans PR on Mavenized NB Platform application

Posted by Jaroslav Tulach <ja...@gmail.com>.
Long time no see, Mathieu!

There is a staging repository: https://repository.apache.org/content/groups/
staging/org/netbeans/modules/ but it looks a bit outdated.

Eric, is that intended or shall we be producing NetBeans dev bits regularly?
-jt



Dne sobota 8. října 2022 21:22:07 CET, Mathieu Bastian napsal(a):
> Hi folks,
> 
> I was called out in a recent PR
> <https://github.com/apache/netbeans/pull/4696#issuecomment-1263989616> to
> test it with my NB Platform application. I'm willing to do so but I need
> some guidance.
> 
> My application is mavenized. What is the simplest way to test this PR
> locally with the dev version of Netbeans? For instance, can I create a
> "RELEASE160-SNAPSHOT" version locally via a command? If I had this, I could
> easily switch my application's NB Platform version to this dev version and
> test the change.
> 
> Much appreciated!
> 
> Mathieu





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists