Hi Brad,

the netbeans build has some redundancy in configuration files, names/versions 
show up a few times.


typically you have to edit 5-6 files for updating a dependency:

binaries-list, project.properties, project.xml, license and sometimes notice, 
manifest.mf and ignored-overlaps.


usually, a simple (but reviewed) search and replace on the module for the 
version string will cover all occurrences, but you should also compare to 
previous PRs to be sure nothing is overlooked.

e.g:
https://github.com/apache/netbeans/commit/c7b9f206edbe6533d24c37a5ba073b2306102652

https://github.com/apache/netbeans/commit/cd519cda445832eff3bec871696813f3d91f1d90


Also keep in mind dependencies are trees and can require other updates - few 
libs are stand alone (i haven't checked tm4e, maybe it is).

best regards,

michael


On 5/2/25 22:45, Brad Walker wrote:
> I'm trying to better understand how Netbeans does its build process. So I
> decided to update the org.eclipse.tm4e.core plugin from Eclipse. I needed
> this done to check out a potential problem.
>
> I modified ide/textmate.lexer/external/binaries-list file with the
> following entry:
>
> 955a747c51d6c11401ecf46279c630b2757d0264
> https://download.eclipse.org/tm4e/releases/0.14.1/plugins/org.eclipse.tm4e.core_0.14.1.202501141527.jar
>
> When I do an Ant build, I get the following error:
>
> download-selected-extbins:
>      [echo] Downloading external binaries (*/external/ directories) for
> cluster.config=release...
> [downloadbinaries] Creating
> /home/bwalker/src/netbeans/ide/textmate.lexer/external/https:/
> download.eclipse.org/tm4e/releases/0.14.1/plugins/org.eclipse.tm4e.core_0.14.1.202501141527.jar
> Downloading:
> https://netbeans.osuosl.org/binaries/955a747c51d6c11401ecf46279c630b2757d0264-https://download.eclipse.org/tm4e/releases/0.14.1/plugins/org.eclipse.tm4e.core_0.14.1.202501141527.jar
> [downloadbinaries] Could not download
> 955a747c51d6c11401ecf46279c630b2757d0264-
> https://download.eclipse.org/tm4e/releases/0.14.1/plugins/org.eclipse.tm4e.core_0.14.1.202501141527.jar
> to
> /home/bwalker/.hgexternalcache/955a747c51d6c11401ecf46279c630b2757d0264-https:/
> download.eclipse.org/tm4e/releases/0.14.1/plugins/org.eclipse.tm4e.core_0.14.1.202501141527.jar:
> /home/bwalker/src/netbeans/nbbuild/build.xml:279: Could not download
> 955a747c51d6c11401ecf46279c630b2757d0264-
> https://download.eclipse.org/tm4e/releases/0.14.1/plugins/org.eclipse.tm4e.core_0.14.1.202501141527.jar
> from https://netbeans.osuosl.org/binaries/: java.io.IOException: Skipping
> download from
> https://netbeans.osuosl.org/binaries/955a747c51d6c11401ecf46279c630b2757d0264-https://download.eclipse.org/tm4e/releases/0.14.1/plugins/org.eclipse.tm4e.core_0.14.1.202501141527.jar
> due to response code 404
>
> BUILD FAILED
> /home/bwalker/src/netbeans/nbbuild/build.xml:279: Failed to download
> binaries - see log message for the detailed reasons.
>
> Total time: 8 seconds
> bwalker@LIT-SP31453N:~/src/netbeans$
>
> What do I seem to be missing?
>
> -brad w.
>


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

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



Reply via email to