On Nov 23, 10:01 am, dhtml <dhtmlkitc...@gmail.com> wrote:
> A js library has a TestRunner that I want to extract to a separate
> project. But the main project wants to still reference that extracted
> part.
>
> I am not sure of the best strategy to solve this, but I thought to
> extract create a separate repo and then create some sort of an alias
> on my dev box pointing to it so that it is treated picked up by my
> build process (Ant) and that when I check in the main project. I don't
> know enough about aliases to know if this is possible -- is it?
>
> Over all, do I have the right idea for how to do this?

Found <http://progit.org/book/ch6-6.html> (thanks, Diego)

But my case is a bit different than those listed. I'm not sure exactly
what steps I need to take to break a subproject from an existing
project, so that the subproject exists in both places (new and
existing proj).

Now, I have project "ape-javascript-library" which has the following
directories and files:
 + ajax **
 + eventsynth **
 EventPublisher.js **
 + dom
 + test **
 [...](more things that aren't relevant here).

I want to make a new project "TestRunner" which has:
EventPublisher.js, everything in "test", "eventsynth", and also "ajax/
AsyncRequest.js".

I want new "TestRunner" project to be referenced by ape-javascript-
library so that on my repos, if ape-javascript-library is updated,
then the TestRunner code is updated on the filesystem and vice-versa.
How exactly should I do this? Sorry but I really am not good at Git or
SCM in general.

-- 
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to git...@googlegroups.com.
To unsubscribe from this group, send email to 
github+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/github?hl=en.

Reply via email to