Skip to content

Import Java Agents and Libraries in Correct Order for Compilation #14

Description

@JoelProminic

While testing with non-Imported Java agents (see #9), I got this error when importing agents:

--- Importing '/local/notesjava/workspace/domino_java_tools/../DXLExporter/import/MOO/MOOWeb_LaunchSettingsFix/code/agents/java/(router).dxl' ---
## Log:  
<?xml version='1.0'?>
<DXLImporterLog>
<warning source='NotesInputSource' line='7' column='27' id='7005'>Java compile errors:
/tmp/notes33573D/jar05927.dir/JavaAgent.java:10: error: package net.prominic does not exist
import net.prominic.DominoUtils;
                   ^
/tmp/notes33573D/jar05927.dir/JavaAgent.java:11: error: package net.prominic.log does no</warning>
</DXLImporterLog>
## End Log
Imported 1 elements

Claude identified that this was because the DominoUtils library hadn't been imported yet.

I'm planning to have DominoBlueprintImporter (#13) automatically detect these dependencies and import them in the correct order:

  • Java Resources
  • Script Libraries - need to import in a specific order
  • Agents

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions