[ 
https://issues.apache.org/jira/browse/AVRO-3095?focusedWorklogId=660327&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-660327
 ]

ASF GitHub Bot logged work on AVRO-3095:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Oct/21 13:52
            Start Date: 05/Oct/21 13:52
    Worklog Time Spent: 10m 
      Work Description: RyanSkraba merged pull request #1157:
URL: https://github.com/apache/avro/pull/1157


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 660327)
    Remaining Estimate: 0h
            Time Spent: 10m

> Unable to resolve relative imports in resources
> -----------------------------------------------
>
>                 Key: AVRO-3095
>                 URL: https://issues.apache.org/jira/browse/AVRO-3095
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.10.2
>            Reporter: Anatoly Kupriyanov
>            Priority: Major
>             Fix For: 1.11.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> If an imported avdl file is inside a classpath resource, then relative 
> imports don't work. Example:
> these files should be packaged inside .jar and be on the classpath:
> {code}
> // OnTheClasspath.avdl
> protocol OnTheClasspath {
>   import idl "folder/relativePath.avdl";
> }
> // folder/relativePath.avdl
> @namespace("org.on.the.classpath")
> protocol OnTheClasspathDependency {
>       import idl "../nestedtypes.avdl";
> }
> // nestedtypes.avdl
> @namespace("org.on.the.classpath")
> protocol OnTheClasspathTypes {
>   record NestedType {
>   }
> }
> {code}
> In this scenario {{import idl "../nestedtypes.avdl"}} fails.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to