Eugene.
>
> I hope that makes sense.
>
> Thanks
>
> Diego
>
> --
> You received this message because you are subscribed to the Google Groups
> "simple-build-tool" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/simple-build-tool/-/vtgTyUCz3rEJ.
> To post to this group, send email to simple-b...@googlegroups.com.
> To unsubscribe from this group, send email to
> simple-build-t...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/simple-build-tool?hl=en.
wow, well, if that's the only way. I'll try that. DO you or anyone
else know if this used to be the same situation when using previous
sbt versions ? 0.7.7 or 0.11.2 ?
Thanks
Diego
>
> Eugene.
>>
>> I hope that makes sense.
>>
>> Thanks
>>
>> Diego
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "simple-build-tool" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/simple-build-tool/-/vtgTyUCz3rEJ.
>> To post to this group, send email to simple-b...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> simple-build-t...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/simple-build-tool?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
> To post to this group, send email to simple-b...@googlegroups.com.
> To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
>
--
Diego Medina
Lift/Scala Developer
di...@fmpwizard.com
http://www.fmpwizard.com
Hi Robin
On Mar 22, 2012 6:26 AM, "Robin Green" <gre...@gmail.com> wrote:
>
> Indeed - versions are supposed to identify different versions of the software, so arguably a distinguished version, version suffix, or some additional suffix separate from the version, should be used to distinguish between branches.
If this was my little project, sure, I would change versions with no problem, but in this case, I'm working on the lift project, and right now we are at 2.5-snapshot, we normally stay in snapshot for some time and then we have milestones and then RC. If I were to publish the modified snapshot to central, sbt would do the right thing, but I cannot do that. Now I will have to remember to change the fake version back to normal before pushing my changes.
The symlink idea is even more work, because I'm generating several jar files.
Thanks for your reply though. I wish sbt worked the way I expected it.
Regards
Diego
That way, you can be sure that you are referencing the build from the branch you want to reference. However, this does not seem to be common practice with open source projects. I wonder why not?
>
> Well, an alternative for short-lived local branches is just to comment out the dependencies and use unmanaged dependencies (copy the jars into lib/ yourself, or even make a symbolic link to the built jar on Linux or Mac). I guess that's a simple and effective solution that doesn't require thinking about versions.
>
>
> On Wednesday, 21 March 2012 07:00:52 UTC, Eugene Vigdorchik wrote:
>>
>>
>> I don't think there is a way to force what you want. Rather I would make local
>> have a different version from what is published.
>>
>> Eugene.
>>
> --
> You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/simple-build-tool/-/4_5iMHOj2iwJ.
What you are experiencing is abnormal. I do this all the time with Lift 2.5-SNAPSHOT.
I'd like to take a look. So would it be possible for you to share a repeatable case on Github?
FWIW, SBT's documented behavior is given in the section 'Publishing Locally' here [1]
- Indrajit
[1] https://github.com/harrah/xsbt/wiki/Publishing
First, I'm glad that what I see is not what I should, I'll push my
branch and this other project that should pick up the modified
snapshot to github and I'll post the links here.
Thanks
Diego
Diego
> --
> You received this message because you are subscribed to the Google Groups
> "simple-build-tool" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/simple-build-tool/-/ZVymDTWBB6kJ.