Chirpy with other project types

Sep 14, 2011 at 3:07 AM

Hi Guys,

I can get Chirpy working great with new ASP.NET projects but i also use VS.php add-on which allows me to create PHP projects etc. When i create a file.chirp.css no min file is created.

Do you know if there is any way to get chirp activated EVERYTIME i create a css or js file??

Thanks,

 

Ray.

Sep 28, 2011 at 12:42 AM

Ok, i have taken a look at the error log....

If i create a css or js file and then rename it to add the .chirp i get no errors but the "min" file that should be created is not. There is no error in the log.

If i edit the .chirp file and save it, i get this error in the log..

System.InvalidCastException: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))   at EnvDTE.ProjectItem.get_Collection()   at Zippy.Chirp.Utilities.GetParent(ProjectItem projectItem)   at Zippy.Chirp.Engines.EngineManager.Enqueue(ProjectItem projectItem)   at Zippy.Chirp.Chirp.ProjectItemsEvents_ItemAdded(ProjectItem projectItem)

Some help would be appreciated.

 

Thanks.

Developer
Oct 8, 2011 at 2:27 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Nov 3, 2011 at 7:32 AM

HI!

Ok the css files are working great!

However the JS files are not.

The .min file is created however it is empty??

Log below.

ClosureCompilerEngine -- starting F:\Websites\VisualStudioProjects\PHP Project1\PHP Project1\JScript1.chirp.js

ClosureCompilerEngine -- finished F:\Websites\VisualStudioProjects\PHP Project1\PHP Project1\JScript1.chirp.js

JSHintEngine -- starting F:\Websites\VisualStudioProjects\PHP Project1\PHP Project1\JScript1.chirp.js

JSHintEngine -- finished F:\Websites\VisualStudioProjects\PHP Project1\PHP Project1\JScript1.chirp.js

Thanks,

Ray.

Developer
Nov 5, 2011 at 12:56 AM

Work for me.

Test.chirp.js

function hello(name) {
    alert('Hello, ' + name);
}
hello('New qwetretsgdfgdfthg');

test.min.js

alert("Hello, New qwetretsgdfgdfthg");

Please send more detail :

Engine use (closure compiler - advanced, Simple, Whitespace only ?

Closure compiler offline ?

Javascript file content ?

Nov 5, 2011 at 3:21 AM

Hi ! ok yes it seems to be working on a new project so sorry for the mistake. The only issue is you cannot see the “min” files in the solution explorer under the main file like you can in an ASP.net project but that is fine! Not like I really need to look at them!

Ray Barnes

Technical Specialist

PLEASE NOTE NEW CONTACT DETAILS
P: 0420 90 90 33 | E: helpdesk@impressitsolutions.com.au | W: impressitsolutions.com.au
IMPRESS I.T. SOLUTIONS

Description: enPlease consider the environment before printing this email.

From: ploufs [email removed]
Sent: Saturday, 5 November 2011 10:57 AM
To: ray@impressitsolutions.com.au
Subject: Re: Chirpy with other project types [chirpy:272513]

From: ploufs

Work for me.

Test.chirp.js

function hello(name) {
    alert('Hello, ' + name);
}
hello('New qwetretsgdfgdfthg');

test.min.js

alert("Hello, New qwetretsgdfgdfthg");
 

Please send more detail :

Engine use (closure compiler - advanced, Simple, Whitespace only ?

Closure compiler offline ?

Javascript file content ?

Nov 14, 2011 at 10:31 PM

OK The only issue i have is that the .min files are not automatically UPDATED when i save the .chirp files. If i right-click the files i can then select "chirpy minifier file" it the creates/updates the .min file.

The issue is how can i get .chirp.config to work??

i have created 

<root>
  <FileGroup Name="group1.js">
    <File Path="JScript2.js" />
    <File Path="JScript3.js" />
  </FileGroup>
</root>

Saving the config file does nothing.

 

Thanks,