Code Monkey home page Code Monkey logo

Comments (7)

ericbmerritt avatar ericbmerritt commented on June 20, 2024

Can you tell me what version of sinan you are using? (sinan version will tell you). And the platform you are running on?

from sinan.

aeh avatar aeh commented on June 20, 2024

sinan version: 0.24.0
Ubuntu 10.04.1

from sinan.

aeh avatar aeh commented on June 20, 2024

The problem is that in the case of a single application the AppDir and ProjDir are the same. build_out_skeleton creates the ProjDir/doc/ directory and then the build_out_application attempts to create the same directory under the guise of AppDir/doc/ and fails due to it already existing.

Can be fixed by replacing the doc folder creation in either of the following functions (in sin_task_gen.erl) with...

build_out_skeleton/1
case get_env(single_app_project, Env) of
false -> make_dir(filename:join(ProjDir, "doc"));
true -> noop
end

or build_out_application/4
case get_env(project_dir, Env) of
AppDir -> noop;
_ -> make_dir(filename:join(AppDir, "doc"))
end

from sinan.

jwilberding avatar jwilberding commented on June 20, 2024

What is the latest status on this?

from sinan.

ericbmerritt avatar ericbmerritt commented on June 20, 2024

That shouldn't blue up though, with that failure and doesn't in other cases. Aeh, let me look into this and I will get a fix out. At the very least I can remove that problem.

from sinan.

ericbmerritt avatar ericbmerritt commented on June 20, 2024

Ok, this is fixed in my repo. It should be pushed and available in the next day or so

from sinan.

jwilberding avatar jwilberding commented on June 20, 2024

Sinan 0.26.1 has been published which fixes this problem.

from sinan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.