Coder Social home page Coder Social logo

Comments (10)

pkriens avatar pkriens commented on May 26, 2024

The target directory must be completely rebuildable, its purpose is hold temporary files. Sounds dangerous to keep files there. This always turns against you when you rebuild from scratch

from bndtools.

wesleyse avatar wesleyse commented on May 26, 2024

I agree that sounds dangerous, but it also is less flexible. I'm currently in a situation where I'd like to put all the generate jars in a single folder. The file named 'buildfile' contains the name of the generated files, why not just delete them?
I'd had to change the code of bndtools my self to work around this situation, but i'd be great if it you considered it to be official.

from bndtools.

pkriens avatar pkriens commented on May 26, 2024

Why not create another directory for your other files? bnd also stores other information in the generate directory. I would loathe to make that directory precious in any way except optimizing performance.

from bndtools.

wesleyse avatar wesleyse commented on May 26, 2024

What I'm doing is using as the generated directory, the pickup directory of Virgo Web Server (when you put a jar there the server automatically deploys the bundle). Since I thought this would be a possible way of integrating one tool with the other one. The pickup directory does not accept a jar inside a directory, so i'm generating the jars there inside, any other suggestion?

from bndtools.

pkriens avatar pkriens commented on May 26, 2024

I think you want another directory in your project for this. I have no problem adding a feature in bnd that can duplicate the file into a number of deploy directories if there are no failures. Like:

-copy-to: virgo, /usr/jar

Would that help?

from bndtools.

wesleyse avatar wesleyse commented on May 26, 2024

Is it possible
-move-to: virgo?

from bndtools.

wesleyse avatar wesleyse commented on May 26, 2024

I think the answer is no.... :(

from bndtools.

pkriens avatar pkriens commented on May 26, 2024

Sorry I thought i replied, copy is possible, move to is not because it implies that nothing will be stored in the target directory which screws up some internal assumptions

from bndtools.

fhuberts avatar fhuberts commented on May 26, 2024

@Rayn is this still relevant or can we close it?

from bndtools.

wesleyse avatar wesleyse commented on May 26, 2024

Yes you can...thanks...

from bndtools.

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.