# Julia project file?

**URL:** <https://discourse.julialang.org/t/julia-project-file/8653>\
**Category:** General Usage\
**Tags:** question\
**Created:** [January 28, 2018, 5:32pm UTC](https://discourse.julialang.org/t/julia-project-file/8653 "2018-01-28T17:32:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yifan\_Liu](https://avatars.discourse-cdn.com/v4/letter/y/4da419/32.png) [@Yifan\_Liu](https://discourse.julialang.org/u/Yifan_Liu)\
**Post date:** [January 28, 2018, 5:32pm UTC](https://discourse.julialang.org/t/julia-project-file/8653/1 "2018-01-28T17:32:40Z")

</div>

I was wondering if any of Julia editor can generate project file. I need to switch among Linux and Windows machines on a daily basis, and the `cd(joinpath(homedir()),"...."))` approach is not efficient (portable) enough for me.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [January 28, 2018, 8:33pm UTC](https://discourse.julialang.org/t/julia-project-file/8653/2 "2018-01-28T20:33:16Z")

</div>

I don’t know what a project file is. But I usually put projects in packages, and make use of `@ __DIR__ ` (inside a function) for relative paths.

---

<div class="post-metadata">

**Author:** ![Yifan\_Liu](https://avatars.discourse-cdn.com/v4/letter/y/4da419/32.png) [@Yifan\_Liu](https://discourse.julialang.org/u/Yifan_Liu)\
**Post date:** [January 28, 2018, 8:44pm UTC](https://discourse.julialang.org/t/julia-project-file/8653/3 "2018-01-28T20:44:35Z")

</div>

I am aware of that, but still I want to know if it is possible to generate a project file like the .vcxproj file that aggregate all project information in a xml format, so I do not need to contain any file path information in my script.

---

<div class="post-metadata">

**Author:** ![dfdx](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dfdx/32/120_2.png) [@dfdx](https://discourse.julialang.org/u/dfdx)\
**Post date:** [January 28, 2018, 9:55pm UTC](https://discourse.julialang.org/t/julia-project-file/8653/4 "2018-01-28T21:55:03Z")

</div>

Do you maintain your project as a package or a plain set of files? If later, are all the files in the same directory or different directories?

So far it sounds like `@ __DIR__ ` and (optionally) `is_linux() / is_windows()` are enough to maintain almost any project structure.
