Libraries and JAR files in netbeans... how to build and deploy a project??
Hi guys,
<p>
I'm having a problem deploying my project. I have created a project structure as so:
</p>
<p>
CLOGE 1.0
|_Source Packages
| |_rdemo
| |_ClogeGUI.java [main]
| |_ClogeRScript.java
|_Libraries
|_Swing Layout Extensions - swing-layout-1.0.jar
|_C:\CLOGE\JRclient [folder structure of classes]
| |_META-INF
| |_org.rosuda.JRclient
|_C:\CLOGE\svgSalamander-tiny [folder structure of classes]
| |_META-INF
| |_com.kitfox.svg
| |_...
|_JDK 1.6 (Default)
</p>
<p>
Now I can build and run the project in Netbeans (version 5.5) and everything operates as it should. However, if I navigate to the dist folder of the project to the CLOGE_1.0.jar file via the Windows XP Command Prompt and execute "java -jar "CLOGE_1.0.jar", I get this error:
</p>
<p>
Exception in thread "main" java.lang.NoClassDefFoundError: org/rosuda/JRclient/RSrvException<br/>
at rdemo.ClogeGUI.clogeRScript(ClogeGUI.java:134)<br/>
at rdemo.ClogeGUI.main(ClogeGUI.java:259)<br/>
</p>
<p>
What do I have to do, so I can simply double-click the CLOGE_1.0.jar file and the project runs?
</p>
<p>
Many thanks,<br/>
Chris
</p>
Edited by: raistrick on Oct 12, 2007 4:49 AM
Wasn't contracted. Wasn't paid. Wasn't the main focus of the software ;) - I was asked to do it for my technical expertise in statistics and bioinformatics... anyone else here mind giving me some hints other than this unspeakably pathetic excuse for a programmer.
(by the way "jwenting", if you call yourself a professional and take that attitude to other programmers you won't be in a company very long! Don't jump to assumptions and don't use the internet as some portal to exercise anger that women don't find you attractive and all you have to be cocky about is programming, it's pathetic. Grow up please.
What I am trying to work out about the answer above, is why. It could mean (1) that you don't know the answer and shunning me so is some poor attempt to save your diminishing ego, which from reading your other posts may be true. It could mean (2) you can't be arsed, which is more likely the case, but then one has to ask why the hell you came on here in the first place. Do you get a kick out of this? Is this your claim to fame - a java forum silver member?? It's not like I wasn't polite or clear in my explanation. Did some unqualified individual steal your job from you once upon a time so all "newbies" thereafter were a target for your pent up aggression? If so, don't worry I am not gunning for your position at all!)
Many thanks to anyone who can provide a solution. I doubt this is a hard problem to solve and I'd be very grateful if anyone could point me in the direction of an answer. jwentig is quite right, I am not capable of such a task. I'm not a liar, however.
Edited by: raistrick on Oct 12, 2007 7:25 AM
Similar Messages
-
How can I get a single jar file with NetBeans?
How can I get a single jar file with NetBeans?
When I create the project I get these files:
dist/lib/libreria1.jar
dist/lib/libreria2.jar
dist/software.jar
The libraries that have been imported to create the project are in separate folders:
libreria1/libreria1.jar
libreria2/libreria2.jar
libreria1, libreria2, dist folders are all located inside the project folder.
I added the following code to the build.xml:
<target name="-post-jar">
<jar jarfile="dist/software.jar">
<zipfileset src="${dist.jar}" excludes="META-INF/*" />
<zipfileset src="dist/lib/libreria1.jar" excludes="META-INF/*" />
<zipfileset src="dist/lib/libreria2.jar" excludes="META-INF/*" />
<manifest>
<attribute name="Main-Class" value="pacco.classeprincipale"/>
</manifest>
</jar>
</target>
Of course there is also the project folder:
src/pacco/classeprincipale.form
src/pacco/classeprincipale.java
Can you tell me what is wrong? The error message I get is as follows:
C:...\build.xml:75: Problem creating jar: archive is not a ZIP archive BUILD FAILED (total time: 2 seconds)This is not a NetBeans forum, it is a JDeveloper forum. You might want to try http://forums.netbeans.org/. I also saw your other question - try looking in the New to Java forum: New To Java
-
How to include JAR file in NetBean library?
i have downloaded JavaMail jar file and now i want to include this file into NetBean library. pls help me out.
You can add the jar file to Netbeans as an external library by choosing 'Tools' on the menu bar and then selecting 'Library Manager'. In there you can give it a name and the path to the jar file. Once it is setup, if you go to your project properties, and click the 'Libraries' option on the left you will be able to add it. Select 'Add Library' and choose the one that you just created, it will now be part of your project.
Alternatively, if you don't want to set it up as a library in Netbaeans, go straight to the project properties, select 'Libraries' and then select the 'Add Jar/Folder' option, now you can navigate to your jar file and add it to your project.
For other info about JavaMail: http://java.sun.com/products/javamail/FAQ.html#install -
Creating an exacutable jar file in netbeans
Hey, how can i create an exacutable jar file in netbeans ?
i guess you already have a project created, if you don't create a new java application project.
Then you need to do the following:
1. Set the main class. This is the class that will run first.
for this you need to right click in the project node, select properties, then run and in the Main Class field put the main class.
2. Set the classpath: you need to put all the libraries or resources you use in your project.
to do that right click the libraries node, select properties, then add library and add all the libraries that your project needs
by doing this steps netbeans will create your manifest file and the jar that will create will be executable.
Hope this helps.
Escobar5 -
Adding jar file in my gerareted jar file using netbean 4.0
Hi,
I write an application de process XML file using JDOM. I add the JDom package jar file to my project and everything work fine. But when I generate, my project jar file using netbean 4.0, my generated jar, is not working with the XML files anymore. Everything seems like it didn't include the JDOM jar file?
Thanks for any help to fix the problem.I find that you can not use command-line such as java -classpath add classpath
it can not work, I use netBeans4.0 i don't whether because of netbeans or java itself.
you can add classpath in jar's Manifest.mf file
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.2
Created-By: 1.5.0_01-b08 (Sun Microsystems Inc.)
Main-Class: chat.Main
// add this line
Class-Path: dir\*.jar //(jar file name)
X-COMMENT: Main-Class will be added automatically by build -
How to include the inner classes in a jar file in netbeans ide
Dear java friends
how to say to netbeans ide that it has to include the
inner classes in the jar file.
(i have one single applet class
with two inner classes that show up
in the build/classes file but not in the jar).
The applet works in the viewer but not
in the browser (I believe because the
xxx$yyy etc should be in the jar)
willemjavFirst, please stop posting the same question multiple times:
Duplicate of http://forum.java.sun.com/thread.jspa?threadID=5269782&messageID=10127496#10127496
with an answer.
Second, If your problem is that you can't do this in NetBeans, you need to post to somewhere that provides NetBeans support - like the NetBeans website's mailing list. These forums do not support NetBeans (or any other IDE) - they are Java language forums. -
SWT Libraries in .jar file - UnsatisfiedLinkError
I have a program that runs inside another application like a plug-in. I'm using the org.eclipse.swt toolkit.
The program runs great the first time I run it, but when I try to run it a second time I get:
Caught Exception: java.lang.UnsatisfiedLinkError: no swt-win32-3550 or swt-win32 in swt.library.path, java.library path, or the jar file.The libraries are in my jar file and as I indicated, the program works great the first time it's run.
I cannot control each user's environment so I don't think the CLASSPATH and load() options will work for me. Also, for distribution purposes, I really need to keep all the required libraries in the .jar file.
Could someone explain this to me?
Any suggestions on how to proceed?QuirkyGal wrote:
Well, we have multiple locations with different environments. We have distributed environments and we have standalone installations. And we have business partners with no IT departments and others with small IT departments who are just too busy. And most of the people we work with are on Windows machines, but not all.
Ok, but none of that changes what I said.
Of course I could distribute multiple files. I'd just like to avoid that if possible. And I thought that the big advantage to using swt is that it would use the system libraries (avoiding potential display problems) but I wouldn't have to concern myself with which system the user is on because the toolkit would take care of all that. Is that not how swt is supposed to work?
It doesn't matter who loads the shared library - what I said still applies.
So the OS loads the library? Ok. I thought the JVM loads the library. So is there a way to tell the system to unload it? Or to tell it that it's already loaded?
Unloading requires that you use a class loader and what some call a trick with the garbage collector.
However a library is loaded into the process space (but by the OS) not into the OS space. So restarting the entire process requires reloading it.
>
I'm just not getting why it works the first time...Couldn't say. I wasn't really commenting about that but rather your other comment.
You might want to specifically define how you get to the "first" and "second" time. -
Jar file from netbeans won't run when doubleclicked
Hello,
I've just completed my first java application using netbeans (just a simple "hello world"), it runs fine in the netbeans ide, but when I located the .jar file and double clicked it, nothing happens. I've already verified that the file extension .jar is associated with javaw.exe so that's not the problem.
Anyone how to fix this problem?
Thanks!
Edited by: b-rad311 on Jul 14, 2010 8:44 AMMy guess is he posted something and then edited it and put in nvm for NeVer Mind.
In NetBeans I would try this to make sure the main class setting is fully saved with new version of NetBeans
press Ctrl+1 to go to projects tab
Right click your project click Properties
on left click Run
Make sure you don't have anything in Arguments or VM Options because javaw will read use either of these settings.
Click Browse next to Main Class and click your class again and click Select Main Class. Then click OK to rewrite the settings.
Right click your project and do "Clean And Build".
Let us know if this works or not -
I created a gui in netbeans and it runs but when I click on the jar file in my dist folder nothing happens. I try to run it from command prompt and still nothing happens, not even an error message. Whats the problem?
No main class. Or the wrong class is identifed as main.
http://java.sun.com/docs/books/tutorial/deployment/jar/ -
How to build EAR of ATG project
Hi All,
I want to know how to build EAR for my atg project. I want to know how to build ear with out using assemblebuild.xml file. I read through the doc,and found that we can build ear using runAssembler which is located in D:\ATG\9.1\home\bin directory. how do i go about it.Please refer to ATG Programming guide for building EAR using runAssembler command.
If you want to build EAR by including your module:
runAssembler MyApp.ear –m MyApp DafEar.Admin
If you want to specify a Server for a Standalone EAR File:
runAssembler –standalone –server myServer MyApp.ear –m MyApp DSS
If you want to specify a Server for a Development-Mode EAR File:
runAssembler –server myServer MyApp.ear –m MyApp DSS -
Unable to Approve and deploy the Project to production in BCC
Hi ,
In BCC I created a new project in Commerce Merchanidising and then created one sample catalog .
In the below structure .
Site Catalogs >> ATG Home >> Home Catalog Folder >> Home Store Catalog >>Home Store Root >>
Here i created a new category and named it as 'products'. In that i dragged some assets .
When i am trying to "Approve and deploy to production" i am getting the following error in the BCC UI ::
An unexpected error occurred while attempting to execute task 'Approve and Deploy to Production' on Aug 8, 2013 11:20:56 AM. Please contact your administrator.
Please tel me why this is happening.
One more thing i want to add here is like i was unable to log on to the dynamo admin home page both for publishing and production server .Both the servers are Up and running .Is it causing the above problem ??
In Logs i am getting this error ::
[Flex Messaging] 08/08/2013 11:20:57.183 [ERROR] [Message.General] Exception whe
n invoking service 'remoting-service': flex.messaging.MessageException: flex.mes
saging.MessageException: atg.flex.service.RemoteOperationException : An unexpect
ed error occurred while attempting to execute task 'Approve and Deploy to Produc
tion' on Aug 8, 2013 11:20:56 AM. Please contact your administrator.
incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage)
operation = fireWorkflowOutcome
clientId = 21C68527-EB0D-4902-FD4C-5F7D8672EC2D
destination = /atg/remote/assetmanager/epub/service/PublishingService
messageId = A6AF5F47-438C-C430-E21E-5C7A58A0DDE3
timestamp = 1375941056713
timeToLive = 0
body = null
hdr(DSId) = 21C67B75-020D-7E52-EAA0-7CE93977E83A
hdr(DSEndpoint) = atg-amf
Exception: flex.messaging.MessageException: flex.messaging.MessageException: a
tg.flex.service.RemoteOperationException : An unexpected error occurred while at
tempting to execute task 'Approve and Deploy to Production' on Aug 8, 2013 11:20
:56 AM. Please contact your administrator.
at flex.messaging.services.RemotingService.serviceMessage(RemotingServic
e.java:225)
at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java
:1503)
at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndp
oint.java:884)
at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBroker
Filter.java:121)
at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:15
8)
at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:
44)
at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFi
lter.java:67)
at flex.messaging.endpoints.amf.SerializationFilter.invoke(Serialization
Filter.java:146)
at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.ja
va:278)
at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java
:322)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
tyHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
a:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at atg.service.configuration.ResponseWrappingConfiguration.invokeFilterC
hainWithPossibleWrapping(ResponseWrappingConfiguration.java:458)
at atg.servlet.pipeline.TailPipelineServlet.service(TailPipelineServlet.
java:174)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(Dispatcher
PipelineServletImpl.java:275)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.endeca.assembler.AssemblerPipelineServlet.service(AssemblerPipeli
neServlet.java:458)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.projects.store.mobile.link.MobileDetectionInterceptor.service(Mob
ileDetectionInterceptor.java:523)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.http.CookieBufferServlet.service(CookieBufferServlet.java
:119)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.userprofiling.ExpiredPasswordServlet.service(ExpiredPasswordServl
et.java:383)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.pipeline.MimeTyperPipelineServlet.service(MimeTyperPipeli
neServlet.java:228)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:696)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.epub.servlet.LocaleServlet.service(LocaleServlet.java:84)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.epub.servlet.ProjectServlet.service(ProjectServlet.java:109)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.epub.servlet.PublishingSecurityServlet.service(PublishingSecurity
Servlet.java:80)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServ
let.java:150)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java
:213)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.j
ava:696)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServ
let.java:2452)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTr
iggerPipelineServlet.java:191)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.search.servlet.SearchClickThroughServlet.service(SearchClickThrou
ghServlet.java:418)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.multisite.SiteSessionEventTriggerPipelineServlet.service(SiteSess
ionEventTriggerPipelineServlet.java:161)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.jav
a:512)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.userprofiling.ProfilePropertyServlet.service(ProfilePropertyServl
et.java:230)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet
.java:461)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.pipeline.CachePreventionServlet.service(CachePreventionSe
rvlet.java:141)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.projects.store.servlet.pipeline.ProtocolSwitchServlet.service(Pro
tocolSwitchServlet.java:309)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServ
let.java:491)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPi
pelineServlet.java:298)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAu
thenticationPipelineServlet.java:392)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinder
Servlet.java:113)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet
.java:234)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.pipeline.SecurityServlet.service(SecurityServlet.java:196
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.multisite.SiteContextPipelineServlet.service(SiteContextPipelineS
ervlet.java:367)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServ
let.java:1252)
at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.
java:930)
at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServ
letImpl.java:272)
at atg.filter.dspjsp.PageFilter.innerDoFilter(PageFilter.java:348)
at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:206)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
ervletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
ontext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
ava:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: atg.flex.service.RemoteOperationException: flex.messaging.MessageExce
ption: atg.flex.service.RemoteOperationException : An unexpected error occurred
while attempting to execute task 'Approve and Deploy to Production' on Aug 8, 20
13 11:20:56 AM. Please contact your administrator.
at atg.flex.messaging.services.TransactionalJavaAdapter.invoke(Transacti
onalJavaAdapter.java:206)
at flex.messaging.services.RemotingService.serviceMessage(RemotingServic
e.java:183)
... 91 more
Caused by: flex.messaging.MessageException: atg.flex.service.RemoteOperationExce
ption : An unexpected error occurred while attempting to execute task 'Approve a
nd Deploy to Production' on Aug 8, 2013 11:20:56 AM. Please contact your adminis
trator.
at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdap
ter.java:447)
at atg.flex.messaging.services.TransactionalJavaAdapter.invoke(Transacti
onalJavaAdapter.java:189)
... 92 more
Caused by: atg.flex.service.RemoteOperationException: An unexpected error occurr
ed while attempting to execute task 'Approve and Deploy to Production' on Aug 8,
2013 11:20:56 AM. Please contact your administrator.
at atg.remote.assetmanager.epub.service.PublishingService.fireWorkflowOu
tcome(PublishingService.java:964)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdap
ter.java:421)
... 93 more
Anyone please help me on this .As i got strucked in this.
Thanks,
keerthiHi,
Check how the access rights are set in Work flow.
1. Log into ACC instance of BCC: Go to Workflow ->Publishing. Select Common/commonWorkflow. In the workflow right click on 'productionApproval', select Set Access Rights. You can see which roles have access to 'productionApproval' task.
2. Now verify that user id you used to login belongs to one of those roles.
Cheers
Gopi -
How to build, package & deploy web services manually without ant on JWSDP
Hello,
How can I Build, Package & Deploy web services manually without using ant tool on JWSDP 1.3?.
Because I am having difficulties in using ant tool for my own webservices. ant is very tightly coupled with the directory hierarchy & configuration files (as I go throught the examples of JWSDP1.3). Also I need to learn the overall process going on behind the scene.
I have to teach the simplest required steps to build, package & deploy any webservice to any container independent of application server & OS without using ant tool. It would also help me to understand which items are required as specified in the Web Services Specifications & which one are implementation or platform specific.
Any help would be greatly appreciated.
Thanks,
Iftikhar.Just follow the step of the JWSDP1.3 tutorial..
-
Automating Sharepoint Foundation 2013 Installation and Deployment of Project
Hi all,
I'm a long time software developer with absolutely no experience in Sharepoint.
I have just joined a new company and I was asked by the team leader to create an installer for Sharepoint Foundation 2013 and a working Sharepoint solution made by the company, preferably using HTA.
I have experimented installing it manually and deploying the solution, however, what's the best method to automate these two steps?
I was thinking of something like AutoSPInstaller, and after the end of the installation, I would run Add-SPSolution and Install-SPSolution commands for deploying the solution.
What do you think?So the only problem with SharePoint Foundation is that you cannot script the provisioning of the Search Service, you must use the wizard via Central Admin UI to create it. There is an unsupported workaround, but again, unsupported so I don't use it.
I'd stay away from HTA and go just pure PowerShell prompts, myself though.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Huge DVD-9 project needs two Dual Layer discs - How to build a from single project?
Hello Encore Pros,
I have a DVD project with about 5 hours of video media and it won’t fit on a single DVD-9. It has to be built onto TWO Dual Layer DVDs. I’ve created the project as ONE BIG PROJECT in Encore CS6 (Mac Pro 10.7.5) with lots of menus, buttons, timelines, and media. Here’s the $20,000 question: how will Encore know to build the project onto two DVD-9 discs? Can I program it to do this and if so, how? Or do I need to break the project into TWO SEPARATE PROJECTS (both dual layer) and burn individually? If so, can I simply duplicate the full project and delete all movies/menus/timelines not needed for each new half? And if that’s the case, I know there'll be some revising elements like setting a new 1st play on disc 2 and some End Action links, etc., but that I can deal with. I suppose I’d name the two new dual layer projects xxx_pt1 and xxx_pt2. On the plus side, the Check Project comes up with no errors, so that’s good so far. Oh, "the horror....... the horror” to quote “Apocalypse Now”
-- Thanks in advance for help and suggestions.Bill Hunt is still MIA. See this link for his instructions on doing the sort of process I was describing.
Re: Multiple (different) DVD outputs from a single Encore project
In a similar thread, Hunt refers to a more detailed piece he did on "multi-disc" authoring. But he didn't find the link, and neither have I!
Edit: Not it, but may add something:
Re: Multiple-Disc Project -
How ignore Change_tracking in build script deployment in Project Database SQL Server VS2013
Hello,
I have a "Project Database SQL Server" in SSDT VS2013 and my scenario is as follows:
My project database has not enabled the feature of [CHANGE_TRACKING].
I have N production databases, and there are a few in particular that are characteristic of [CHANGE_TRACKING]
enabled.
When I publish the project database against a target
base has not enabled the feature of [CHANGE_TRACKING] no problem, everything works as expected.
The problem is when I publish
the project database against a database that has ENABLED feature tracking changes.
I want the VS to make the comparison
of schemes in the publication, ignore this feature, and NOT generate deployment scripts with instructions like:
'Alter table dbo.table DISABLE CHANGE_TRACKING'
'Alter database name SET CHANGE_TRACKING = OFF'
It is possible to somehow customize the build-deployment to avoid this outcome?
I hope the collaboration of you lot.
Thank you very much.
EstyfenHi, thanks by response.
The configuration "Do not
alter Change Data Capture objects"
is on, but even so, I do not get
the expected results. When I run the generated
script publication makes me a "Disable
CHANGE_TRACKING" tables that have
activated the "track changes"
in the destination database.
Stay tuned for
your help ..
thank you very much
Estyfen
Maybe you are looking for
-
Hi , I want to send dunning letter through F150 tcode.The customer wants both option email as well as print.I have done the coding for both.But the program takes only one option at a time. The client wants both the option that send mail as well as pr
-
Is there a way to reorganize bookmarks?
I have way too many Safari bookmarks including many redundancies. I need to do a wholesale reorganization of my Safari bookmarks. I recently started using Dragon Drop which brilliantly facilitates moving Finder files and folders around tremendously
-
How do I preserve a website's fonts when I copy and paste from Firefox into Word?
I often paste copy from websites when I am researching. In Safari, the fonts and font sizes of the copy are preserved, but when I do it in Firefox, they are changed to the same size of Verdana. I prefer the fonts to be retained from the websites, but
-
How do I import a legally purchased copy controlled cd into itunes?
I have Coldplay's X&Y, and I can't import it into my iTunes library. I have searched and it seems people like me (with a PC) have had success by holding the shift key. What are you supposed to do after holding the shift key? Any other techniques to g
-
Exporting Outlook 2010 address book
How do I export Outlook 2010 Address Book