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

Git > Export All does not export updated cls files after importing new project.xml from Studio #30

Open
aedahh opened this issue Sep 3, 2015 · 3 comments

Comments

@aedahh
Copy link

aedahh commented Sep 3, 2015

Hello,
I am having this issue with Export All.
My workflow is as follow:

  1. Studio currently have latest master checkout from git.
  2. From Studio Import Local> select an updated project.xml export that had updated several cls files.
  3. From Studio Git > Export All ("Progam export is done" message is displayed)
  4. From Studio Git > Commit
    Here is where issue is, only project.xml is listed as changed files, no other cls files that got updated from the project.xml import are listed.

I am using Studio 2015.1
Does anyone have a workaround to force Export All after doing a Import Local?

Thanks!

@adaptun
Copy link
Contributor

adaptun commented Nov 12, 2015

Hi aedahh.

Do you have "compile classes" checked when importing project.xml?

If yes, then automatic export of updated classes should work

@aedahh
Copy link
Author

aedahh commented Jan 26, 2017

Hello adptun,
Yes, I have both check boxes selected when importing.
I am still having this issue. Today I got an updated project.xml and import. When open .cls file I don't see changes.

What is interesting is when do Edit > Search in file for known string in updated project.xml, Studio does show the result in both .cls and .int file, but when double-click on search result .cls file is opened but no update. If open .int file then I do see updated code.

Okay: here is what I am seeing when I do Tools > Import Local
[...]
mycalss.CLS is not newer than on-disk version, skipping export <-- this is my problem
Imported class: mycalss.CLS
[...]

Output window say file is not newer than on-disk version, skipping export, but this is not true! The content of myclass.CLS inside the project.xml is actually newer and have few characters changed.
Question is how is the plugin comparing to decide if file is newer or not? Hopefully not just by some timestamp but by content...

Very frustrating... any suggestions so that I can get the updated code to show up in the .cls file?
I check this plugin website today, hoping for an update to resolve this issue, but no changes in awhile...

Thanks

@aedahh
Copy link
Author

aedahh commented Jan 26, 2017

Okay, so I was able to get plugin to export new cls files imported from project.xml
by changing system time to a past date, touch all files inside git folder (need to repeat process for each subfolders, as touch [using unix port of touch for win32] doesn't do it recursively), then Import Local and finally Studio/git plugin exported modified cls!

Still would like to know how is the plugin comparing to decide if file is newer or not?
Hopefully this can be improve in future release.

Thanks

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