how to start jrebel with jboss as 7 - jboss

I do`not know how to use (configure) JRebel with Jboss as 7 (Bronthes).
First of all i am downloading plugin for eclipse next activate social license for JRebel.
Next use simple example Jboss gwt project : gwt kitchensink.
When i am running Jboss from eclipse console i have got info :
Contacting myJRebel server .. [2013-02-13 23:34:39] [2013-02-13
23:34:39]
####################################################### [2013-02-13 23:34:39] [2013-02-13 23:34:39] JRebel 5.1.3
(201302011417) [2013-02-13 23:34:39] (c) Copyright ZeroTurnaround OU,
Estonia, Tartu. [2013-02-13 23:34:39] [2013-02-13 23:34:39] Over the
last 1 days JRebel prevented [2013-02-13 23:34:39] at least 1
redeploys/restarts saving you about 0 hours. [2013-02-13 23:34:39]
[2013-02-13 23:34:39] This product is licensed to Lukasz Brudny
[2013-02-13 23:34:39] [2013-02-13 23:34:39] License acquired through
myJRebel server. [2013-02-13 23:34:39] [2013-02-13 23:34:39] You are
subscribed for the plan "JRebel Social Plan", [2013-02-13 23:34:39]
subscription is for lifetime. [2013-02-13 23:34:39] next license
check with the server is required by 2013-03-15. [2013-02-13 23:34:39]
[2013-02-13 23:34:39] The following plugins are disabled at the
moment: [2013-02-13 23:34:39] * Camel plugin (set
-Drebel.camel_plugin=true to enable) [2013-02-13 23:34:39] * Click plugin (set -Drebel.click_plugin=true to enable) [2013-02-13 23:34:39]
* JRuby Plugin (set -Drebel.jruby_plugin=true to enable) [2013-02-13 23:34:39] * Jersey plugin (set -Drebel.jersey_plugin=true to enable)
[2013-02-13 23:34:39] * Mustache Plugin (set
-Drebel.mustache_plugin=true to enable) [2013-02-13 23:34:39] * Oracle ADF Core plugin (set -Drebel.adf_core_plugin=true to enable)
[2013-02-13 23:34:39] * Oracle ADF Faces plugin (set
-Drebel.adf_faces_plugin=true to enable) [2013-02-13 23:34:39] * RESTlet plugin (set -Drebel.restlet_plugin=true to enable) [2013-02-13
23:34:39] * Seam-Wicket plugin (set -Drebel.seam_wicket_plugin=true
to enable) [2013-02-13 23:34:39] * Spring Data Plugin (set
-Drebel.spring_data_plugin=true to enable) [2013-02-13 23:34:39] * WebObjects plugin (set -Drebel.webobjects_plugin=true to enable)
[2013-02-13 23:34:39] [2013-02-13 23:34:39]
####################################################### [2013-02-13 23:34:39] 23:34:39,592 INFO [org.jboss.modules] JBoss
Modules version 1.1.1.GA
i also have got checked checkbox Build automatically, and Activate JRebel nature on this project.
So what next ? JRebel add all Gwt stuff ? How i can deploy project to the server ? Using jboss plugin for eclipse or deploy via eclipse (run as --> Run on server) ??

What you see is the JRebel banner, meaning you enabled JRebel for the runtime - that is just fine. When you enabled JRebel Nature, it should have generated a config file - rebel.xml - check that it exists in the project.
When the application starts, you should see messages from JRebel, a-la "JRebel: Directory will be monitored".
That's it. You can just make changes to the code and refresh the app in browser window.

Related

How can I fix code folding in Visual Studio Code

When opened, Visual Studio Code will show the appropriate vector symbols alongside the line number as usual, but once finished loading the vector symbols that indicate where one should be able to expand or collapse code are gone, and neither clicking the location, outline, nor shortcut keys have any effect. The vectors and ability to collapse folded code disappear at about the same time as a warning message in the lower right hand corner appears saying "Some projects have trouble loading. Please review the output for more details." Before that I am also getting an error message when things still work that says "Unable to start MSBuild language server (see the output window for details)." (The output window says:
Starting OmniSharp server at 2/4/2021, 3:58:32 PM\
Target: d:\Documents\<redacted> Collab\New Macabre Project\New Macabre Project.sln
OmniSharp server started.
Path: c:\Users\casto\.vscode\extensions\ms-dotnettools.csharp-1.23.8\.omnisharp\1.37.5\OmniSharp.exe
PID: 40184
[info]: OmniSharp.Stdio.Host
Starting OmniSharp on Windows 6.2.9200.0 (x64)
[info]: OmniSharp.Services.DotNetCliService
DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
Located 2 MSBuild instance(s)
1: Visual Studio Enterprise 2017 15.9.28307.812 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin"
2: StandAlone 16.8.0 - "c:\Users\<redact>\.vscode\extensions\ms-dotnettools.csharp-1.23.8\.omnisharp\1.37.5\.msbuild\Current\Bin"
[warn]: OmniSharp.CompositionHostBuilder
It looks like you have Visual Studio lower than VS 2019 16.3 installed.
Try updating Visual Studio to the most recent release to enable better MSBuild support.
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
MSBUILD_EXE_PATH environment variable set to 'c:\Users\<redact>\.vscode\extensions\ms-dotnettools.csharp-1.23.8\.omnisharp\1.37.5\.msbuild\Current\Bin\MSBuild.exe'
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
Registered MSBuild instance: StandAlone 16.8.0 - "c:\Users\<redact>\.vscode\extensions\ms-dotnettools.csharp-1.23.8\.omnisharp\1.37.5\.msbuild\Current\Bin"
CscToolExe = csc.exe
CscToolPath = c:\Users\<redact>\.vscode\extensions\ms-dotnettools.csharp-1.23.8\.omnisharp\1.37.5\.msbuild\Current\Bin\Roslyn
MSBuildExtensionsPath = c:\Users\<redact>\.vscode\extensions\ms-dotnettools.csharp-1.23.8\.omnisharp\1.37.5\.msbuild
MSBuildToolsPath = c:\Users\<redact>\.vscode\extensions\ms-dotnettools.csharp-1.23.8\.omnisharp\1.37.5\.msbuild\Current\Bin
[info]: OmniSharp.Cake.CakeProjectSystem
Detecting Cake files in 'd:\Documents\<redact> Collab\New Macabre Project'.
[info]: OmniSharp.Cake.CakeProjectSystem
Could not find any Cake files
[info]: OmniSharp.MSBuild.ProjectSystem
Detecting projects in 'd:\Documents\<redact> Collab\New Macabre Project\New Macabre Project.sln'.
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for 'd:\Documents\<redact> Collab\New Macabre Project\New Macabre Project.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
Detecting CSX files in 'd:\Documents\<redact> Collab\New Macabre Project'.
[info]: OmniSharp.Script.ScriptProjectSystem
Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: d:\Documents\<redact> Collab\New Macabre Project\New Macabre Project.csproj
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140
[info]: OmniSharp.WorkspaceInitializer
Configuration finished.
[info]: OmniSharp.Stdio.Host
Omnisharp server running using Stdio at location 'd:\Documents\<redact> Collab\New Macabre Project' on host 27768.
[fail]: OmniSharp.MSBuild.ProjectLoader
The reference assemblies for .NETFramework,Version=v4.7.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file 'd:\Documents\Al Petz Collab\New Macabre Project\New Macabre Project.csproj'.
d:\Documents\<redact> Collab\New Macabre Project\New Macabre Project.csproj
c:\Users\<redact>\.vscode\extensions\ms-dotnettools.csharp-1.23.8\.omnisharp\1.37.5\.msbuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1180,5): Error: The reference assemblies for .NETFramework,Version=v4.7.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: d:\Documents\<redact> Collab\New Macabre Project\New Macabre Project.csproj
.) For the past couple of months I have been plighted MS language build errors, and while that might be causing me some trouble this code folding problem is new, and I have nothing to go on.
By seeing the message "It looks like you have Visual Studio lower than VS 2019 16.3 installed."
I tried to google, and I found this.
But in your context is not clear what you are doing and what kind of software you are building; please provide us ( the community ) with a bit more details on what and where you are creating your project (e.g. Unity its version or something else). You can try to google the required version for the engine or the framework you are using.
Please add some more details about the project.
Different engines/programs may require different versions of
Developer Pack or ".NET Core version".
That is why we can only make suggestions in this case.
First of all, I would suggest you close your IDE and do the following steps:
Go to dotnet.microsoft.com;
Download the Developer Pack .NET Framework 4.8 or .NET Framework 4.7.2 3(image down below);
Install the downloaded file and try again.
If it does not help you, you may try to update the Visuall Studio to the latest version as it hints to you.
Another way to solve the issues you may try to:
Click on "Build", which is in the top menu;
Click "Clean Solution";
Click "Rebuild Solution".

Upload lower version of a NuGet package to the NuGet site

Is it possible to add the lower version of a library as a NuGet package on the https://www.nuget.org/ site?
For example, I have already uploaded versions:
1.1
1.1.1
1.1.2
1.1.3
1.2
Now I need to add the version 1.1.4.
How can I do this?
Will the Visual Studio NuGet manager return 1.2 as the latest version by default? Or will it change on 1.1.4?

Can't install MobileFirst 7.1.0 studio on Eclipse Luna 4.4.2

I'm trying to install Mobile First 7.1.0 platform studio on Luna Service Release 2 (4.4.2) - 64bit as written in Mobile First requirements. My java is as following:
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)
I'm trying to install from Eclipse Marketplace and after few minutes of installation I get the following error:
Cannot complete the install because one or more required items could not be found.
Software being installed: IBM jQuery Mobile Tools 7.1.0.00-20151219-1535 (com.ibm.webtools.jquery.tools.licensed.feature.feature.group 7.1.0.00-20151219-1535)
Missing requirement: IBM MobileFirst Platform Studio 7.1.0.00-20151219-1535 (com.worklight.studio.feature.feature.group 7.1.0.00-20151219-1535) requires 'org.apache.commons.collections4 [4.0.0]' but it could not be found
Cannot satisfy dependency:
From: IBM MobileFirst Platform Studio 7.1.0.00-20151219-1535 (com.ibm.imp.tools.wce.feature.feature.group 7.1.0.00-20151219-1535)
To: com.worklight.studio.feature.feature.group 7.1.0
Cannot satisfy dependency:
From: IBM jQuery Mobile Tools 7.1.0.00-20151219-1535 (com.ibm.webtools.jquery.tools.licensed.feature.feature.group 7.1.0.00-20151219-1535)
To: com.ibm.imp.tools.wce.feature.feature.group 7.1.0
Any help would be highly appreciated.
See here: Issues installing MobileFirst Studio v7.1
This has been identified as a defect introduced in a recent iFix and is in the process of being fixed. I will update this answer once a fixed version will be available via Eclipse Marketplace.
As a workaround you can install an older release and then select to update it using the "faulty" release through Eclipse Marketplace. The update will work as the problem manifests itself only in new installations.
For reference, this is APAR - PI54604 CANNOT INSTALL MOBILEFIRST PLATFORM STUDIO 7.1 ON ECLIPSE.
#Idan: I have tried same steps as mentioned above but got the same error like #Anatoly. Let me know any other solution for the same.

installing pango-1.36 on CentOS 5

I'm trying to install pango-1.36 on a CentOS 5 sever where I do not have root access and therefore must install to a non-standard location. I have downloaded the source code, but when I attempt to run ./configure I get the following error message:
checking which cairo font backends could be used... none
configure: Disabling cairo support
configure: error: *** Could not enable any backends.
*** Must have at least one backend to build Pango.
When I dig into the config.log, I see this:
configure:18613: $PKG_CONFIG --exists --print-errors "cairo-quartz-font >= $cairo_required"
Package cairo-quartz-font was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo-quartz-font.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo-quartz-font' found
configure:18616: $? = 1
configure:18631: checking which cairo font backends could be used
configure:18640: result: none
configure:18642: Disabling cairo support
configure:18793: error: *** Could not enable any backends.
*** Must have at least one backend to build Pango.
I'm not sure why pango is requiring cairo-quartz-font specifically. When I installed cairo I enabled Fontconfig, and that seemed to work:
# in cairo source directory
./configure --prefix=/some/custom/path --enable-fc
# lots of output, just showing summary
cairo (version 1.14.2 [release]) will be compiled with:
The following surface backends:
Image: yes (always builtin)
Recording: yes (always builtin)
Observer: yes (always builtin)
Mime: yes (always builtin)
Tee: no (disabled, use --enable-tee to enable)
XML: no (disabled, use --enable-xml to enable)
Skia: no (disabled, use --enable-skia to enable)
Xlib: yes
Xlib Xrender: yes
Qt: no (disabled, use --enable-qt to enable)
Quartz: no (requires CoreGraphics framework)
Quartz-image: no (disabled, use --enable-quartz-image to enable)
XCB: no (requires xcb >= 1.6 xcb-render >= 1.6 http://xcb.freedesktop.org)
Win32: no (requires a Win32 platform)
OS2: no (disabled, use --enable-os2 to enable)
CairoScript: yes
PostScript: yes
PDF: yes
SVG: yes
OpenGL: no (disabled, use --enable-gl to enable)
OpenGL ES 2.0: no (disabled, use --enable-glesv2 to enable)
BeOS: no (disabled, use --enable-beos to enable)
DirectFB: no (disabled, use --enable-directfb to enable)
OpenVG: no (disabled, use --enable-vg to enable)
DRM: no (disabled, use --enable-drm to enable)
Cogl: no (disabled, use --enable-cogl to enable)
The following font backends:
User: yes (always builtin)
FreeType: yes
Fontconfig: yes
Win32: no (requires a Win32 platform)
Quartz: no (requires CoreGraphics framework)
The following functions:
PNG functions: yes
GLX functions: no (not required by any backend)
WGL functions: no (not required by any backend)
EGL functions: no (not required by any backend)
X11-xcb functions: no (disabled, use --enable-xlib-xcb to enable)
XCB-shm functions: no (requires --enable-xcb)
The following features and utilities:
cairo-trace: yes
cairo-script-interpreter: yes
And the following internal features:
pthread: yes
gtk-doc: no
gcov support: no
symbol-lookup: no (requires bfd)
test surfaces: no (disabled, use --enable-test-surfaces to enable)
ps testing: no (requires libspectre)
pdf testing: no (requires poppler-glib >= 0.17.4)
svg testing: no (requires librsvg-2.0 >= 2.35.0)
So it seems like cairo has a couple different font backends, including Fontconfig, enabled. Does pango need cairo-quartz-font specifically? Is there a way I can get it to use Fontconfig as well? Any help would be much appreciated and please let me know if there's additional information I can provide. Thanks a lot.
For Debian and Debian derivatives including Ubuntu:
sudo apt-get install libcairo2-dev
For Fedora:
sudo yum install cairo-devel
For openSUSE:
zypper install cairo-devel

new Capistrano version 2.6.0 deploy error: `sync' is not implemented by Capistrano::Deploy::SCM::None (rsync with remote cache)

