question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IDEA deletes user's home directory

See original GitHub issue

Hello. Today i decided to try IDEA. I downloaded IDEA 14.1.3 community edition, installed Haxe plugin and followed this guide: http://jasonsturges.com/2014/11/28/openfl-and-haxe-in-intellij-14/ Except i was trying to setup plain haxe project with hxml build file.

After i tried to run my project i got this message:

Error:Could not process argument test-neko.hxml (file not found)
Information:invalid character: -

Then i opened project.iml file and found that path to test-neko.hxml is incorrect. I changed it to something like $PROJECT_DIR$/test-neko.hxml (i dont remember exact name of that special var with project path). I hit “Run project”, and IDEA started to clean my home directory! After it deleted IDEA itself and my test project, i noticed something is going wrong…

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:20 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
ryandoylecommented, Jan 2, 2019

I’ve been able to reproduce this. If I delete the default module that is created when I open a Haxe project and re-create it, it’s possible to write out a .iml file that has the output folder set to my home directory.

myproject.iml

<?xml version="1.0" encoding="UTF-8"?>
<module type="HAXE_MODULE" version="4">
  <component name="HaxeModuleSettingsStorage">
    <option name="buildConfig" value="3" />
    <option name="openFLTarget" value="Neko" />
    <option name="outputFolder" value="$USER_HOME$" />
  </component>
  <component name="NewModuleRootManager">
    <output url="file://$USER_HOME$" />
    <exclude-output />
    <content url="file://$MODULE_DIR$">
      <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
    </content>
    <orderEntry type="jdk" jdkName="Haxe 3.4.7" jdkType="Haxe toolkit" />
    <orderEntry type="sourceFolder" forTests="false" />
  </component>
</module>
0reactions
ianharrigancommented, Feb 25, 2019

OK - thanks @Gama11 - ill hold back a little then until i know this isnt going to be an issue. It looks like i could just look at the .iml file to see what the output dir is also, but id rather not have to remember to do that - the one day i forget to will be the one day this will nuke my C: 😉

Cheers, Ian

Read more comments on GitHub >

github_iconTop Results From Across the Web

Directories used by the IDE | IntelliJ IDEA Documentation
In the Delete Leftover IDE Storage Directories dialog, select the versions of the IDE that you are not planning to use and click...
Read more >
Any ideas how to remove the home directory setting for a ...
Using the DSQUERY USER command, if have scripted UsrClnUp.bat to remove all deleted users folders in a path that you specify. The syntax...
Read more >
How to Delete User Accounts with Home Directory in ... - Tecmint
In this tutorial, I am going to take your through steps you can use to delete a user's account together with his/her home...
Read more >
How to Delete User Accounts with Home Directory in Linux
Sometimes you may need to delete user accounts in Home Directory in Linux. Here are the steps to do it.
Read more >
windows 10 - Can I delete user directory after deleting user?
Yes, you can delete the left over user account folder and nothing will happen. Windows leaves it to protect the data of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found