I recently made a project and I used CRUD in it. Now I created another project and wanted to use it as well, but it appears that when I import Crud now the Crud.java is already modified and looks the same way I left it after editing it in the first project. To simply put it, both projects use the same Crud (but obviously shouldn't). CRUD's folder is in fact outside the project directory, and both projects link to that same directory. Is there any way to "elegantly" make different CRUDs for different projects, or I have to copy the CRUD edited after the first project, and then cut it out and put a "fresh" one in the modules folder? I think the same applies to Security module.
Play framework Crud and two projects
388 Views Asked by Raidmaster At
1
There are 1 best solutions below
Related Questions in PLAYFRAMEWORK
- Auto reload with play2
- Log of dependency does not show
- Json implicit format with recursive class definition
- Async LDAP authentication with play framework
- Why do I get an IndexOutOfBoundsException when my else should prevent it?
- Play 2.4 scala I am facing issues getting messages implicit in my code
- Play template project requires subscription to typesafe, why?
- hot swap in sbt project without play-plugin
- Getting "Cannot find HTTP header here" in play framework Scala
- How can I redirect to an error page in my Play app?
- How do you iterate over json when the schema is not known up front?
- Play Scala Converting sync to async
- morphia Geo-spatial "near" method in embedded list
- How to modify queryString and body of the request before being processed by the routes in Playframework 2 Scala?
- Not able to access key-values pairs in a JSON using Play library in scala
Related Questions in CRUD
- How to create dynamic pages without form_for helper in Rails?
- Basic Xquery CRUD samples equivalent to SQL Select, Insert, Delete or Update
- What's the best way to handle recurring tasks like CRUD operations in Java?
- Sails JS Blueprints allow Update operations on primary key
- PHP / Zend Framework 2 / CRUD - How to structure controller for several actions, several views?
- In simple RESTful design, does PATCH imply mapping to CRUD's (ORM's) "update" and PUT to "destroy"+"create" (to replace a resource)?
- managing scope objects populated from remote services in angular js
- How do I define CRUD operations in a service (AngularJS)
- symfony crud simple request
- Rails Generates Blank Record Even Input Data
- MySql 5.5.40 stored procedure @@Identity
- I Have to refresh the AngularJS page to see if i added something
- How to implement xml based webservices in cake php 3
- Can I use PubNub to update and delete messages without "Storage&Playback" feature?
- Dealing with "Not Found" in an Object Oriented REST CRUD system
Related Questions in CONFLICT
- Reuse jquery plugin without conflict
- GIT Source Tree Merge Develop Branch into Stage Branch Conflict
- CouchDB Merging Revisions (conflict)
- javascript function conflict or css select conflict
- find the number of all possible combinations with conflicts
- CONFLICT (content): Merge conflict in
- Skrollr - any other jQuery animation conflict
- Nginx Subdomain/Staging Server conflicting server name
- Conflict issue when multi developers work on same task
- Composer avoid installing sub-dependency
- Run this JS on selected blog posts types (Tumblr)
- How to resolve Deleted merge conflict in TortoiseGit?
- c++ Binary tree conflicting types error
- Stop execution until User selects a button from the Alert Dialog
- Conflicting components Joomla
Related Questions in PROJECTS
- mercurial - several projects and repositories
- Transferring an Xcode project to another computer with all files/frameworks
- linux directory location best practices for software development
- how can i create vcproj (VSC++ project file ) from nmake file?
- Sample Projects on OPENGL
- Is project management necessary in a single dev shop?
- Eclipse Workspace/Project Setup Using Symlinks
- Play framework Crud and two projects
- Sharing project binaries across different team projects in TFS 2010
- PHP framework that can be included in other projects
- TFS Build Replication Project Web Base in others projects
- How to subscribe to C# GUI event from ProjectA in dll in ProjectB
- Creating a release branching cycle with shared projects
- Merging Projects
- How do Visual Studio 2010 projects work together under the same solution? I'm trying to combine my first four simple projects
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I think by the fact that you have "modified" the distributed crud module that comes packaged with Play!, you have essentially made a "new" module. If you made the change to the crud module because of a bug, you might want to log it.
I'm assuming you haven't made a change to the crud module because of a bug fix because otherwise you will have wanted the change in your second project too. In that case, you might want to take a copy of the crud module (the one in the Play distribution) and place it somewhere else in your hard drive (outside of the Play distribution and you may want to rename the module to something else to distinguish it from Play's actual crud distribution). Now for your first project that references this newly copied (and modified version of the crud module), you can refer to the local copy of this module in your dependencies.yml as described in this google group post.
It is probably best not to copy the modified crud module directly into your projects module folder because if you run this:
the "copied + modified" version of the crud module will be deleted.