RC-Paves3-build / plovr

Automatically exported from code.google.com/p/plovr
0 stars 0 forks source link

IllegalArgumentException when you use multiple inputs. #60

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

It says "java.lang.IllegalArgumentException: duplicate key: /example/hello.js", 
when we have following files:

../projA/example/hello.js
../projB/example/hello.js
config.js:
{
   "id": "something",
   "inputs": ["../projA", "../projB"],
   ...
}

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

What version of the product are you using? On what operating system?

revision: 3496:0b706285b4e1, 
OS: Ubuntu 11.10

Please provide any additional information below.

Adding prefix or using full path name to the JsInput's name at 
org.plovr.Manifest.getInputs() seems working. 

Original issue reported on code.google.com by gatet...@gmail.com on 21 Feb 2012 at 5:45

GoogleCodeExporter commented 8 years ago
Related to #56?!

Original comment by carsten.kraus on 24 Feb 2012 at 12:21

GoogleCodeExporter commented 8 years ago
Actually, it seems the same ploblem. 
I have my clone repository and fixed there it works for me.
  https://bitbucket.org/ipreachable/plovr/changeset/0ba0bdbfd2c8

Original comment by gatet...@gmail.com on 25 Feb 2012 at 1:15

GoogleCodeExporter commented 8 years ago
Cool, the bitbucket clone also works for me, thanks for sharing!

Original comment by carsten.kraus on 7 Mar 2012 at 5:42

GoogleCodeExporter commented 8 years ago
I believe that I have fixed this with a combination of the following changes:

http://code.google.com/p/plovr/source/detail?r=8079d6d7fc2a419846f6f41462d999d5b
b059c4b
http://code.google.com/p/plovr/source/detail?r=c962fdacd79b369ebc73fe2fb5de782d3
1dbfc52

It would be a big help if you could build plovr from head and verify that this 
fixes this issue.

Original comment by bolinf...@gmail.com on 2 May 2012 at 3:27

GoogleCodeExporter commented 8 years ago
I build the head revision, and used in my project; It works great, thanks.

Original comment by gatet...@gmail.com on 22 May 2012 at 12:50

GoogleCodeExporter commented 8 years ago

Original comment by bolinf...@gmail.com on 23 May 2012 at 12:53

GoogleCodeExporter commented 8 years ago
I think this issue is not completely resolved:

What steps will reproduce the problem?

It says "java.lang.IllegalArgumentException: duplicate key: /style/style.js", 
when we have following files:

../projA/style/style.js

config.js:
{
   "id": "something",
   "inputs": ["../projA"],
   "closure-library": "C:/dev/closure-library/closure/goog/",
   ...
}

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

What version of the product are you using? On what operating system?

revision: 3502, 
OS: Windows Server 2003

Please provide any additional information below.

The fix mentioned above does not fix the situation in which a project has files 
with the same names as files in the closure library.

Original comment by wesselsb...@gmail.com on 12 Jun 2012 at 11:10