I don't think I did build it. IIRC, I looked at the tiny source of Emi's project, it didn't build, noticed that it required that jar you mentioned, beansbinding-1.2.1.jar, and just downloaded the release nbm Emi provides (it contains that jar).

   
https://github.com/emilianbold/nb-apache-form-binding/releases/download/emi-1.0/org-netbeans-modules-form-binding.nbm

and installed that into NetBeans. I did test it. I checked it out for someone else who needed it.

I also wrote a script that repackages an nbm so that unpack200 isn't required. The resulting nbm is at

   
https://drive.google.com/file/d/1V_QtwK5QFYh0lrOZqbNGU7rPWQwcZGbV/view?usp=sharing

And it's contents look like

   $ jar -tvf a_nbm-local/org-netbeans-modules-form-binding.nbm
         0 Fri Feb 25 13:47:46 PST 2022 META-INF/
        66 Fri Feb 25 13:47:46 PST 2022 META-INF/MANIFEST.MF
         0 Sun Jan 20 22:19:12 PST 2019 Info/
     38129 Sun Jan 20 22:19:10 PST 2019 Info/info.xml
         0 Sun Jan 20 22:19:12 PST 2019 Info/locale/
     38129 Sun Jan 20 22:19:10 PST 2019 Info/locale/info_${locales}.xml
         0 Sun Jan 20 22:19:12 PST 2019 netbeans/
         0 Fri Feb 25 13:47:46 PST 2022 netbeans/modules/
         0 Fri Feb 25 13:47:46 PST 2022 netbeans/modules/ext/
   631289 Fri Feb 25 13:47:46 PST 2022
   netbeans/modules/ext/beansbinding-1.2.1.jar
     85961 Fri Feb 25 13:47:46 PST 2022
   netbeans/modules/org-netbeans-modules-form-binding.jar
         0 Sun Jan 20 22:19:06 PST 2019 netbeans/config/
         0 Sun Jan 20 22:19:06 PST 2019 netbeans/config/Modules/
       479 Sun Jan 20 22:19:06 PST 2019
   netbeans/config/Modules/org-netbeans-modules-form-binding.xml

Which is almost identical to the jar from the github project.

About the build error, since you're building an nbm, it needs to reference a NetBeans platform to pick up ant scripts.  That's what the error you're seeing is about, and I don't remember what you need to do to correct it. If you used ant on the command line, might need to add a property pointing to a netbeans installation, or maybe netbeans source. You're best bet may be to install an existing nbm, rather than building it.

-ernie


On 6/4/22 10:20 PM, Bill Babbitt wrote:
Earnie, I tried to build that Apache form binding netbeans project, I’m getting 
an error: nb-apache-form-binding-emi-1.0/nbproject/build-impl.xml:19: You must 
define 'nbplatform.${nbplatform.active}.harness.dir’.
I’m sorry, but I have no clue what this is telling me. Have you tried to build 
this?
~Bill


On Jun 3, 2022, at 2:27 PM, Ernie Rael <err...@raelity.com> wrote:

Maybe this would be of some use

   https://github.com/emilianbold/nb-apache-form-binding

I get confused about what depends on what. But form binding was dropped due to 
Apache licensing issues.

-ernie

On 6/3/22 12:10 PM, Bill Babbitt wrote:
I am using NetBeans version 12.0 with Java 17.0.2. and Maven. I created a 
dependency with BeansBinding.jar version 1.2.1. I want to bund my database 
tables with components in my application, specifically a “Customers DB” table 
with a customers jTable. Having connected and added the database and tables in 
the application, I tried right-clicking the jTable and get the pop-up window 
but the beans binding option is missing. What have I done wrong, and how do I 
correct this?



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

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



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

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




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-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