I'm using Capistrano along with the capistrano_rsync_with_remote_cache gem when deploying applications.
The problem occourred after upgrading the deploy server with new software:
capistrano 2.5.10 -> 2.6.0
capistrano_rsync_with_remote_cache 2.3.6 -> 2.4.0
ruby 1.8.6 -> 1.8.7
ruby-gems 1.3.5 -> 1.3.7
the error message:
http://pastebin.com/bD3azxFZ
The top most error:
/var/lib/gems/1.8/gems/capistrano-2.6.0/lib/capistrano/recipes/deploy/scm/base.rb:94:in sync': sync' is not implemented by Capistrano::Deploy::SCM::None (NotImplementedError) from
/var/lib/gems/1.8/gems/capistrano_rsync_with_remote_cache-2.4.0/lib/capistrano/recipes/deploy/strategy/rsync_with_remote_cache.rb:110:in
The line from the file rsync_with_remote_cache.rb:110:
source.sync(revision, local_cache_path)
However this is the same line used in the previous version (2.3.6) of capistrano_rsync_with_remote_cache where the NotImplementedError isn't pressent.
The deploy.rb file used with both versions
http://pastebin.com/EbPkCxyN
what should I change in order to make it deploy again with the newer version?
Sync only works when an SCM is set. You have set :scm, :none in your deploy.rb. Change it accordingly to your SCM. set :scm, :git or the likeā€¦
Just had the same error here and got it fixed and thought more people might run into this - and apparently do.