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

0 Members and 1 Guest are viewing this topic.

Offline AndreasG

  • VIP
  • Jr. Member
  • *
  • Posts: 8
    • 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: 8
    • 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: 4 945
    • 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