Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Export should be able to resolve namespaced files within namespace directory

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Export should be able to resolve namespaced files within namespace directory

    When exporting a NinjaScript AddOn, the process fails if there is a file that exists in a different namespace and uses a directory to specify that namespace. Normally, when an addon is exported, it is able to resolve other files that are used if they are within the current directory regardless of if a namespace is used. However, once that file is placed in a directory corresponding to the namespace it is not longer able to find that file (likely because it did not look anywhere other than the current dir).

    I understand that you can manually add the dependency files, but this issue is requesting that the export process be a little smarter and try and find those dependencies by looking in the namespace dir and add them automatically like it does for files that are in the main directory.

    Attached is a trivial example showing the issue. When you try to export the top level indicator "ExportIssue", it can not find the inner Temp indicator that resides in the Temp namespace. Instead it forces you to manually add the Temp indicator.

    Thanks for the consideration.
    Attached Files

    #2
    Hello aslane,

    Thank you for your note.

    I have added your vote to an existing request to allow namespaced files that would appear in their own folder in the NinjaScript Explorer to appear the same way when exporting so you can easily add them to the export. This request is being tracked under SFT-2589.

    As with all feature requests, interest is tracked before implementation is considered, so we cannot offer an ETA or promise of fulfillment. If implemented, it will be noted in the Release Notes page of the Help Guide.

    Release Notes — https://ninjatrader.com/support/help...ease_notes.htm

    Please let us know if we may be of further assistance to you.
    Kate W.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by traderqz, Today, 09:44 AM
    2 responses
    4 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by stafe, 04-15-2024, 08:34 PM
    8 responses
    40 views
    0 likes
    Last Post stafe
    by stafe
     
    Started by rocketman7, Today, 09:41 AM
    2 responses
    7 views
    0 likes
    Last Post rocketman7  
    Started by rocketman7, Today, 02:12 AM
    7 responses
    31 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by guillembm, Yesterday, 11:25 AM
    3 responses
    16 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X