Skip to content
This repository has been archived by the owner on Mar 23, 2022. It is now read-only.

Missing new line #65

Open
jk001 opened this issue Jun 27, 2013 · 2 comments
Open

Missing new line #65

jk001 opened this issue Jun 27, 2013 · 2 comments

Comments

@jk001
Copy link

jk001 commented Jun 27, 2013

Hi

I'm using 1.3.2 of yuicompressor-maven-plugin (http://oss.sonatype.org/content/groups/public) in direct comparison to calling the yuicompressor jar

"java -jar target/tools/yuicompressor-2.4.7.jar --charset UTF-8 [infile]-o [outfile]"

when I diff the result of the js files I get "\ No newline at end of file". Any suggestions/workarounds?

Thanks
Joe.

@davidB
Copy link
Owner

davidB commented Jun 28, 2013

Sorry, I don't understand the issue.
Which files doesn'thave "newline at end of file" ? both, the one generated by the plugin or from commandline.
Why the missing new line is an issue ?

@jk001
Copy link
Author

jk001 commented Jun 28, 2013

  1. The plugin generated does not create the new line
  2. The assumption was that I should get the same exact output as the command line run of the yuicompressor.jar
  3. The issue only arises when running diffs. I believe this becomes more of an issue in some source control systems like git, when doing diffs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants