You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Michael Semb Wever <mc...@apache.org> on 2020/10/29 13:33:23 UTC
Is there a way to validate/test a project.xml for a freeform project from the command line?
tl;dr
Is it possible to write a test that validates a project has all its dependencies correct in the project.xml ?
The Apache Cassandra project has a netbeans project file
ref: https://github.com/apache/cassandra/tree/trunk/ide/nbproject
When the project adds/removes/updates dependencies in its ant build.xml file, we don't always remember to also update the netbeans project file. (Freeform projects don't support classpath wildcards afaik.)
I'd like to write a simple unit test that ensures the netbeans project file is kept up to date, specifically that no error badges will exist on packages or files when opening the project in netbeans.
I don't care if this is done via a command line script, or programmatically in a java unit test.
regards,
Mick
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists