Author Topic: How to run Ancestris from NetBeans?  (Read 36673 times)

0 Members and 1 Guest are viewing this topic.

Offline AndreasG

  • VIP
  • Jr. Member
  • *
  • Posts: 13
    • View Profile
Re: How to run Ancestris from NetBeans?
« Reply #15 on: June 12, 2025, 18:35:03 »
Updating from platform 22 to 26 I am getting this error when building the project:

Code: [Select]
C:\Users\Andreas\Documents\netbeans_platform_26\harness\suite.xml:163: The following error occurred while executing this line:
C:\Users\Andreas\Documents\netbeans_platform_26\harness\build.xml:150: No dependent module org.netbeans.libs.jsvg
BUILD FAILED (total time: 34 seconds)

Updating to Netbeans IDE 26 does not change anything.

Because both dropbox directories are empty:
Can you provide the harness directory of your current installation?

Or must an additional module be installed?

Thanks Andreas


Offline AndreasG

  • VIP
  • Jr. Member
  • *
  • Posts: 13
    • View Profile
Re: How to run Ancestris from NetBeans?
« Reply #17 on: June 12, 2025, 22:23:17 »
I had to comment some lines in ReportNarrative.java that caused compiler errors:

Code: [Select]
ReportNarrative.java - lines 936 to 944
//<<<<<<< .mine
                                    doc.addText(" ");
//                                    writeSource((Source) ((PropertySource) prop).getTargetEntity().get(), "", prop.getPropertyValue("PAGE"));
//||||||| .r13653
//                                    writeSource((Source) ((PropertySource) prop).getTargetEntity().get(), "", prop.getPropertyValue("PAGE"));
//=======
                                    Property text = prop.getProperty(new TagPath(".:DATA:TEXT"));
                                    writeSource((Source) ((PropertySource) prop).getTargetEntity().get(), "", prop.getPropertyValue("PAGE"), text != null ? text.getValue():"");
//>>>>>>> .r13672

Now it is working fine again.

Thanks Andreas

Offline Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 5 622
    • View Profile
Re: How to run Ancestris from NetBeans?
« Reply #18 on: June 12, 2025, 23:03:53 »
I don't know what you put in the narrative reports.
You should have a version of your own.
The report works fine.
The current version add the citation source text with the entity source text.

Zurga

Offline HakanS

  • VIP
  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: How to run Ancestris from NetBeans?
« Reply #19 on: January 04, 2026, 14:11:47 »
Hi, thanks for a great application.

I'm experiancing same issue with the missing harness files as AndreasG and ascefb - and unfortunatly the link provided by Zurga doesn't work anymore. Where can I find the files to be able to run from NetBeans?

Best regards

/HakanS

Offline Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 5 622
    • View Profile
Re: How to run Ancestris from NetBeans?
« Reply #20 on: January 04, 2026, 14:26:29 »
The dropbox link is still available.
Could you elaborate what is not functioning for you ?

Zurga

Offline HakanS

  • VIP
  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: How to run Ancestris from NetBeans?
« Reply #21 on: January 05, 2026, 15:20:57 »
Sorry, didn't notice the latest link, just tried the two first. Now everything works perfectly.