Eclipse asking for node.js - html

As I right clicked on the WebContent folder of my project to add a new HTML file, eclipse warned me that node.js could not be found and that some of the functionalities might be missing.
It is not doing it anymore, it did it only the first time I right-clicked new.
I was wondering why it had warned me about this and only once.
As it might be something that many people know about or have encountered, I don't give any more details but I can if needed.
Thanks in advance ;)

Related

GAS Menu Click function in Library

This is a follow-on to question here.
Review in linked post: menu click function in a library ('rm' in this case) works.
ui.createMenu('Test').addItem('Test-Lib', 'rm.test');
However, going forward I had found that this ONLY works iff the user has EDIT access to the (rm) library. I have tested this for "links" "readonly" and "readonly public access". Only works for EDIT access.
The background information is that I've found NO information regarding this from Google/Official sources.
Initial finding was good (click function in library) in that it saved me a lot of coding. But now I'm back to square one, as I cannot give edit access to the library.
Anyone have any experience on this? Ideas? Workarounds? Thoughts?
EDIT;
Big thanks to #tehhowch comment below with his link. Solved it, but still a little bit tedious solution. To summarize:
Read-Only access means that user does not have access to the development version, but only the linked version - so need to make sure that linked version has all the requirements met.
Republishing the lib to the same version did not work.
Republishing the lib to a new version and updating the client spreadsheet to the new version did work.
Of course, this is a bit tedious going into all client spreadsheets that use the lib, but at least now i can deploy with read-only access to my libs :)

Where all.js in new MeanJS?

I am learning MeanJS right now, watching a lot of video courses, but EVERYONE uses old version of MeanJS where is tottally different folder and files structure, that I have. It is very uncomfortable for noob like me.
Right now I am stuck at moment how to use custom css files.In every freaking video teachers modify all.js file. BUT I CAN'T FIND IT IN MY MEAN JS VERSION. I guess, they renamed it or something. Help me please. I just don't want to loose my sleep with this.
Instead of all.js, in the latest MEAN.JS version you can configure the assets to be used in the app in different stages (development, production, testing, etc). You just have to go to config/assets/ and edit the right file for your situation, probably default.js might be the one you're looking for. In that file you can add custom css files to be loaded into the app.

Flash Builder bug?

Irritatingly, Flash Builder refuses to implement any changes I make to the program when I run it. I can't find any documentation of this anywhere online after a brief googling, just wondering if anyone has come across this problem before and/or found a solution? I don't want to have to export a release build every time I want to check if any changes have been implemented successfully (I'm just assuming that'd work)
It happened to me once before but I overcame this problem simply by starting a new project as there wasn't much of any significance, and couldn't easily fix it.
It's pretty much as simple as it sounds tbh, having returned to my computer a couple of hours after leaving it I find any changes to any part of the code have no impact on what is displayed when I go to run...
Any insight would be much appreciated
Thanks
Josh
It could be the cache of your browser. Clear your cache and see if that works..
It could also be because you have classes that are compiled in external swf's. If you compile in Flash Builder, you're not persee recompiling those classes. Instead, compile the external swf which has links to those classes.
You'd think if this were a bug in Flash Builder, people would be complaining about it a bit more often, check that your browser is updating properly, most likely you've got the SWF stuck in your browser cache.
Check the "clear application data on each launch" in Run/Debug Configuration window.
This will clear and uninstall existing app installed in your test device, so every new launch will have clean build.
Tips : Make sure to cmd/ctr + B first, In every run/build.

Using JSP Files outside of the Eclipse IDE

Hey everyone, I'm new to using the Eclipse IDE, JSP/Java, HTML, Tomcat.
I was making HTML files, using notepad, prior to getting Eclipse, and I've finished with making that part of the website. I've gotten the Eclipse IDE now, which I've been using to make JSPs for some dynamic html, and I've completed them as well now.
The problems I'm having now are:
I don't know how to extract the JSPs from the IDE, so I can put it in my folder with the HTML pages
Which would bring me into another problem, I want to put the JSPs in an <iframe>, 2 of them make use of <jsp:forward> tags, I'm unsure if all of the forwarding and form submitting will remain within the iframe, because as far as I know <jsp:forward> doesn't have a target attribute, if this is going to be a problem, could anyone point me in the right direction for how to go about this?
Finally, I've only been taught how to the Tomcat server within the IDE, after I've extracted the JSP files from the IDE, how do I run Tomcat independently?
Thanks very much, I really appreciate your time and effort :)
I don't know how to extract the JSPs from the IDE, so I can put it in my folder with the HTML pages
Select source file(s) in Eclipse or explorer, hit Ctrl+C, open target folder in explorer, hit Ctrl+V.
Which would bring me into another problem, I want to put the JSPs in an <iframe>, 2 of them make use of <jsp:forward> tags, I'm unsure if all of the forwarding and form submitting will remain within the iframe, because as far as I know <jsp:forward> doesn't have a target attribute, if this is going to be a problem, could anyone point me in the right direction for how to go about this?
It's unclear what you have and what you're struggling with, but all with all this doesn't smell good. It look much like that you're approaching things the wrong way. I'd suggest to start learning servlets. I'd also suggest to develop without <iframe> as long as all pages runs at the same webserver. If you need some kind of head/leftmenu/footer includes, then you should be using server-side includes. JSP offers you the <jsp:include> for this.
Finally, I've only been taught how to the Tomcat server within the IDE, after I've extracted the JSP files from the IDE, how do I run Tomcat independently?
Assuming that you've properly created a dynamic web project, just rightclick it, choose Export > WAR file. Then just drop the obtained WAR file in /webapps folder of Tomcat and start it.

hudson: how to edit template?

I want to add my own text and change the template of the default hudson for authenticated users.
where are the html files located so I can edit them ? or is there another solution ?
Have a look at the war directory, after you started Hudson for the first time. There you should find all the components that are used (css, images, and scripts). Have fun changing them.
However, I would expect that your changes will be gone after you upgrade your Hudson server. You might be able to get around this problem by writing your own plugin.
Let us know, if you get it done and what the solution is.