Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export of file results in no file being created #41

Closed
davbro63 opened this issue Jul 1, 2019 · 14 comments
Closed

Export of file results in no file being created #41

davbro63 opened this issue Jul 1, 2019 · 14 comments

Comments

@davbro63
Copy link

davbro63 commented Jul 1, 2019

Observation:
When I create a class (in Studio) and then view that in vsCode I see the code correctly.
With an open folder that is not read only, I export the clsee.
I see the class package directories being created under a 'src' folder but no final .cls file created in the final folder.
Class is a simple:

Class User.Test1 Extends %RegisteredObject
{

}

$zv for the IRIS env is:
IRIS for Windows (x86-64) 2019.1 (Build 510U) Thu Mar 14 2019 14:13:37 EDT

@daimor
Copy link
Member

daimor commented Jul 1, 2019

Could you share Output log?

@davbro63
Copy link
Author

davbro63 commented Jul 1, 2019 via email

@daimor
Copy link
Member

daimor commented Jul 1, 2019

So, ObjectScript output, completely empty?
I expect to see at least an error

@davbro63
Copy link
Author

davbro63 commented Jul 1, 2019 via email

@daimor
Copy link
Member

daimor commented Jul 1, 2019

I don't see any images, could you reattach it?

@davbro63
Copy link
Author

davbro63 commented Jul 1, 2019 via email

@daimor
Copy link
Member

daimor commented Jul 1, 2019

Thanks, I think it gives what I need. I'll fix it.

@daimor
Copy link
Member

daimor commented Jul 2, 2019

Looks like you have an empty value in setting "objectscript.conn.ns", could you confirm that?
It is not actually allowed so. And such error expected in this case.

@daimor
Copy link
Member

daimor commented Jul 2, 2019

And if you have empty ns in settings you used action view another namespace in the explorer and tried to export some class. So, I fixed export from another namespace and added confirmation for it.
Just for clarification, when you will get a local copy of classes, then after edit it will save and compile in namespace specified in settings.

So, anyway if you have empty ns in your settings by now, you should fill it with a correct value, and everything will work as expected.

@davbro63
Copy link
Author

davbro63 commented Jul 2, 2019 via email

@davbro63
Copy link
Author

davbro63 commented Jul 2, 2019 via email

@daimor
Copy link
Member

daimor commented Jul 2, 2019

yes, this happens, because, you set namespace as %SYS, but trying to export from another namespace, USER in your case. Export from another namespace will work only with the next release.
You should set USER to ns, and it will work.

@davbro63
Copy link
Author

davbro63 commented Jul 2, 2019 via email

@daimor daimor closed this as completed Jul 2, 2019
@davbro63
Copy link
Author

davbro63 commented Jul 2, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants