guchenbo / simple-build-tool

Automatically exported from code.google.com/p/simple-build-tool
Other
0 stars 0 forks source link

override def artifactID = "foo" only renames the jars #163

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem (please be specific)?

sbt publish-local

Project Def:
override def artifactID = "foo"

What is the expected behavior? What do you see instead?

it should publish to groupID % overridenArtifactID % version
but it publishes to groupID % oldArtifactID % version

What versions of the following are you using?

Java: jre version 6 update 24
Scala: 2.8.1
sbt: 0.7.6.RC0
Operating system: win 7 prof x64

Please provide any additional information below.

Original issue reported on code.google.com by da...@craven.ch on 21 Apr 2011 at 3:51

GoogleCodeExporter commented 9 years ago
sry for the bug report, can some one mark as invalid:
overriding moduleID did the trick
cheers
david

Original comment by da...@craven.ch on 21 Apr 2011 at 10:20

GoogleCodeExporter commented 9 years ago
Yes, that is the right approach.  The uncertainty involved in artifacts is 
understandable, though.  It is something I think is done better in 0.9, so 
we'll interpret this bug as "artifacts are hard to configure" and I'll close it 
as fixed in 0.9.

The mailing list is in general better for questions, though.

Original comment by dmhar...@gmail.com on 22 Apr 2011 at 2:01