I am trying to understand how spring-security-oauth2, therefore trying to run sparklr2 sample with source code of spring-security-oauth project.
downloaded the source code of spring-security-oauth, add it to sparklr2 build path, remove spring-security-oauth2 from maven pom, then run the project.
failed with file not found exception, missing GlobalMethodSecurityConfiguration.class, what does it means? am I suppose too create a GlobalMethodSecurityConfiguration.java? or missing some annotation dependency?
I figure it out, do not need to build with source code, just build with maven dependency, click "attach source code", then eclipse will be about to set breakpoints and debug.
P.S. need to download source code of spring oauth using git.
Related
I am trying to use the calendar plug in by jfxtras. I originally tried setting the project up as a maven project or gradle project and importing the jfxtras-all, and setting the snapshot to latest. Unfortunately it seems that iCalendarfx and iCalendarAgenda are not included in this. So I tried just downloading the zip on github. But after setting a file up that had them all in the jfxtras package it gave me a Java.lang.runtime exception. I think maybe it would be best to make a jar of these libraries but I don't really know. Any suggestions as to how to include these libraries would be helpful thanks.
I finally got it working. I included every library in maven separately. For some reason labs has to have a snapshot of 8.0-r4 instead of 8.0-r5. And then I downloaded the zip from github and just included the Java files of iCalendaragenda and iCalendar fx.
I am new to power shell, I am trying to write a power shell script to build and publish the c#/.net application(Web). I have tried below code to generate build-
$projectFileAbsPath = .csproj path
$msbuild $projectFileAbsPath /t:rebuild /p:PlatformTarget=x86 /fl /p:outputpath=C:\test
by executing above line i am only getting dll of the project in destination folder. Supporting\Referenced dll's and related artifacts are missing.
Please help me understand where i am getting wrong and what additional things i need to do. Also, do i need any build configuration file .If yes, let me know if there is any sample posted on internet.
In a project that I am working now, a new WIX setup project was added by a developer. When I'm trying to get the latest from the TFS that we are using for the code base, the newly added project is shown as incompatible and while building the solution following error is thrown:
Has anyone experienced this before?
In a typical team build, the TfGetSources activity will do a Get to retrieve the source files from TFS source code control. However the Get will set the Read Only attribute on all files retrieved, and any attempt to over-write any source code controlled file, during the build, will result in an Access Denied error.
Your new project is using the WIX toolset Heat.exe utility to generate the file C:\70_Suite\Accounting\IBS.Accounting.Setup\App.wxs. This file is under source code control which means it will be read only. The Heat.exe utility is throwing the Access Denied error because it can't over-write this file.
One solution is to remove C:\70_Suite\Accounting\IBS.Accounting.Setup\App.wxs from team foundation source code control. It is generated by heat.exe anyway, so doesn't need to be fetched by the TfGetSources activity.
If you need to keep C:\70_Suite\Accounting\IBS.Accounting.Setup\App.wxs under source code control, then a work-around would be to remove the read-only attribute from this file. This could be done in the Pre-Build Event Command Line in the new WIX project.
I'm a bit confused. I need to compile a project in jDeveloper 11.1.1.6.0. The server side of the project is deployed on the Glassfish server. On the machine of the project's creator everything compiles without any problems.
Using project properties -> Libraries and Classpath I added the libraries such as gf-client.jar, security etc. from $glassfish_home/glassfish/modules and some others (e.g. hibernate3.jar from hibernate dir).
When I try to compile the project I receive the following errors:
package javax.annotation.security does not exist
and
package javax.persistence does not exist.
I suppose that I miss some jars to include. I tried to find which jars (from Glassfish or from JDK) contain javax.annotation.* and javax.persistence.* but I couldn't.
If you have any ideas I would be thankful!
I was having the same problem and was able to solve it by adding a couple of dependencies to the Maven pom.xml file. See this answer for more details.
So I found the source of the problem. The application consists of 2 projects, of which only one (mentioned in the question) uses EJB. I'm not sure if it is the way it should be, but I tried adding ejb-files to another project. And after clean all and rebuild all it compiled like a charm for me. I hope this will help somebody in the future.
I am trying to get the flex mojos maven compiler to run my projects.
Anyone with feedback on the below information is appreciated.
I am using this configuration for the maven compiler plugin and for
some reason every time I run the clean install on my SWF project I
still see the following in the compile step for the app.
info.rvin.mojo
flex-compiler-mojo
true
true
-compiler.accessible=false
-compiler.actionscript-file-encoding UTF-8
-compiler.allow-source-path-overlap=false
-compiler.as3=true
-compiler.debug=false
That means I can not connect to my app via the Flex Builder's debug
tool. Any thoughts on how I should properly configure the plugin in
the pom.xml?
Thanks!
adam, we're just starting to build out the chapter on flexmojos in Maven: The Definitive Guide. For starters, use the new plugin groupId, artifactId that is listed in that chapter. velo moved the flexmojos project over to the Sonatype Forge a few months ago, and we're just getting the 3.0 release out.
To anyone out there reading this: remember Maven is a build tool; it only (typically) executes (parts of) your code as a consequence of executing the tests you've implemented.