Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8540603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:38:12+00:00 2026-06-11T11:38:12+00:00

I’ve been working on a new application with it’s own new widgets but when

  • 0

I’ve been working on a new application with it’s own new widgets but when I pulled a widget namespace (condition) over from a previous application the compiler started giving me an error:

RegistryItemLoader.doPreLoadChecks(RegistryItemLoader.java:154): RegistryItemLoader.LoaderException: ResourceDirectory does not contain a definition.xml file

In the old application the widgets worked fine.

In the new application the directory structure of the widgets directory looks like this:

widgets/add-dependency/widget files

widgets/au.com.aviarc.widget.condition/1.0.0/widgets/is-enabled/widget files

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T11:38:13+00:00Added an answer on June 11, 2026 at 11:38 am

    Legacy artifacts didn’t have namespacing, and were in the style:

    widgets
    - grid
    - - definition.xml
    - text-dynamic
    - - definition.xml
    

    Namespaceable artifacts came in in Aviarc 3, and they are in the style:

    widgets
    - example.namespace
    - - 1.0.0
    - - - widgets
    - - - - grid
    - - - - - definition.xml
    - - - - text-dynamic
    - - - - - definition.xml
    

    Aviarc 3 still supports legacy artifacts, but it’s in an all-or-none manner. If Aviarc 3 detects any legacy artifacts in an artifact directory, as done by seeing if there are any definition.xml files within any of the immediate child directories, it attempts to take the whole artifact directory in legacy mode.

    In the directory structure you’ve provided, the add-dependency widget is a legacy widget, so Aviarc attempts to take all widgets as legacy widgets. The error is caused because it tries to read the definition.xml file in the directory au.com.aviarc.widget.condition, and there isn’t one because it isn’t a legacy widget.

    The solutions to the problem are either to:

    • Move all legacy artifacts into a namespace
    • Change all namespaced artifacts into legacy artifacts

    The former solution is the recommended one. The latter may be impossible if you have multiple versions of particular artifacts within the namespace, and would normally require more changes to the application.

    For the former, to start off with it’s best to move the legacy artifacts into the application 1.0.0 namespace, as this is the namespace which they are implicitly granted by the engine, so anything namespace-specific surrounding them will already be pointing at it. The application 1.0.0 namespace also retains the behaviour of legacy artifacts in that artifacts in it will automatically override built-in artifacts unless the built-in versions are explicitly specified.

    So you’re looking at wanting to change the directory structure to:

    widgets
    - application
    - - 1.0.0
    - - - widgets
    - - - - add-dependency
    - - - - - ...
    - au.com.aviarc.widget.condition
    - - [no changes]
    

    If the path feels like it’s getting a bit long, there are some legacy artifact subdirectories which can be moved out of the individual widgets and set alongside the namespace’s widgets directory. Some examples are src and lib directories – I’m not personally sure what the complete list is, if there even is a limit on them (it’s always possible that some artifacts will expect to find directories beneath themselves, of course, in which case they shouldn’t be moved).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a French site that I want to parse, but am running into
I want use html5's new tag to play a wav file (currently only supported
This could be a duplicate question, but I have no idea what search terms
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a text area in my form which accepts all possible characters from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.